Hi,
I am a beginner working with uCs and I´ve just purchased a M52259 demo board. I read most of documentation available and try to understand the example projects but I still am confused on the following topic(maybe one of you can give a hint or where to search, because I've tried many searching options and no success) :
- How exactly I can communicate (send/receive) using UART port (RS-232) ? I am trying to write a basic program to access this port (open/close port , send a command/ receive a response) . Maybe you can give some example code with this basic operations.
I want to mention that the hardware it's properly connected and I have all the software tools needed. I can flash the board using the ".s19" files from example projects , etc .
Many thanks!
Hi
See http://www.utasker.com/docs/uTasker/uTaskerUART.PDF
Full code for interrupt and DMA driven modes is available at http://www.utasker.com/kirin3.html
Regards
Mark