Forum Posts
Resolved! STM32F401 SDIO FATFS always returnig FR_DISK_ERR
Hi all,I am trying to do a simple code for writing and reading files in a SDHC Card, i am trying to start with this example code:https://community.st.com/s/article/how-to-create-a-file-system-on-a-sd-card-using-stm32bubeideHowever, when the code reac...
STM32C0 compiler bug: breakpoint jumping to wrong location
I am compiling for the STM32C031C6 (development board)I have optimization set to -Os because otherwise we are not going to fit a simple stack.In normal compilation mode everything is working as expected. (except for a bug I am chasing now)So I have 2...
STM32H743 – quadrature / encoder operation and associated Timers
hello ST,I’m reading about quadrature / encoder operation as would be used for positioning control of stepper motors. We use the STM32H743 in another application, and we need to determine how many channels (how many individual stepper motors) could b...
How to change NDTR after enabling DMA stream?
I can want to change NDTR after enabling DMA stream. but I can't. This is the part of code... LL_DMA_EnableStream(DMA1, LL_DMA_STREAM_5); // works fine now // but I want to change the data length only LL_DMA_SetDataLength(DMA1, LL_D...
STM32 F3 Option Byte Retention
We have a product with a STM32F373CC where we calibrate the RTC in Production and store the calibration factor in Data0 and Data1 of the Option Bytes (OBR).Tracing through the (legacy) code via my debugger, I can see the OBR values being written corr...
Resolved! Why does CORDIC performance vary so much with optimizations?
I am using the CORDIC on an STM32G4 for a project and was curious about the difference in performance based on the compiler optimization level. With no optimizations, LL_CORDIC_FUNCTION_PHASE completed in 113 cycles. With O1 optimizations, LL_CORDIC_...
Power Optimization with STM32L4: Sleep Mode during SDMMC DMA Interrupts
Hello, fellow forum members,I'm acquiring data from an ADC using DMA, and writing the filled buffer in SDCard, using SDMMC, also with DMA, on an STM32L452RC.I recently came across an interesting challenge involving power optimization while waiting fo...