Interfacing HCS12 with Parallax GPS Module (serial data send/receive on a single pin)

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

Interfacing HCS12 with Parallax GPS Module (serial data send/receive on a single pin)

1,743件の閲覧回数
kamranmu
Contributor I

Dear All!

I want to interface Parallax GPS with MC9s12DG256 Microcontroller(Dragon 12 Plus Board),  but the problem is that this GPS module send and receive data on a single pin SIO (when using smart mode), while MC9s12 controller have two sci ports but both are available on 2 different pins (data sending on one pin and data receiving on another), how I should interface it, if any one can guide me in writing code (in C language codewarrier) for it, (software uart) like available in picbasic serin and serout. thanks in advanc....

ラベル(1)
0 件の賞賛
2 返答(返信)

517件の閲覧回数
bigmac
Specialist III

Hello,

 

If you refer to the datasheet for the SCI module, section 4.6 "Single wire operation", this should explain the setup that you require.  The TxD pin is used for half duplex communications in both directions.

 

Regrds,

Mac

 

0 件の賞賛

517件の閲覧回数
kamranmu
Contributor I

Thanks Alot Mr. Mac

I will check it.

 

Regards

0 件の賞賛