2013-02-27 12:28 AM
Hi
I am trying to command a Pololu Maestro device from my STM32 device. The Pololu requires a non-inverted TTL signal for commands. I can send out the command through an attached UART board to a hyperterminal session on my PC but as I understand the PL 2303 on that addon board inverts the signal. I actually wanted to use the SW-attached UART-Pin as Tx signal. I tried to find a setting for the UART or Pin to be non-inverting but could not see anything like that. Can I define a Pin to be always in the inverted state of another Pin? Juerg #uart2016-02-12 4:40 AM
(void)EXTI->PR;
That should be enough to cope with the behavior I explained. If you did not solve the issue with the ''while'' loop (never write such an unlimited while loop inside an interrupt handler), the ground reason should be something else.We’re moving the ST Community to a new platform to give you a better and more reliable community experience.