C and reading/writing to the SCI port

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

C and reading/writing to the SCI port

3,568 次查看
jberri
Contributor II
Can someone show me how to read/write using C to the SCI port (in a MC9S08GB60)?
Please be as discriptive as possible, I am new to this.
 
Thank you,
jberri
标签 (1)
0 项奖励
3 回复数

397 次查看
jberri
Contributor II
Hi Peg,
 
Thank you for your response.  Unfortunately, neither zip I was able to open with my Codewarrior V6.1.  Some error occurs?
 
Is there simple lines I can use, I do know that the SCI must be initialized and set for its baud rate and receive/send functionality, but I am more interested in the actual line that says write and how it is performed.
 
Thank you so much...
0 项奖励

397 次查看
peg
Senior Contributor IV
Hi,

How about just unzipping the files then look in the sources directory and search for SCID or SCI?D.

0 项奖励

397 次查看
peg
Senior Contributor IV
Hi jberri,

Here are some links for you to explore on this:

For a QG8 but much still relevant.

For a GB60 demoboard.

0 项奖励