How do you Interface HCS12 with bluetooth device?

608 views Asked by At

I need some information about interfacing Bluetooth module to HSC12 board.

I'm making a project with microcontroller (HSC12 freescale) and I want to interface it with Bluetooth device (bc417) .

I am planning to use SCI0 port which has RXD on pin PS0 and TXD on pin PS1. Now can I use SCI port with Bluetooth module or do I need to use SPI port ? Does the SCI port only support RS-232 interface?

As you can see I am a little confused as to the steps required to interface the Bluetooth module correctly.

If someone can break the steps down for me, it would help a lot. Just remember my goal is to be able to receive/transmit data from a smart phone via Bluetooth. Please any help would be appreciated. If there is anything missing let me know and I will add it.

Thank a lot in advance!

1

There are 1 answers

0
Lundin On BEST ANSWER

Does the SCI port only support RS-232 interface?

SCI is Freescale's way of saying UART. The interface is UART and nothing but UART. Add a RS-232 transceiver to a UART port and you get RS-232.

All HCS12 devices have both SCI and SPI. Pick either of them, depending on what the Bluetooth chip supports. SPI is generally to prefer for on-board communication.