Software SCI Receiver for MC9S08QG4 (8 Pin PDIP)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Software SCI Receiver for MC9S08QG4 (8 Pin PDIP)

3,293 次查看
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,161 次查看
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,161 次查看
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,161 次查看
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,161 次查看
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,161 次查看
datamstr
Contributor II
Hi Fabio,

Thanks, I was looking through Chapter 11 instead.

David
0 项奖励
回复