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

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

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

1,728 Views
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....

Labels (1)
0 Kudos
2 Replies

502 Views
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 Kudos

502 Views
kamranmu
Contributor I

Thanks Alot Mr. Mac

I will check it.

 

Regards

0 Kudos