S08 SCI Transmit Issue

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

S08 SCI Transmit Issue

ソリューションへジャンプ
1,035件の閲覧回数
gregoryberardi
Contributor II

The attached code is what I'm using to try to send data out the sci tx port. The problem I am having is that I'm not seeing anything on the output (PTA3).

 

Any help is appreciated. Thank you in advance.

Original Attachment has been moved to: main.c.txt.zip

ラベル(1)
タグ(3)
0 件の賞賛
1 解決策
655件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

can you please check this thread? i think it should help you: https://community.freescale.com/message/330916#330916

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
656件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

can you please check this thread? i think it should help you: https://community.freescale.com/message/330916#330916

0 件の賞賛
654件の閲覧回数
gregoryberardi
Contributor II

Yes, I did try the code. After changing the SCI2s to SCI0s I was unable to get it to work either. I noticed that there was a read of SCI0_S1 (which clears the flags) just before the while that waits for the flag to clear in the example that you linked. I put that in my code and it appears to work.

Thank you!

0 件の賞賛