cancel
Showing results for 
Search instead for 
Did you mean: 

STEVAL-CTM012V1A USART CONNECTION ISSUE

IC5151
Associate II

Hi ,

I am using multiple ST Evaluation Boards and all worked well . However , in one of the board i am facing issue of UART connection . Board is ST

IC5151_0-1751010555500.png

 

EVAL-CTM012V1A . STMCSDK is 6.3.2, Keil u vision 5 , STM32cube Mx 6.11.1 . Baud rate tried :- 9600,115200,19200,1843200 . . However board is running fine in debug mode . Please help me in solving this issue

5 REPLIES 5
cedric H
ST Employee

Hello @IC5151 

What do you mean by :"However board is running fine in debug mode"

Are you referring to compiler optimization?

Regards

Cedric

 

Hi Cedric ,

Debug mode means running fine with IDE .

Got this issue rectified as on board Tx and Rx labelled in reverse. 

 

When i connected Tx of USB to ttl to TX of board and Rx to RX of board , connection build .

 

Thanks for your support and reply.

 

IC5151_0-1751523403657.png

 

Hi

When i connected Tx of USB to ttl to TX of board and Rx to RX of board , connection build .

Does it mean that your problem is solved and you can connect the MC Pilot to your board ?

Regards

Cedric

IC5151
Associate II

Yes its solved .

But one more issue occurs  that is connection lost when motor runs . That may be due to interference of magnetic field when motor start running  . If you have any idea to resolve this , it would be helpful for me . Please share .

Hi

The only idea is to configure the UART RX pin with internal pull-up, it could help but it is not guarantee. reducing the baudrate will make the data wider and could also help.

Regards

Cedric