source code for writing data in SD card
Hi everybody ,does anyone have source code for writing data in SD card?I am using STM32F103C8Txthanks alot
Hi everybody ,does anyone have source code for writing data in SD card?I am using STM32F103C8Txthanks alot
HAL_RCC_GetSysClockFreq(void) in stm32f7xx_hal_rcc.c uses a (unt64_t) divide which could be avoided. This uses, on my build, 716 bytes of code space alone for the required _udivmoddi4 call, and this is not used anywhere else in my code.Would it be po...
I'm trying to send exactly 8 bits of data, and check my results with tera terminal, however I'm not seeing anything come up. I noticed that on the block diagram for the STM32L476RG nucleo board, that the APB1 Bus is also connected to AHB1, but there ...
Hell guys, i'm trying to communicate with LCD2004a with the I2C extender.i followed this guide https://www.youtube.com/watch?v=7mQppaEJjT4what i did:I generated project using CUBEMX to Keil uvisionconfigure I2C with those parameters: 100Khz CLK, slav...
I am working with a STM32G474 and I want to use a PWM with 390kHz for a boost converter. I generate a PWM with the HRTIM WaveformOutputStart. Using WaveformOutputStop pulls the LPWM to low, but the HPWM remains on high.
Hi all,I have a custom board, MCU is STM32F103ZE, I want to debug from RAM but I don't konw how to set the truestudio.I konw how to do it in the KEIL, but for truestudio, I am a stranger.for example,I download the program A to mcu flash, it work well...
Hi everybody! I've been struggling with this monster for a few days now. I'm trying to make it do some very basic (pun not intended) things and I have little hair left... But let's cut a (too) long story short: I'd like to send with the SPI a few byt...
Suppose that my system consists of 3 modulesmain... at the end of the while loop, I want the system to enter sleep mode, so at the end of the while, I put wfi(); or possibly I put DSB(); after that. Other examples replace wfi() with HAL_PWR_EnterSLEE...
I am using a keyboard to read several commands using HAL_UART_Recieve(). For each command I perform a different function. There are 3 such commands corresponding to one function each.Assuming 3 functions multiply(), divide(), add() which are called i...