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

Higher priority timer will preempt lower priority external interrupt, but will not preempt a lower priority timer.

EDIT: Hello, everyone. My code issue seems to have resolved itself after much changing, but I never did find out what was happening. My real question was answered: There are no likely circumstances that a higher-priority interrupt should not pre-e...

Charles P by Associate II
  • 3249 Views
  • 14 replies
  • 0 kudos

I2C communication address issue

Hi, All. I have come across an odd situation in I2C communication between F405 and sensors1) F405 is master. address is 7 Bit2) with 3 slave I2C sensors , address, 22h,35h,78h3) There is no issue to read data from sensors of 22h and 35hbut when comm...

_legacyfs_online_stmicro_images_0693W00000bkmxQQAQ.png _legacyfs_online_stmicro_images_0693W00000bkmxaQAA.png

Resolved! Making a UART frame from ADC value WITH ASCII Control Character

Hello,My aim is to send (from my nucleo board_F103+FTDI) somes ADC value from DMA.Easy...But i would like a frame like that (Windows Software need it):<STX>ADC1;ADC2;ADC3<ETX><CR><LF>I'm able to send data, no more...uint16_t sensor_B =1234; char str[...

jlecl.1 by Associate III
  • 836 Views
  • 2 replies
  • 0 kudos

Resolved! Data transmit by UARD (DMA) with junk character

Dear eveyone,I' little confuse..I'm trying to send dat over uart from a nucleo board (F103 + FDTI). If a use "normal"method, it's work great.I mean, i receive "1234567890" WITH a new line.uint8_t start [20]= "1234567890 \n\r"; HAL_UART_Transmit(&huar...

jlecl.1 by Associate III
  • 1067 Views
  • 4 replies
  • 0 kudos

Resolved! Delaying the reset that comes from the NRST

Hi all,I'm using STM32L562VETQmy question is:can i delay the reset for about 20ms when pressing the NRST pin ?i want to give LED-Indication for the device reset.in other words, can the reset -that comes from the NRST pin- be delayed for a specific am...

_legacyfs_online_stmicro_images_0693W00000bl9zFQAQ.png
WAdel.1 by Associate II
  • 1951 Views
  • 4 replies
  • 1 kudos

F411 Flash programming returns PGA & PGS Error

I'm trying to program some data into a flash sector but the HAL_FLASH_PROGRAM returnsa value of 10 which maps to pga and pgs error.HAL_FLASH_Unlock(); uint64_t val = (uint64_t)(data->at(i) << 8 | data->at(i + 1) << 8 | data...

Dvan .8 by Associate II
  • 482 Views
  • 0 replies
  • 0 kudos