<?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>LPC Microcontrollersのトピック VIC for I2C activation in LPC2929</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/VIC-for-I2C-activation-in-LPC2929/m-p/521881#M4517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ariel_HSL on Tue Dec 23 07:46:10 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am new to NXP's devices, so thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am currently using the MCB2929 of keil with the NXP LPC2929.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am developing using keil MDK environment and toolchain.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am currently trying to implement I2C communication between the board and my PC (using Total-phase aadvark &lt;/SPAN&gt;&lt;A href="http://http://www.totalphase.com/products/aardvark-i2cspi/"&gt;link&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the problem. I have checked a couple of examples (I2C and non-I2C). It seems that&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the VIC registers are different in the LPC2929 than in most of the devices I have seen. In most example&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(for example &lt;/SPAN&gt;&lt;A href="http://http://www.nxp.com/documents/other/MACC06001_LPC2000_SPI.pdf"&gt;here&lt;/A&gt;&lt;SPAN&gt;), there is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a VectAddr_x register where you put the address of your desired function. (for example: &amp;amp;I2C_ISR)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the LPC2929 VIC, there is no such register. The keil basic examples come with a startup code which defines&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;most of the interrupt ISR's (for example Timer0_Handler, ADC0_Handler etc.) However the I2C interrupts are marked as &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'reserved', and I am not sure how to configure them. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the LPC29xx user manual, in the VIC chapter (ch. 9) there is a mention of a 'VIC drivers' which would&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;be very helpful, however I could not find them anywhere. (there is no link)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also could not find an example for the I2C OR VIC for this family of devices. (meaning, with out the provided startup code)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there examples for this family which I failed to find?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could someone exaplain how to correctly configure the VIC for the I2C interrupt?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ariel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:38:06 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:38:06Z</dc:date>
    <item>
      <title>VIC for I2C activation in LPC2929</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/VIC-for-I2C-activation-in-LPC2929/m-p/521881#M4517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ariel_HSL on Tue Dec 23 07:46:10 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am new to NXP's devices, so thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am currently using the MCB2929 of keil with the NXP LPC2929.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am developing using keil MDK environment and toolchain.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am currently trying to implement I2C communication between the board and my PC (using Total-phase aadvark &lt;/SPAN&gt;&lt;A href="http://http://www.totalphase.com/products/aardvark-i2cspi/"&gt;link&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the problem. I have checked a couple of examples (I2C and non-I2C). It seems that&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the VIC registers are different in the LPC2929 than in most of the devices I have seen. In most example&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(for example &lt;/SPAN&gt;&lt;A href="http://http://www.nxp.com/documents/other/MACC06001_LPC2000_SPI.pdf"&gt;here&lt;/A&gt;&lt;SPAN&gt;), there is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a VectAddr_x register where you put the address of your desired function. (for example: &amp;amp;I2C_ISR)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the LPC2929 VIC, there is no such register. The keil basic examples come with a startup code which defines&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;most of the interrupt ISR's (for example Timer0_Handler, ADC0_Handler etc.) However the I2C interrupts are marked as &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'reserved', and I am not sure how to configure them. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the LPC29xx user manual, in the VIC chapter (ch. 9) there is a mention of a 'VIC drivers' which would&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;be very helpful, however I could not find them anywhere. (there is no link)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also could not find an example for the I2C OR VIC for this family of devices. (meaning, with out the provided startup code)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there examples for this family which I failed to find?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could someone exaplain how to correctly configure the VIC for the I2C interrupt?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ariel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:38:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/VIC-for-I2C-activation-in-LPC2929/m-p/521881#M4517</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:38:06Z</dc:date>
    </item>
  </channel>
</rss>

