Using a STM32F4 MCU: Which is the right way to manage the TX and RX ?
Hi all,
I'm using a STM32F4 MCU
I'm having much problem handling ISR and/or DMA with UART TX/RX
Could anyone tell me which is the right way to manage the TX and RX ?
In case of ISR i can only TX correctly , but when i try to RX ... i can receive only 4 byte, the other data generate a OVERRUN Error that i can't handle.
In case of DMA the RX won't works and the TX works only with the debugger ( Step by Step ) .
Without debugger the string is overwritten.
For Example these two string that i have to print:
1) CAN Filter Configured!
2) CAN Controller Started!
produces this output:
CAN Filter Confitarted!
If is necessary i can paste the code that i'm using.
Thanks a lot