<?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: MC9RS08KAx IR-RC5 remote help? in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188347#M14287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Bigmac Thanks for the tips. Instead of the software time delays,will it be feasible to generate interrupt driven timed delays? I mean for the carrier generation. I think this task would be quite complex with assembly,simply because I am still illiterate and the time period is 1 month for completion of project. So as suggested C-coding would be preferable.&lt;BR /&gt;&lt;BR /&gt;Message Edited by abicash on &lt;SPAN class="date_text"&gt;2008-02-13&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;08:18 AM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Feb 2008 16:18:01 GMT</pubDate>
    <dc:creator>abicash</dc:creator>
    <dc:date>2008-02-13T16:18:01Z</dc:date>
    <item>
      <title>MC9RS08KAx IR-RC5 remote help?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188338#M14278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi I am quite new to Freescale and have good experience on ATMEL and TI. The MC9xx device was suggested by one of my component suppliers for a project that I am starting (over ATMEL) considering the very-low-cost of the MC9RS08KAx-6pin devices. Project: IR Remote based on Philips-RC5 protocol (Transmitter+Receiver) with one switch(Transmitter) to control one device(Receiver) . Now I can build the project from scratch,but luckily I found a ready code for the receiver section in Assembly on the Freescale site, under code/snippets. I was wondering if such a code is there somewhere for the transmitter side as well!So that all of my development time is cut. P.S.:Meanwhile I am loving the CodeWarrior IDE and the amazing devices,cursing myself for not looking at these devices earlier.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 16:44:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188338#M14278</guid>
      <dc:creator>abicash</dc:creator>
      <dc:date>2008-02-08T16:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: MC9RS08KAx IR-RC5 remote help?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188339#M14279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello Abicash,&lt;BR /&gt;&lt;BR /&gt;Are you aware of the fact the RS08 are very different from the HC08 and S08 devices ?&lt;BR /&gt;&lt;BR /&gt;The RS08 family (from which the KA devices are part of) is a subset of the S08 instruction set, with a different programming model.&lt;BR /&gt;&lt;BR /&gt;The example code you found is really designed for RS08 devices?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 22:46:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188339#M14279</guid>
      <dc:creator>fabio</dc:creator>
      <dc:date>2008-02-11T22:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: MC9RS08KAx IR-RC5 remote help?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188340#M14280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;I entirely support Fabio's comment.&amp;nbsp; However, if your reference is AN3402, this does pertain to the RS08&amp;nbsp;device you intend using.&amp;nbsp; For the decoding process, there is implied use of an external IR sensor/demodulator module, the output of which is connected to the MCU.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;The IR encoding process is a completely different situation,&amp;nbsp;because you need to accurately&amp;nbsp;generate a high frequency carrier signal (36 kHz in the case of RC5 protocol), in addition to on-off keying of the carrier.&amp;nbsp; With careful selection of bus clock, this may be feasible as a software process, but it is also possible that the RS08 device may be inadequate for the task.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Freescale does have other devices, from the 9S08 family, that contain special hardware resources for the purpose of generating the carrier signal.&amp;nbsp; AN3053 would apply to these MCUs, but may also be of interest because the document also summarizes many of the different encoding schemes, including RC5.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 12:15:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188340#M14280</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2008-02-12T12:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: MC9RS08KAx IR-RC5 remote help?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188341#M14281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Fabio and Bigmac, Thanks for your replies.Really appreciated! The first thing that Fabio mentioned was [quote]Are you aware of the fact the RS08 are very different from the HC08 and S08 devices ?[/quote] Yes I know this for some time now. [quote]The example code you found is really designed for RS08 devices?[/quote] As mentioned by Bigmac,Yes,the one I found (AN3402) was for RS08 devices.This one was exactly the same design as I had intended to use. Bigmac,as you rightly mentioned,after looking around a bit I understand that RS08KAx devices would be insufficient for the generation side.I had d/l AN3053 but had missed it in my folder now containing loads of data regarding this project.Thnaks for pointing that to me.I can now see the source code for RC5 in that&lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt; Now I want you to suggest a right device for this to me. Meanwhile I want to go off topic for a bit.Since I used ATMEL all my life as a priority device,it was ATMEL AVR that was intended for this purpose.But the sorry state of sampling and distibutor support (which I have put up on forums on avrfreaks.net) had compelled me to look somewhere else,which being TI earlier.But TI doesn't seem to have a comprehensive product line-up which would meet my purpose,which Freescale very well does along with very good sampling/tooling support.I am more than happy at the moment contrary to one avrfreak who has said "you will be sorry" for using freescale.I dont know where that comes from!Unless he's referring to a substantial order that awaits Freescale.&lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" id="smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt; *edit* I am looking for very-low-cost controller devices.RS08KA fit the bill but S08RC/RD dont.Any suggestions?&lt;BR /&gt;&lt;BR /&gt;Message Edited by abicash on &lt;SPAN class="date_text"&gt;2008-02-12&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;06:48 AM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 14:28:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188341#M14281</guid>
      <dc:creator>abicash</dc:creator>
      <dc:date>2008-02-12T14:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: MC9RS08KAx IR-RC5 remote help?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188342#M14282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello Abicash,&lt;BR /&gt;&lt;BR /&gt;What about the MC9S08QD2 or QD4 they are cheap, two 16-bit timers (three CCP channels), 2 or 4 KiB of FLASH and 128 or 256 bytes of RAM ...&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 20:10:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188342#M14282</guid>
      <dc:creator>fabio</dc:creator>
      <dc:date>2008-02-12T20:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: MC9RS08KAx IR-RC5 remote help?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188343#M14283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thanks again Fabio for replying instantly. Will the s/w for MC9S08RC/RD/RE/RG be compatible with MC9S08QD2 family? If so,these are pretty good devices.I see a budgetary pricing of $0.6~ which suites me!&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 20:38:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188343#M14283</guid>
      <dc:creator>abicash</dc:creator>
      <dc:date>2008-02-12T20:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: MC9RS08KAx IR-RC5 remote help?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188344#M14284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Except for the Carrier Modulator Timer (CMT), the peripherals are similar (TPM, RTI, etc.).&lt;BR /&gt;&lt;BR /&gt;Note that only the Rx devices (RC, RD, RE and RG) implement the CMT module.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 21:39:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188344#M14284</guid>
      <dc:creator>fabio</dc:creator>
      <dc:date>2008-02-12T21:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: MC9RS08KAx IR-RC5 remote help?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188345#M14285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;To use the QD2 for the IR encoder application, you would need to write your own code.&amp;nbsp; Since there is no CMT, the carrier would need to be generated by other means - there are a couple of possibilities.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;But first, let's examine the characteristics of the RC5 format, to get a better idea about the timing considerations required.&amp;nbsp; The QD2 device is capable of generating nominal bus frequencies of 8MHz, 4MHz, 2MHz or 1MHz.&amp;nbsp;I will assume "standard" trimming to exactly these frequencies.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;The RC5 carrier requires a frequency of 36kHz, with about 30 percent duty.&amp;nbsp; For a 4MHz bus, each carrier cycle would occupy exactly 111 bus cycles, possibility with an ON period of 34 cycles, and an OFF period of 77 cycles.&amp;nbsp; For 8 MHz bus, the number of cycles will double.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Each burst of carrier may be either 32 or 64 carrier cycles.&amp;nbsp; The gap between carrier bursts will correspond with 3556 or 7111 bus cycles, assuming 4 MHz.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;The first possibility -&lt;/FONT&gt;&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;&lt;FONT size="2"&gt;Use a timed firmware loop to generate each carrier cycle.&amp;nbsp; The loop must provide the number of cycles required for the correct carrier frequency, and must also test for when the carrier burst is complete.&amp;nbsp; Interrupts must not occur while the burst is being generated.&amp;nbsp; This would also imply that the firmware must be coded in assembler.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="2"&gt;Use a TPM channel,&amp;nbsp;with software only output compare mode, to time the gap between carrier bursts.&amp;nbsp; In this case, the interrupt would probably be used.&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;This method should be feasible for a bus frequency of&amp;nbsp;4MHz.&amp;nbsp; "Padding" cycles will probably be needed within the loop, to adjust the timing.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;The second possibility -&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;It would be tempting to consider whether the TPM channel could also be used to generate the carrier signal, in addition to the gap period,&amp;nbsp;this time&amp;nbsp;using the channel hardware output pin to directly switch the IRED driver transistor.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;This will require the processing of the ISR within a worst case period of 34 bus cyles, for 4MHz.&amp;nbsp; I doubt that this is feasible.&amp;nbsp; However, for 8 MHz bus, the worst case period would be 68 bus cycles, which might just be feasible, with very careful coding, again in assembler.&amp;nbsp; No other interrupts, except the timer channel interrupt, should be enabled during the carrier&amp;nbsp;burst period.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2008 00:13:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188345#M14285</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2008-02-13T00:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: MC9RS08KAx IR-RC5 remote help?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188346#M14286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;I have had some additional thoughts about the last paragraph of my earlier post -&lt;/FONT&gt;&lt;/DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;HR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;This will require the processing of the ISR within a worst case period of 34 bus cyles, for 4MHz.&amp;nbsp; I doubt that this is feasible.&amp;nbsp; However, for 8 MHz bus, the worst case period would be 68 bus cycles, which might just be feasible, with very careful coding, again in assembler.&amp;nbsp; No other interrupts, except the timer channel interrupt, should be enabled during the carrier&amp;nbsp;burst period.&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;HR /&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;To somewhat ease the critical timing, the operation could remain within the ISR for the whole carrier&amp;nbsp;mark period (34 cycles), rather than exiting and re-entering the interrupt, as was originally intended.&amp;nbsp; Within the ISR, the channel register would be first incremented by 34, and the channel flag polled in a tight loop&amp;nbsp; When the flag became set, the channel register would be incremented by 77, to time the remainder of the carrier period, and the ISR exited.&amp;nbsp; The channel flag also needs to be cleared (twice), and the next output states setup&amp;nbsp;within the ISR.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;With the more relaxed critical timing, it may be feasible to use C coding.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2008 11:34:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188346#M14286</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2008-02-13T11:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: MC9RS08KAx IR-RC5 remote help?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188347#M14287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Bigmac Thanks for the tips. Instead of the software time delays,will it be feasible to generate interrupt driven timed delays? I mean for the carrier generation. I think this task would be quite complex with assembly,simply because I am still illiterate and the time period is 1 month for completion of project. So as suggested C-coding would be preferable.&lt;BR /&gt;&lt;BR /&gt;Message Edited by abicash on &lt;SPAN class="date_text"&gt;2008-02-13&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;08:18 AM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2008 16:18:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188347#M14287</guid>
      <dc:creator>abicash</dc:creator>
      <dc:date>2008-02-13T16:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: MC9RS08KAx IR-RC5 remote help?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188348#M14288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;So lots of timing calculations. Now for some more suggestions. What are the minimum specs that I need for this? I think Flash=1k,RAM=?,Timers=atleast 2-8bit for software carrier generation(will be easier this way)while the loop for bursts can be added in s/w whereas the other timer would be used for generating the 14 bits,Comparator=?,I wont need SPI/SCI interface,Minimum 1 I/O pin..These seems very crude justifications but maybe I will expect some help!&lt;BR /&gt;&lt;BR /&gt;Message Edited by abicash on &lt;SPAN class="date_text"&gt;2008-02-13&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:06 AM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2008 19:05:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188348#M14288</guid>
      <dc:creator>abicash</dc:creator>
      <dc:date>2008-02-13T19:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: MC9RS08KAx IR-RC5 remote help?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188349#M14289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;abichash,&lt;BR /&gt;&amp;nbsp;I have a question - doe s this product only have to work with it self?&lt;BR /&gt;That is, does it also have to work with any "universal" remote, or just your own remote?&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2008 22:31:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188349#M14289</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-02-13T22:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: MC9RS08KAx IR-RC5 remote help?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188350#M14290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Since you were originally considering use of the 9RS08KA2 device, I was assuming that you had already determined that an 8-pin package would provide sufficient I/O for your application.&amp;nbsp; Therefore, the 9S08QD2 seemed a good fit.&amp;nbsp; It is certainly rich in timers, with&amp;nbsp;two separate&amp;nbsp;TPM modules, with a total number of three channels available.&amp;nbsp; Each TPM module is much more flexible than the MTIM module within the KA2.&amp;nbsp; Since the QD2 device contains an ADC module, you won't really need a comparator facility.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;In all probability, 2K of flash should be plenty, assuming any processing, outside of the RC5 output generation, is not extremely complex.&amp;nbsp; I can't imagine that it would be, considering the few pins available on the package.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;If you require direct battery operation, perhaps from a single lithium cell, the QD2 may not be suitable.&amp;nbsp; Its minimum operating voltage is 2.7 volts, and&amp;nbsp;you may need a device with a minimum limit of 1.8 volts.&amp;nbsp; If this is the case,&amp;nbsp;you might&amp;nbsp;consider the 8-pin version of the 9S08QG4 device, but it will likely be more expensive.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;When assigning functions to the various pins of the QD2, allocate PTA0 to PTA3 first.&amp;nbsp; Allocate PTA4 (output only) last.&amp;nbsp; This will simplify the debug process, in that the BDM connections will remain clear if PTA4 and PTA5 are not used (refer to Fig. 2.2 within the data sheet).&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by bigmac on &lt;SPAN class="date_text"&gt;2008-02-14&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;03:29 AM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2008 00:24:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188350#M14290</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2008-02-14T00:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: MC9RS08KAx IR-RC5 remote help?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188351#M14291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi, To answer JimDons query,Yes,the application demands being operated only with itself.So that there should be no interference from any Universal remotes,and vice versa.For this I plan to use an address/command which isnt used by any remote and I would be supplied with a UNiversal remote shortly,wherein I would be in a position to guess which addresses(32) or commands(64) are not used. @Bigmac:I was definitely considering the cheapest device offered since the whole Transmitter+Receiver+Pow Supply has to be not more than $2.For the receiver side therefore I chose the KA2 partly since the code was ready.I was planning for a PIC device on Transmitter side,PIC12F629 to be precise due to lower cost and Pincount.It has 1750 byte Flash and 64 byte RAM along with 2 timers,6 I/Os.So QD2 is somewhat similar (better) but for the Low voltage you mentioned!So QG4.But its got some things that I dont neeed like the ADC and enormous Flash/RAM.The KAx devices are absolutely suited for the application,but you really feel they wont be sufficient for transmission?.Today a Freescale Technical Support person is to meet me on this.Meanwhile I would really appreciate if you helped me more on this.Thanks and regards&lt;BR /&gt;&lt;BR /&gt;Message Edited by abicash on &lt;SPAN class="date_text"&gt;2008-02-14&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;06:31 AM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2008 14:29:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188351#M14291</guid>
      <dc:creator>abicash</dc:creator>
      <dc:date>2008-02-14T14:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: MC9RS08KAx IR-RC5 remote help?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188352#M14292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Dears,&lt;BR /&gt;&lt;BR /&gt;Infrared transmitter is one of the easy tasks that could be done with minimum resources. As one of my private projects, I've made a replica of Citroen Xantia remote control (which is not RC5).&lt;BR /&gt;&lt;BR /&gt;I've used S08QG8 (since I had it on my table &lt;SPAN&gt;&lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" id="smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt;&lt;/SPAN&gt;) and its TPM timer for generating IR waveform and simply counted timer overflows at the background. The remote control had nothing else to do anyway during the transmission. The source code and schematics can be found at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://sweb.cz/Pavel.Lajsner/IRX1/" rel="nofollow" target="_blank"&gt;http://sweb.cz/Pavel.Lajsner/IRX1/&lt;/A&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;Regarding RS08KA2, it does not have that powerful timer, and I don't have experience with it either. So I wonder if/how this could be done effectively. S08QD2 could be better option (has TIM).&lt;BR /&gt;&lt;BR /&gt;Pavel, Freescale Roznov, Czech Republic&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2008 23:13:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188352#M14292</guid>
      <dc:creator>ok2ucx</dc:creator>
      <dc:date>2008-02-14T23:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: MC9RS08KAx IR-RC5 remote help?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188353#M14293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;$2 in what quantity?&lt;BR /&gt;&lt;BR /&gt;Well anyway my idea was to use a 74HC00 as an external oscillator (0 .082 qyt 10000 TSSOP) and gate it with the SCI and just send regular serial port commands.&lt;BR /&gt;It sure makes the receiver easy.&lt;BR /&gt;A student once did this on a senior project and it did work.&lt;BR /&gt;&lt;BR /&gt;Just an idea...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by JimDon on &lt;SPAN class="date_text"&gt;2008-02-14&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:04 AM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2008 23:59:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188353#M14293</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-02-14T23:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: MC9RS08KAx IR-RC5 remote help?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188354#M14294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;HR /&gt;&lt;/DIV&gt;&lt;DIV&gt;abicash wrote:&lt;BR /&gt;The KAx devices are absolutely suited for the application,but you really feel they wont be sufficient for transmission?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;HR /&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;I am reasonably certain that it &lt;U&gt;would&lt;/U&gt; be possible to build a transmitter&amp;nbsp;using the KAx device.&amp;nbsp; But because of the very limited capability of the MTIM, in comparison with the TPM module, the use of timed firmware loops, using tight assembly code would be required, which you said you did not currently have the expertise to handle.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;A few years back, I was able to use a HC705 device, a predecessor of the HC908 and 9S08 devices, for a similar purpose, for a proprietary IR coding scheme.&amp;nbsp; The device had only 1.2K of PROM, 64 bytes of RAM, and a single timer that was even less flexible than the MTIM.&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Mac&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 02:20:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188354#M14294</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2008-02-15T02:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: MC9RS08KAx IR-RC5 remote help?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188355#M14295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi all, The Freescale support person recommended a newer device QA4 which is quite similar to QGx,and promised a very good price for a package[a price with which I am extrememly happy&lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;] @oc2ucX: The projects very good.Maybe I can port it to RC5.Since you've written it in C,it may be helpful.Thanks @JimDon: I dont think thats a good idea.An extra device will eat space and money (even though its TSSOP and quite low priced)..Thanks anyway @Bigmac:It seems imperative that I use assembly if I were to use KA2 which ,again as I said earlier,doesnt sound a good idea for now atleast.Freescale support has assured a kickstart for this project and Codewarrior overall.But since QA devices are pretty new,Codewarrior doesnt seem to support it.Do you have idea how to use these if they are not supported by codewarrior? Meanwhile I am provided with two development boards,USBSPYDER08 and DEMO9RS08KASP v.1.00.Talk about support!I am also provided with loads of manuals and tech material.One of which has a 4-5 line explanation of a demo project resembling mine.It is using KA2 as IR transmitter,but without code or anything.So these two days I am spending on this material.Please provide any suggestions or additions.Thanks as usual &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 18:36:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188355#M14295</guid>
      <dc:creator>abicash</dc:creator>
      <dc:date>2008-02-15T18:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: MC9RS08KAx IR-RC5 remote help?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188356#M14296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;Codewarrior support for a new device:&lt;BR /&gt;&lt;BR /&gt;I once had this problem and support sent the files as the service pack was not yet ready for release due to other problems, but they had the support files for the device needed.&lt;BR /&gt;&lt;BR /&gt;I suggest you enter a service request and see if&amp;nbsp; they are available.&lt;BR /&gt;&lt;BR /&gt;As for the Spyder, I found that it worked fine (and fits in your pocket nicely), but it seems to single step the device very slowly compared to the P&amp;amp;E BDM.&lt;BR /&gt;If you don't already have on, mouser has a good price.&lt;BR /&gt;&lt;A href="http://www.mouser.com/Search/ProductDetail.aspx?qs=LkvDLdEGQvXCZ90mRLE76w%3d%3d" rel="nofollow" target="_blank"&gt;&amp;nbsp;&lt;SPAN&gt;841-USBMULTILINKBDME&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;While mouser does not seem to&amp;nbsp; be an FSL preferred vendor, on small quantities for prototyping (and perhaps larger quantities) they have never failed to have the best price. Plus you don't have to go thru a big deal as far as quotes, and they show you real prices upto 500 peices and some times more. I am a little guy and the treat much better then the traditional rep houses.&lt;BR /&gt;&lt;BR /&gt;You could also get a DEMOJM or a DEMOQE, which will give you a full P&amp;amp;E BDM&amp;nbsp; AND will supply 3.3V to the boards. It's not in a nice case like the Multililnk, but the are only around 50.00 and are perfect for the bench (plus you also get a neat demo board in the bargain).&lt;BR /&gt;&lt;BR /&gt;To further my previous point concerning protocols, if this does not have to work with other remotes, you are free to take short cuts that may speed your development. The SCI just makes things quicker, but in your case since you only need to send a single command, I don't thing this will be an issue. None the less, the is nothing magical about RC-5.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by JimDon on &lt;SPAN class="date_text"&gt;2008-02-15&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:30 AM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Feb 2008 00:30:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188356#M14296</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-02-16T00:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: MC9RS08KAx IR-RC5 remote help?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188357#M14297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi JimDon, As for now, I am pretty happy with two dev boards which I have been supplied (DEMORS08KASP and USBSPYDER).Although the USBSPYDER has a QG4 device on it,contrary to the KA2 which I was expecting.Learning a few tricks.Monday/Tuesay,FSL has arranged a one day training.I have noticed a thing with USBSPYDER that its not recognised sometimes,and have to remove it and insert it and redo the connection process.Maybe some problems with Windows drivers or the USBcomm chip on board.Not an issue for the moment...I have opened a new project using the AN3402 MC9RS08KA2,compiled it and loaded it on the flash.But if i single-step it,I lose connection with board.One thing was conspicuous with its absense in the app note was BUS FREQUENCY DEclaration.Is it necessary if we are using ICS?&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Feb 2008 16:08:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KAx-IR-RC5-remote-help/m-p/188357#M14297</guid>
      <dc:creator>abicash</dc:creator>
      <dc:date>2008-02-16T16:08:31Z</dc:date>
    </item>
  </channel>
</rss>

