M52259 serial communication info

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

M52259 serial communication info

1,034件の閲覧回数
Paleantrop
Contributor III

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!

ラベル(1)
0 件の賞賛
返信
1 返信

772件の閲覧回数
mjbcswitzerland
Specialist V

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

 

0 件の賞賛
返信