Help with RS232 communication for KA8

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

Help with RS232 communication for KA8

跳至解决方案
928 次查看
Eliezer
Contributor I

I am new to programming microcontrollers, Freescale, and I can not build a program

that transmits data to the computer via an RS232 port.

I'm using a MC9RS08KA8, please someone help me

标签 (1)
0 项奖励
回复
1 解答
679 次查看
bigmac
Specialist III

Hello,

 

I found the attached CW project, applicable to the MC9S08QG8 demo board.  The code is capable of testing the various peripheral modules, and communicates to a computer using the SCI module.

 

Regards,

Mac

 

在原帖中查看解决方案

0 项奖励
回复
4 回复数
679 次查看
bigmac
Specialist III

Hello, and welcome to the forum.

 

Unfortunately, the 'RS08KA8 does not contain a SCI module, the hardware that will support serial communications.  While it is possible to simulate SCI operation in firmware, this is a more complex process, and the timiing is critical.

 

If you have little previous experience with microcontroller programming, I might suggest that you consider using an alternative device that contains  a SCI module.  Additionally, the use of the RS08 family will add further programming complication, because of some limitations of this "scaled down" family.

 

I might suggest that you choose to experiment initially with an evaluation board from the '9S08 family.  Most of these devices provide a SCI module.  Depending on your ultimate requirements, the '9S08QG8 might be a reasonable choice.

 

Regards,

Mac

 

0 项奖励
回复
679 次查看
Eliezer
Contributor I

Hello Mac

I am grateful for the attention.

Indeed I have very little experience in programming and thanks for the advice.

Seizing the opportunity, I wonder if you have any examples for HCS08 or GQ I take a look.

Thanks in advance.

0 项奖励
回复
680 次查看
bigmac
Specialist III

Hello,

 

I found the attached CW project, applicable to the MC9S08QG8 demo board.  The code is capable of testing the various peripheral modules, and communicates to a computer using the SCI module.

 

Regards,

Mac

 

0 项奖励
回复
679 次查看
Eliezer
Contributor I

Thank you very MAC.

0 项奖励
回复