Software UART Sample code

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

Software UART Sample code

1,347 Views
Pradhan
Contributor I

Hi

 

I am new to S08 freescale controller and for one of our applicaton, I have to develope software UART. Can any1 help me by sharing the software UART code. Its urgent.

 

I am using the MC9S08SG8 controller.

 

Please help....

Labels (1)
0 Kudos
3 Replies

424 Views
bigmac
Specialist III

Hello, and welcome to the forum.

 

You might download Application Note AN2502, which described a software UART that made use of the TIM timer module within a previous HC908 device family.  The assembly code presented may require some adaption to suit the TPM module of the newer MC9S08 device family.

 

I assume that the software UART is required because your project needs two UARTs?

 

Regards,

Mac

 

0 Kudos

424 Views
egoodii
Senior Contributor III

Are you interested in half-duplex (one timer) or full (two)?

0 Kudos

424 Views
egoodii
Senior Contributor III

I have some well-proven code for 'timer banged' UART(s), but can't get it 'til Tuesday.  It is based on the Freescale ApNotes.

0 Kudos