Help with RS232 communication for KA8

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help with RS232 communication for KA8

Jump to solution
750 Views
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

Labels (1)
0 Kudos
1 Solution
501 Views
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

 

View solution in original post

0 Kudos
4 Replies
501 Views
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 Kudos
501 Views
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 Kudos
502 Views
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 Kudos
501 Views
Eliezer
Contributor I

Thank you very MAC.

0 Kudos