Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.
I need to write a custom bootloader to monitor USART1 and on receiving a certain command overwriting the following image into its Flash and then rebooting. Are there parts of an official ST bootloader codeset in their libraries ? Otherwise can some...
Hi all,I'm starting a new app with two threads.If I run as debug step by step it works great.But if I run free on the board, the second thread not works good (it doesn't blink the required times).I've use CubeMX for the code generation with Time Base...
Hello,I am currently working on the project with STM32F769 Disco and i want to use ethernet (with RTOS).I configured all the options in CubeMX and I have a problem with getting IP address using DHCP.The problem is that I get the IP address only in 50...
I'm trying to play a sound file with raw PCM data using the DAC:uint8_t buffer[16384]; // 4-aligned uint8_t *bufptr[2] = {buffer, buffer + sizeof(buffer) / 2}; int curr_buffer = 0; volatile int audio_dma_half_complete = 0; f_read(fh, buffer, sizeo...
I have SPI2 set up to access external flash - and it works well without DMA.Setting up SPI2 to access flash with DMA, a read correctly fills the buffer provided - but my callback functions (overriding their __WEAK counterparts) aren't called (HAL_SPI...
Hi, I'm using stm32f401RE.I set UART functions by using CubeMX and I'm trying to get data from UART and distinguish them.Here is the code.uint8_t RxBuffer[8]; HAL_UART_Receive_IT(&huart2, (uint8_t*)RxBuffer,sizeof(RxBuffer)); // Writed in while loop...
Dear Member, How much is the minimum stack for FATFs, 10Kbytes is good enough? or more ?thanks
With the current "typedef struct" for peripheral handles, callback code that deals with multiple instances of a peripheral, such as uarts, CANs, etc., often has to do a lookup a lookup on the handle passed to it by the peripheral callback. If the ha...