S08 SCI Transmit Issue

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

S08 SCI Transmit Issue

跳至解决方案
961 次查看
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 解答
581 次查看
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 回复数
582 次查看
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 项奖励
580 次查看
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 项奖励