STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! INVPC occurs when SVC Handler returns

I use STM32F1 Value Line Discovery Kit.​I want to write SVC handler.If I implement the following, invpc occurs when running 「POP PC�?in Line 38.Caller -------------------------------- __asm volatile(" SVC %0 \n" : : "I" (2)); ...

Myasu.1 by Senior
  • 838 Views
  • 4 replies
  • 0 kudos

STM32F103C8T6 sending data over I2C via DMA

Greetings!I have "blue pil" stm32f103c8t6 and I want to send data over I2C via DMA. "Classic" way is working fine (I'm sending data to 2004 display through PCF8574 extender), but I can't get it working with DMA.BTF flag isn't set and the loop becomes...

STM32G474 CAN FD no priorization of CAN IDs?

I have multiple CAN FD Participant which are configured the same way:if (canFdMode == canFdModes_2mbit) { hfdcan1.Instance = FDCAN1; hfdcan1.Init.ClockDivider = FDCAN_CLOCK_DIV1; hfdcan1.Init.FrameFormat = FDCAN_FRAME_FD_BRS; hfdcan1.Init.Mod...

ATrug.1 by Associate II
  • 488 Views
  • 1 replies
  • 0 kudos

32F417 ADC conversion time - figures don't make sense

Hi All,I am using the simplest mode, single conv, software start, etc. 21MHz clock (/2 divisor).I have been measuring the conversion times both in a loop and with a scope on a waggled GPIO pin.With a sampling interval of 3,56,480 I see conversion tim...

PHolt.1 by Senior III
  • 563 Views
  • 3 replies
  • 0 kudos

Questions about ST's BFB workaround on STM32L072

I'm working on a STM32L072, and I want to implement an update over the air. I saw there is an errata about the dual bank boot, and ST has made a workaround on it, and it uses the EEPROM.Code from the errata sheet:void SystemInit(void) { /* ...

Ppeyr.1 by Associate III
  • 368 Views
  • 0 replies
  • 0 kudos

FATFS -SDMMC - DMA transfer problem

In CubeMX 5.3.0 I have configured FATFS and FREERTOS for a card running STM32L431. The HAL SDMMC driver is communicating with SD card, and everything goes well until the FATFS want to read the MBR block from the SD card. In this case, the DMA channel...

0690X00000ArmcOQAR.png 0690X00000ArmbuQAB.png
mads.l by Associate II
  • 643 Views
  • 1 replies
  • 1 kudos