C and reading/writing to the SCI port

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

C and reading/writing to the SCI port

4,314件の閲覧回数
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 返答(返信)

1,143件の閲覧回数
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 件の賞賛
返信

1,143件の閲覧回数
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 件の賞賛
返信

1,143件の閲覧回数
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 件の賞賛
返信