<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Interface microcontroller with Bluetooth device(SPP) in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Interface-microcontroller-with-bluetooth-device-SPP/m-p/150428#M8071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mat1988&lt;BR /&gt;&lt;BR /&gt;I just recently did something similar for a project. It is quite easy if you set up the SCI on your HCS08. I did this using a ringbuffer. (You find example code fairly easy) Set your baudrate in regard of your clock settings and write a parser to handle the incoming commands. To set up the Module you probably get the module into command mode and then you can us AT-Commands.(Parsing commands you might want to look into the stroke function..(&lt;A href="http://www.elook.org/programming/c/strtok.html)" rel="nofollow" target="_blank"&gt;http://www.elook.org/programming/c/strtok.html)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to debug your application i suggest you have a levelshifter thus you can't connect the rx/tx lines of the hcs08 nor the lines from the module driectly to your computer. On the computer simply have a conventional terminal program running like termite or similar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is also handy to have a smartphone with a bluetooth serial terminal app to connect to your module in order to verify it is running correct and you are receiving the data properly. I used SENA BTerm on an Android phone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well then, have fun and good luck!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 May 2012 18:09:53 GMT</pubDate>
    <dc:creator>ueli_bucher</dc:creator>
    <dc:date>2012-05-01T18:09:53Z</dc:date>
    <item>
      <title>Interface microcontroller with bluetooth device(SPP)</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Interface-microcontroller-with-bluetooth-device-SPP/m-p/150427#M8070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need some information about university project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm making a project with microcontroller(HCS08 freescale) and i want to interface it with bluetooth device(PAN1321)&amp;nbsp;&lt;/SPAN&gt;that support serial port profile .&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I know that must send AT commands to able SPP and so i've RS232 serial cable emulation, but i don't understand very well this; so i've two question:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1)Do i need to implement the code of a RS232 receiver in my micro for recive data, or simply,after connect the devices, i read the data on my UART?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)The data packets received, are in rs232 format?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank a lot in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ps:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I still do not have the devices, will arrive next week, &lt;SPAN&gt;but I want to&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;give me an&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;idea&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Mar 2012 21:07:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Interface-microcontroller-with-bluetooth-device-SPP/m-p/150427#M8070</guid>
      <dc:creator>Mat1988</dc:creator>
      <dc:date>2012-03-31T21:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Interface microcontroller with Bluetooth device(SPP)</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Interface-microcontroller-with-bluetooth-device-SPP/m-p/150428#M8071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mat1988&lt;BR /&gt;&lt;BR /&gt;I just recently did something similar for a project. It is quite easy if you set up the SCI on your HCS08. I did this using a ringbuffer. (You find example code fairly easy) Set your baudrate in regard of your clock settings and write a parser to handle the incoming commands. To set up the Module you probably get the module into command mode and then you can us AT-Commands.(Parsing commands you might want to look into the stroke function..(&lt;A href="http://www.elook.org/programming/c/strtok.html)" rel="nofollow" target="_blank"&gt;http://www.elook.org/programming/c/strtok.html)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to debug your application i suggest you have a levelshifter thus you can't connect the rx/tx lines of the hcs08 nor the lines from the module driectly to your computer. On the computer simply have a conventional terminal program running like termite or similar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is also handy to have a smartphone with a bluetooth serial terminal app to connect to your module in order to verify it is running correct and you are receiving the data properly. I used SENA BTerm on an Android phone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well then, have fun and good luck!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 18:09:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Interface-microcontroller-with-bluetooth-device-SPP/m-p/150428#M8071</guid>
      <dc:creator>ueli_bucher</dc:creator>
      <dc:date>2012-05-01T18:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Interface microcontroller with bluetooth device(SPP)</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Interface-microcontroller-with-bluetooth-device-SPP/m-p/150429#M8072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have pulled togeather a lot of Bluetooth information on one page.&amp;nbsp; Maybe you will find something helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.rasmicro.com/Bluetooth.htm" rel="nofollow" target="_blank"&gt;http://www.rasmicro.com/Bluetooth.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Roger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 22:39:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Interface-microcontroller-with-bluetooth-device-SPP/m-p/150429#M8072</guid>
      <dc:creator>RogerSchaefer</dc:creator>
      <dc:date>2012-07-27T22:39:58Z</dc:date>
    </item>
  </channel>
</rss>

