Software SCI Receiver for MC9S08QG4 (8 Pin PDIP)

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

Software SCI Receiver for MC9S08QG4 (8 Pin PDIP)

3,296 Views
datamstr
Contributor II
Hi All,

I am looking for some 'C' code to do a Software SCI Receiver for the MC9S08QG4 (8 Pin PDIP).
The serial communication parameters are 9600,8,n,1. I only need to receive six bytes and there is no need to transmit serial data.

TIA,
David
Labels (1)
0 Kudos
Reply
5 Replies

1,164 Views
RogerSchaefer
Contributor III
I have a short assembly subroutine for the 8 pin MC68HC908QT4 but you would have to adjust the timing loops for the different clock speed.
Roger Schaefer
0 Kudos
Reply

1,164 Views
fabio
Contributor IV
Hi,

There is a full functional example showing how to do this in my book: HCS08 Unleashed . You can also download the examples at: www.sctec.com.br/hcs08.

Best regards,
0 Kudos
Reply

1,164 Views
datamstr
Contributor II
Hi Fabio,

I looked at the code examples from your book, but do not see a Software SCI Receiver.
Can you please point that out to me?

Thanks,
David
0 Kudos
Reply

1,164 Views
fabio
Contributor IV
Example 9.15 shows how to implement a bitbanged SCI (both TX and RX sides) using one TPM channel for each side.

Best regards,
0 Kudos
Reply

1,164 Views
datamstr
Contributor II
Hi Fabio,

Thanks, I was looking through Chapter 11 instead.

David
0 Kudos
Reply