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

Executing the main while loop every 60us

Dear ST Hello,I am implementing an infinite state machine on stm32F409 board and I have an issue.I Have a periodic pwm of 60us triggered. I Want to move all the code to the main while loop from the Interrupt service routine.My objective is to run ea...

Tsemr.1 by Associate II
  • 1691 Views
  • 5 replies
  • 0 kudos

Error Sending data to Arduino through UART Communication

Hi, I would like to send a data from my STM32F401CC to Arduino. I have connected Tx to Rx and successfully upload the code to stm32 and Arduino Uno. I don't get the values right, only first four readings, then all the values become random. This is my...

0693W000007DOgyQAG.png 0693W000007DOgGQAW.png 0693W000007DOifQAG.png
Malre.1 by Associate
  • 1697 Views
  • 3 replies
  • 0 kudos

Resolved! All I want is a LED to blink...

Hello Gals/Guys. I recently purchased a NUCLEO-F439ZI after playing around with F0-DISCOVERY. As is tradition, I wanted to make a LED blink. I have failed miserably. I started in CubeMX to for the initial setup using all the defaults. Using the...

WCook.1 by Associate
  • 2884 Views
  • 4 replies
  • 0 kudos

STM32F4 LINBUS Communication Example

Hello I am working with the STM32f4 development board. I'll make one LIN(Local Interconnet Network) master and one LIN Slave instance but I don't have any example.Has anyone created a sample code?

Resolved! AN4207 Single ended zero reference mode

Hello.Reffering to AN4207(Doc ID 023945 Rev 1) Single ended zero reference mode (Page 9):This mode injects an input common mode of half scale to the ADC thus maintaining the dynamic range the same as in differential mode (-32767 to +32767). In this m...

glinsky by Associate
  • 1028 Views
  • 2 replies
  • 0 kudos

Resolved! STM32F103 timer interrupt fastest time is less than 1us?

I use STM32F103CB in my project.​ but I found timer interrupt fastest time can't less than 1us. Timer prescaler is 0, up counter mode, counter period is 36, no inernal clock division and auto-reload enable. When timer interrupt occur. I set Pin high ...

0693W000007D8VpQAK.jpg

The timer input mode is not working. (using STM32F103RB)

Hi all,I test the timer input capture mode. The input range is 1Hz ~ 100Hz.I set the parameter as below. (Using CUBEMX)Timer Clock : 60MhzPSC : 6000ARR: 10000void HAL_TIM_IC_CaptureCallback(TIM_HandleTypeDef *htim) { HAL_GPIO_WritePin(LED_PORT, IN_...

dKim.1 by Associate II
  • 1166 Views
  • 4 replies
  • 0 kudos