<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>C161 interrupt/RTC question</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/13685/c161-interrupt-rtc-question</link><description> I&amp;#39;m doing an application containing some I2C code on a Infineon C161PI. When I put the I2C code into main, everything works alright. When I put it into a timer ISR, it works, too. But when I try to execute the I2C code (takes less than 1ms to execute</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: C161 interrupt/RTC question</title><link>https://community.arm.com/thread/36936?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2000 13:01:09 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:35774431-8d1f-4c60-9259-92ede98afcd2</guid><dc:creator>Michael Zirngibl</dc:creator><description>&lt;p&gt;No I found the answer: The RTC was intialized and the ISR was called before the I2C was initialized. This caused the I2C to crash. After disabling the IEN before Project_Init manually, everything works alright.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>