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,751 次查看
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 回复数

525 次查看
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 项奖励

525 次查看
kamranmu
Contributor I

Thanks Alot Mr. Mac

I will check it.

 

Regards

0 项奖励