STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

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...

manuislet by Associate II
  • 1473 Views
  • 3 replies
  • 0 kudos

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...

HansW by Associate II
  • 3605 Views
  • 2 replies
  • 0 kudos

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...

YoungKim by Associate III
  • 1432 Views
  • 4 replies
  • 0 kudos

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...

_legacyfs_online_stmicro_images_0693W00000bkERaQAM.png
GeoffF by Associate II
  • 1579 Views
  • 6 replies
  • 0 kudos

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_...

BPaik by Senior
  • 1515 Views
  • 4 replies
  • 0 kudos

STM32L4R9 and FMC BANK2

Hi guys,i would like to ask you about accessing FMC bank2. Currently i have connected SRAM to bank1 and LCD to bank2 but i cannot access bank2. Also i cannot find location of bank2 in memory map in reference manual. Currently it looks like bank2 is n...

Eiffel by Associate III
  • 872 Views
  • 4 replies
  • 0 kudos