Forum Posts
Resolved! Possible bug in STM32L4S9 USB CDC, transmitting 832 bytes does not work properly
I am using a STM32L4S9 microcontroller and used CubeMX (L4 V1.13.0 Firmware) to generate code for the USB to communicate with the device as a serial port. When sending an exact amount of bytes, 832 to be precise, the data is not send through to the P...
The program STM32F745 USB + SAI hangs up
HelloThere is a working project of an audio switch made on STM32L452. Then we needed another USB port and additional performance. Therefore, we shift the project to STM32F745. The algorithm works well on the STM32L452. But on the processor STM32F745,...
STM32CubeProgrammer downloading the defects of SPI flash
I use STM32CubeProgrammer software to download SPI FLASH.If there is a program in FLASH of stm32 mcu, the download will fail. If I erase the internal program of stm32 mcu, the download will succeed.
how to add custom boards & BSP to STM32CubeMx?
I want to add custom boards, BSP, Custom Driver to BSP components such that it will reflect in STM32CubeMx GUI. Anyone, Please let me know how to to do this?
SPI receive, wrong LSB
I'm trying to communicate between the nucleoh743 (master mode) and a TDC GP22 slave chip but came across this issue:I am expecting to read 0x27 but i always get 0x26. All the other bits from this 1 byte are correct so i was wondering if there somethi...
Resolved! Can't update SysTick->VAL
Hi,In my system I use STM32L476.In order to save power once every second, when heavy processing is done, I switch to PLL 80MHz, the rest of the time I use MSI clock at 32MHz.In order to have a stable SysTick I update the reload value of the SysTick a...
Why SDIO of STM32F4 chip lost 0xF in FIFO buffer?
Hi, Recently I debug STM32F413 with a SD card by SDIO interface, but failed in FATFS mount. At last, I did a simple test. The code wrote 512 bytes--0x00-0xFF(256 bytes), 0x00-0xFF(256 bytes)--to the first two sectors of SD card by HAL_SD_WriteBlocks,...
Generating the desired MCLK frequency in SAI1 for 44100 Hz?
Posted on April 18, 2018 at 16:19 Hello! I'm doing the first project in stm32 and processing audio data is also doing it for the first time. I use stm32L452, clocked by quartz at 24 MHz, and the audio codec TLV320AIC3111. Sampling frequency 4...
Resolved! STM32L4 clock config problem
Posted on October 05, 2017 at 15:31Hello there,I am using STM32L452VET. I have generated the startup code using latest STM32CubeMX 4.22.1. Here is my clock config:My problem is the following:If I turn switch the compiler optimization flag to either:...