Help with RS232 communication for KA8

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

Help with RS232 communication for KA8

ソリューションへジャンプ
980件の閲覧回数
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 解決策
731件の閲覧回数
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 返答(返信)
731件の閲覧回数
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 件の賞賛
返信
731件の閲覧回数
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 件の賞賛
返信
732件の閲覧回数
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 件の賞賛
返信
731件の閲覧回数
Eliezer
Contributor I

Thank you very MAC.

0 件の賞賛
返信