Software SCI Receiver for MC9S08QG4 (8 Pin PDIP)

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

Software SCI Receiver for MC9S08QG4 (8 Pin PDIP)

3,294件の閲覧回数
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
ラベル(1)
0 件の賞賛
返信
5 返答(返信)

1,162件の閲覧回数
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 件の賞賛
返信

1,162件の閲覧回数
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 件の賞賛
返信

1,162件の閲覧回数
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 件の賞賛
返信

1,162件の閲覧回数
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 件の賞賛
返信

1,162件の閲覧回数
datamstr
Contributor II
Hi Fabio,

Thanks, I was looking through Chapter 11 instead.

David
0 件の賞賛
返信