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! Volatile qualifier does not matter in my interrupt routine

I am new to embedded C, and I recently watched some videos about volatile qualifier. They all mention about the same things. The scenarios for the use of a volatile qualifier :1. when reading or writing a variable in ISR (interrupt service routine)2....

MJoe.1 by Associate II
  • 1566 Views
  • 5 replies
  • 0 kudos

STM32F429 Flash write/read

I'm trying to write and read some data into flash. But not work. Anybody help me?I'm using Cubeide and STM32F429 board.char test_data[]="TEST";char test_data2[5];uint32_t PAGEError = 0; FLASH_EraseInitTypeDef EraseInitStruct; EraseInitStruct.TypeEras...

ECARV.1 by Associate
  • 970 Views
  • 1 replies
  • 0 kudos

FDCAN - multiple frames sent from single send request

Hello,I'm beginning to bring up a PCB which is based on the STM32G484QET. Initially, I'm getting the FDCAN set up (although I'll be using it as a CAN 2.0 node). I am using FDCAN1.I'm at the stage that I can transmit CAN messages which are picked up c...

NElli.2 by Associate
  • 712 Views
  • 0 replies
  • 0 kudos

Counting up from GPIO READ

Hi,all:I wrote a code for counting up when GPIO ReadPin change high level to low, here is the code:while(1){ HAL_GPIO_WritePin(GPIOA, GPIO_PIN_1, GPIO_PIN_SET);​ if(HAL_GPIO_ReadPin(GPIOE,GPIO_PIN_10)==1) { HAL_Delay(1); if(HAL_GPIO_ReadPin(GPIOE,GP...

CGran.2 by Associate II
  • 1007 Views
  • 4 replies
  • 0 kudos

ST, please improve learning materials.

Hello,I’d like to offer ST some advice in there educational materials. I’d be willing to work with ST to improve such things if asked.If I’m not mistaken, I think this video is out of date: https://www.youtube.com/watch?v=6RqUkFIeN6wI find it confusi...

gdori.1 by Associate II
  • 513 Views
  • 1 replies
  • 0 kudos

Target not halted Error Please Help

Hello friends,The problem is that I use STM32F439ZI chip on my gateway PCB. I also use STLINK V2 to debug codes. While I was debuging my codes I got an error as Target not halted. As for STLINK V2 everything is normal and I connected pins correctly. ...