Forum Posts
How to synchronize multiple microcontrollers
I have multiple devices with stm32L5 mcu playing led animations and connected via RS-485. However, when I send a command via RS-485 to start led animations, they become asynchronous. I want to use an mcu clock as reference and send it to all others m...
STM32 turning DMA on and gives odd results
I am trying to dynamically start and stop PWM and DMA which are triggered by a timer with this code: void CAM_startLineTransfer(CAM_HandleTypeDef *cam) { // init DMA while (cam->requestDataTimer->Instance->CNT <= 60) {} HAL_TIM_PWM_Start...
Output Compare stay on actual voltage level
I need an output compare trigger output with toggle function, and the start/stop should be on the correct frequency. Start is ok now, Stop I like to stay on the actual volatge level (high or low)The problem now I face is when I turn off the timer wit...
Performance varies notably when the code alignment changed by 2 bytes?
I am running Thumb-2 instruction code on STM32F750N8.I am seeing non-negligible performance number variation depending on whether I insert one NOP right before a tight loop (and changing the address of each instruction by halfword). Other parts of th...
Resolved! Why RXNE is automatically reset after write data to DR register, even I already set the FRXTH to 1
I have a problem where even I already set the FRXTH to 1, the RXNE will automatically RESET after the SPI write data to DR register.I check using DEBUGGING MODE:In main(), I already SET the FRXTH based on the reference manual below: Then, after I wri...
IWDG issues on H743XI
Hi alli am facing a very strange issue on the MCU i have specified on the title. I am working on these devices since long time ago and i never had any kind of problem with them. During these days, i am experiencing a very strange issue: i can't conne...
Resolved! Unknown signal causes HardFault when entering HAL_FLASH_Program
I am writing a bootloader for an STM32L071CB target. In certain cases this code results in a HardFault, but in other cases it works. I know that this alone indicates that it's probably something to do with the state of the rest of my program, but I c...
Resolved! ST-link loses connection with my STM32F769I discovery board
Using STM32CubeProgrammer to connect to my discovery board. Connection to the board via ST-Link is lost within 30 seconds every time.things I have done:1.) Performed "full chip erase" via the STM32CubeProgrammer application2.) Selected the appropri...