Skip to main content
aaalex1234
Associate
July 4, 2019
Solved

Hard reset on write USART.

  • July 4, 2019
  • 2 replies
  • 892 views

I apologize for my english.

I came across an incomprehensible thing for me (general experience with STM32 for about 10 years).

I work with STM32L010K8. When I try to write to USART2->TDR, I fall into reset. Test on Keil and IAR, different optimisation.

Has anyone come across this?

This topic has been closed for replies.
Best answer by Tesla DeLorean

Check for external shorting.

Try driving the UART TX pin as a GPIO​

2 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
July 4, 2019

Check for external shorting.

Try driving the UART TX pin as a GPIO​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
aaalex1234
Associate
July 4, 2019

Thank you, you are right.

A TX port was knocked out, on the other board everything is fine.

Thanks again.