<?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>ColdFire/68K Microcontrollers and Processors中的主题 Re: [Lite5200/Linux] Setting on-board LEDs</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Lite5200-Linux-Setting-on-board-LEDs/m-p/208578#M10055</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are building the project using the CodeWarrior wizard, the wizard should have generated a processor-specific header file that contains the mappings of variable names to peripheral registers, which in turn drive the pins. Look for a header file the uses the CPU's name or board's name, say Lite5200.h. In there you shoud find the variable name IRDA_RX, and what address that is associated with&amp;nbsp; it. To write to the pin, you have to set it as an output (if it is a general-purpose I/O pin that could be an input or an output), then write a bit using IRDA_RX as the reference to the register.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Look at some of the example programs that should have come with the board's CD. There is usually a simple example program that blinks the LEDs that you can study and learn.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jun 2010 20:57:31 GMT</pubDate>
    <dc:creator>J2MEJediMaster</dc:creator>
    <dc:date>2010-06-23T20:57:31Z</dc:date>
    <item>
      <title>[Lite5200/Linux] Setting on-board LEDs</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Lite5200-Linux-Setting-on-board-LEDs/m-p/208577#M10054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used LTIB to build a Linux kernel for the Lite5200 board. The Linux kernel boots without any problems and I can run a hello world program that I compiled with LTIB's gcc toolchain.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I would like to do now is to switch the general-purpose LEDs on the board on and off. However, I do not have any experience in hardware programming.&amp;nbsp;The user manual says:&amp;nbsp;"&lt;EM&gt;General purpose LEDs have been provided for debug and development purposes. The LEDs are driven by an inverting buffer connected to the MCU pins described in the following table&lt;/EM&gt;", followed by a table in which LED 1 is mapped to the IRDA_RX pin of the CPU. How do I find the address of this buffer in my code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 15:40:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Lite5200-Linux-Setting-on-board-LEDs/m-p/208577#M10054</guid>
      <dc:creator>michael_wahler</dc:creator>
      <dc:date>2010-06-22T15:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: [Lite5200/Linux] Setting on-board LEDs</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Lite5200-Linux-Setting-on-board-LEDs/m-p/208578#M10055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are building the project using the CodeWarrior wizard, the wizard should have generated a processor-specific header file that contains the mappings of variable names to peripheral registers, which in turn drive the pins. Look for a header file the uses the CPU's name or board's name, say Lite5200.h. In there you shoud find the variable name IRDA_RX, and what address that is associated with&amp;nbsp; it. To write to the pin, you have to set it as an output (if it is a general-purpose I/O pin that could be an input or an output), then write a bit using IRDA_RX as the reference to the register.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Look at some of the example programs that should have come with the board's CD. There is usually a simple example program that blinks the LEDs that you can study and learn.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 20:57:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Lite5200-Linux-Setting-on-board-LEDs/m-p/208578#M10055</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2010-06-23T20:57:31Z</dc:date>
    </item>
  </channel>
</rss>

