<?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中的主题 Re: How to do hello world program</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1805873#M55403</link>
    <description>&lt;P&gt;Hello Frank,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I tried this SDK creation. But This microcontroller series itself is not there. I uploaded a picture for your reference.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;kamalesh&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (7).png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/262957i28C7927B43EDF154/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (7).png" alt="Screenshot (7).png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Feb 2024 14:16:41 GMT</pubDate>
    <dc:creator>kamalesh</dc:creator>
    <dc:date>2024-02-13T14:16:41Z</dc:date>
    <item>
      <title>How to do hello world program</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1805753#M55399</link>
      <description>&lt;P&gt;Hello Team,&lt;BR /&gt;I am new to this LPC microcontrollers. So, I have lpc11e36 microcontroller and trying to do hello world program which is i want to send the string through uart. I struggled lot. Is there any sample program for this particular microcontroller for uart.&lt;BR /&gt;&lt;BR /&gt;Based on that uart dirver of lpc11xx series, I wrote one program. that is also not working.&lt;BR /&gt;&lt;BR /&gt;I await for your response guys!!!.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Kamalesh.C&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 10:38:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1805753#M55399</guid>
      <dc:creator>kamalesh</dc:creator>
      <dc:date>2024-02-13T10:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to do hello world program</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1805812#M55400</link>
      <description>&lt;P&gt;There is no need to figure everything out for yourself.&lt;BR /&gt;Although I have no LPC11xx MCU or board, so I use the one available to me as example.&lt;/P&gt;&lt;P&gt;First, create/download a SDK for your MCU and host OS. This process is well documented, I think.&lt;BR /&gt;Then, load this SDK with MCUXpresso, AFAIK by just dropping the file into the IDE Quickstart window.&lt;/P&gt;&lt;P&gt;Then, import an example from said SDK, as seen here :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="frank_m_0-1707827365900.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/262928i129601B7EBE9BD9E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="frank_m_0-1707827365900.png" alt="frank_m_0-1707827365900.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For the SDK I used, there is a "Hello World" in the demo_apps, as seen here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="frank_m_1-1707827473178.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/262932i6D51700DC43CFB24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="frank_m_1-1707827473178.png" alt="frank_m_1-1707827473178.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It should compile and build fine.&lt;BR /&gt;If you have a SDK for a specific board, it should run without any additional work or modification.&lt;/P&gt;&lt;P&gt;And I would start from there with modifications.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 12:34:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1805812#M55400</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2024-02-13T12:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to do hello world program</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1805861#M55401</link>
      <description>&lt;P&gt;Hi Frank,&lt;/P&gt;&lt;P&gt;Thank you for the rapid reply.&lt;BR /&gt;But, MCUExpresso IDE is not having this LPC11E36 microcontroller examples. Especially, I need to send any string through uart.&lt;BR /&gt;&lt;BR /&gt;Below program only I used,&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt;===============================================================================&lt;BR /&gt;Name : uart_testing.c&lt;BR /&gt;Author : $(author)&lt;BR /&gt;Version :&lt;BR /&gt;Copyright : $(copyright)&lt;BR /&gt;Description : main definition&lt;BR /&gt;===============================================================================&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;#ifdef __USE_CMSIS&lt;BR /&gt;#include "LPC11Exx.h"&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#include &amp;lt;cr_section_macros.h&amp;gt;&lt;/P&gt;&lt;P&gt;int main(void) {&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Chip_UART_Init(LPC_USART0);&lt;BR /&gt;Chip_UART_SetBaudFDR(LPC_USART0, 9600); // Set baud rate to 9600&lt;/P&gt;&lt;P&gt;// Send "Hello, World!" message using UART&lt;BR /&gt;const char *helloWorldMsg = "Hello, World!\r\n";&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;while (1) {&lt;BR /&gt;Chip_UART_Send(LPC_USART0, helloWorldMsg, strlen(helloWorldMsg));&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;return 0;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;But, It returning error like LPC_USART0 undeclared.&lt;BR /&gt;Linking is not happening also coming.&lt;BR /&gt;Is there way to do other than this lpcexpresso ide?. This ide have lot of confusion.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;kamalesh&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 14:04:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1805861#M55401</guid>
      <dc:creator>kamalesh</dc:creator>
      <dc:date>2024-02-13T14:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to do hello world program</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1805864#M55402</link>
      <description>&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&amp;gt; But, MCUExpresso IDE is not having this LPC11E36 microcontroller examples. Especially, I need to send any string through uart.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;You would need to create one yourself, from an NXP website.&lt;BR /&gt;Check out the following link (which requires a login) :&lt;BR /&gt;&lt;/FONT&gt;&lt;A href="https://mcuxpresso.nxp.com/en/welcome" target="_blank"&gt;https://mcuxpresso.nxp.com/en/welcome&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 14:09:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1805864#M55402</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2024-02-13T14:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to do hello world program</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1805873#M55403</link>
      <description>&lt;P&gt;Hello Frank,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I tried this SDK creation. But This microcontroller series itself is not there. I uploaded a picture for your reference.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;kamalesh&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (7).png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/262957i28C7927B43EDF154/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (7).png" alt="Screenshot (7).png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 14:16:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1805873#M55403</guid>
      <dc:creator>kamalesh</dc:creator>
      <dc:date>2024-02-13T14:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to do hello world program</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1805874#M55404</link>
      <description>I am scared because of this. Is this possible to do? There is no such available libraries and lpcopen examples for this series lpc11exx.&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Feb 2024 14:17:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1805874#M55404</guid>
      <dc:creator>kamalesh</dc:creator>
      <dc:date>2024-02-13T14:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to do hello world program</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1805990#M55406</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you are doing well. I would recommend checking the &lt;A href="https://www.nxp.com/design/design-center/software/development-software/mcuxpresso-software-and-tools-/lpcopen-libraries-and-examples:LPC-OPEN-LIBRARIES" target="_blank"&gt;LPCOpen Libraries and Examples | NXP Semiconductors&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For LPC11xx, please refer to &lt;A href="https://www.nxp.com/design/design-center/software/software-library/lpcopen-software-development-platform-lpc11xx:LPCOPEN-SOFTWARE-FOR-LPC11XX" target="_blank"&gt;LPCOpen Software for LPC11XX | NXP Semiconductors&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You can check the available examples, to see if this can help you with your implementation on your MCU.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ricardo&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 16:51:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1805990#M55406</guid>
      <dc:creator>Ricardo_Zamora</dc:creator>
      <dc:date>2024-02-13T16:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to do hello world program</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1806234#M55409</link>
      <description>&lt;P&gt;Hi Ricardo,&lt;BR /&gt;&lt;BR /&gt;I already gone through those examples, that examples for other series which is LPC11U series. I am using flash magic to upload. I compiled one of the lpcopen example program which is periph-uart. After build, It created .axf file. I changed this axf into hex file using some converter and flashed using flashmagic.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;During flashing, It showing error. I could not use that exact examples of periph-uart also.&lt;BR /&gt;&lt;BR /&gt;I am stucking in this area. Could you please give any suggestions or tutorials to clear this uart program for this particular lpc11e36 microcontroller.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;kamalesh&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 04:01:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1806234#M55409</guid>
      <dc:creator>kamalesh</dc:creator>
      <dc:date>2024-02-14T04:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to do hello world program</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1806573#M55415</link>
      <description>&lt;P&gt;Now that you say it ...&lt;BR /&gt;I didn't realize that the LPC11xx family is already so "old", and not directly supported by the SDK generator. But I had similiar experiences with LPC14xx and LPC17xx devices.&lt;/P&gt;&lt;P&gt;I would follow the recommendations of poster&amp;nbsp;Ricardo_Zamora, and try the links to LPCOpen libraries and examples.&lt;/P&gt;&lt;P&gt;But if you deal with a project here that can be considered&amp;nbsp;"commercial" in any way, I would rethink my choice of MCU. In my experience, it usually doesn't take long from fading toolchain support until the EOL notice is disseminated.&lt;BR /&gt;For hobbyist projects this is less of an issue, though.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 13:47:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1806573#M55415</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2024-02-14T13:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to do hello world program</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1814749#M55494</link>
      <description>&lt;P&gt;Hello frank,&lt;/P&gt;&lt;P&gt;Sorry for the late reply.&lt;/P&gt;&lt;P&gt;Actually, we have the boards with this microcontroller. So , we have the situation to program for this microcontroller. That's why we are creating this thread.&lt;BR /&gt;&lt;BR /&gt;Is there any other way to achieve this thing?.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;kamalesh.C&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 15:55:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1814749#M55494</guid>
      <dc:creator>kamalesh</dc:creator>
      <dc:date>2024-02-23T15:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to do hello world program</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1816284#M55505</link>
      <description>&lt;P&gt;I would say, you are bound to the legacy LPCOpen package for this MCU, as poster Ricardo_Zamora had pointed out.&lt;BR /&gt;Since he is NXP support staff, he can surely assist you with getting started.&lt;BR /&gt;I don't have real experience with this package.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And of course there is always the option of using just the MCU datasheet/manual, startup files, and MCU headers of your toolchain, and do everything else on your own.&lt;BR /&gt;Which is not recommended for beginner level. But occasionally this is the way to go, if your toolchain is not directly supported by the vendor. I did this for STM32Cxx parts not so long ago.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 07:38:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1816284#M55505</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2024-02-27T07:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to do hello world program</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1857212#M55949</link>
      <description>&lt;P&gt;Hello Ricardo_zamora and Frank,&lt;BR /&gt;&lt;BR /&gt;Sorry for the late reply.&lt;BR /&gt;&lt;BR /&gt;I successfully achieved the hello world program through uart in lpc11e36 microcontroller.&lt;BR /&gt;&lt;BR /&gt;Now, We are one step forwarded. I am trying to do the lcd program. My lcd is connected with i2c expander of PCA9546AD(channel -1). I2c from lpc11e36 microcontroller connected with this i2c expander.&lt;BR /&gt;&lt;BR /&gt;I written one program to send hello world string to this lcd from this microcontroller. I attached the code given below. After executing the program, it is stucked. I found the place also. But I dont know why it is stopped in this place.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (14).png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/276570i5A24F2570A88BB3C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (14).png" alt="Screenshot (14).png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;During the execution time of this line &lt;STRONG&gt;Chip_I2C_MasterSend(I2C0, I2C_LCD_ADDRESS, data, 2);,&lt;/STRONG&gt;it could not processing this line.&lt;BR /&gt;In this above picture, I marked the line which I got a struck. Could you please clarify my doubts and verify my uploaded program?&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Kamalesh.C&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 05:48:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1857212#M55949</guid>
      <dc:creator>kamalesh</dc:creator>
      <dc:date>2024-04-30T05:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to do hello world program</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1857253#M55952</link>
      <description>&lt;P&gt;Not having a LPC11e63 board or LCD display / I2C expander, I cannot say much about this issue.&lt;/P&gt;&lt;P&gt;But I would attach a logic analyser (or scope) to the I2C lines, and check the actual bus signals against the expected (i.e. the datasheet of the display/expander).&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&amp;gt; During the execution time of this line&amp;nbsp;&lt;STRONG&gt;Chip_I2C_MasterSend(I2C0, I2C_LCD_ADDRESS, data, 2);,&lt;/STRONG&gt;it could not processing this line.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would suspect the event this code waits for is an ACK from the slave.&lt;BR /&gt;Perhaps the I2C address is not correct.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 06:44:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1857253#M55952</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2024-04-30T06:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to do hello world program</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1857323#M55954</link>
      <description>&lt;P&gt;Hello Frank,&lt;BR /&gt;&lt;BR /&gt;Thank you for your rapid reply.&lt;BR /&gt;&lt;BR /&gt;Actually, I checked with manufacturer of display for this physical address. This is the exact physical address.&lt;BR /&gt;&lt;BR /&gt;Is my program structure was right?&lt;BR /&gt;&lt;BR /&gt;If physical address is right in the since, what may be the reason for this struck?&lt;BR /&gt;I doubted on,&lt;BR /&gt;Mainly, I2C communication is not happening because of wrong connection or something else.&lt;BR /&gt;&lt;BR /&gt;how to check the i2c communication? Is there any program to verify the i2c communication.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Kamalesh.C&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 07:37:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1857323#M55954</guid>
      <dc:creator>kamalesh</dc:creator>
      <dc:date>2024-04-30T07:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to do hello world program</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1857441#M55956</link>
      <description>&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&amp;gt; how to check the i2c communication? Is there any program to verify the i2c communication.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;By physically attach a logic analyser or a oscilloscope.&lt;BR /&gt;I did that for my private projects with simple and cheap USB 8-bit logic analyser pods, and the "PulseView" application (I use Linux for that purpose, but it runs on Windows, too).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&amp;gt; Actually, I checked with manufacturer of display for this physical address. This is the exact physical address.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You need to read the datasheet of your device carefully for that purpose.&lt;BR /&gt;The I2C device address is only 7 bits, the eights bit (LSB) defines read/write access.&lt;BR /&gt;Some manufacturers imply a left-shift of this 7-bit address value in their datasheet, others imply an 8-bit address with the R/W bit "OR-ed" in.&lt;BR /&gt;If the DS of your device is not really clear, the easiest way is to try both variants.&lt;BR /&gt;Some I2C devices have additional external "address pins", so as to operate more than one device on a single I2C bus. If this applies your device, check the required conditions (pull-up/pull-down) are met.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In general, getting such low-level busses like I2C or SPI are almost impossible to get to work without being able to check and evaluate the actual bus signals.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 09:31:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1857441#M55956</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2024-04-30T09:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to do hello world program</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1857900#M55958</link>
      <description>&lt;P&gt;Hello frank,&lt;BR /&gt;&lt;BR /&gt;Actually I tried your suggested way physical address also, but based on my program structure, it is strucked on CHIP_I2CTRANSFER function only.&lt;BR /&gt;&lt;BR /&gt;I tried another example which is test the i2c communication of our board. In this program, I written some data in EEPROM of one address. For this write operation, I used this chip_i2c_transfer function. after this write operation, i have to use the read operation to read the data from the same address whichever I written in EEPROM. After Executing the transfer function in this i2c, It is stucked on i2c_event_wait. I uploaded a photo given below.&lt;BR /&gt;&lt;BR /&gt;Also I found some forum related to my problem. I given the link below. They gave some software fix. How about my case?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/LPC4367-I2C-stuck-in-interrupt-handler/m-p/827339" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers/LPC4367-I2C-stuck-in-interrupt-handler/m-p/827339&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (17).png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/276768iD477A6806A43F8F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (17).png" alt="Screenshot (17).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Till this printing of BEFORE_WAIT_EVENT is happening, after this not happening. I want to know what is the reason.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Here, I only given a random address and doing those operations(read and write).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there any issue in my i2c communication?&lt;BR /&gt;&lt;BR /&gt;Could you please tell me, why it is happening here?&lt;BR /&gt;&lt;BR /&gt;For your reference, I attached my recent tested file.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Kamalesh.C&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 06:47:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1857900#M55958</guid>
      <dc:creator>kamalesh</dc:creator>
      <dc:date>2024-05-01T06:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to do hello world program</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1858181#M55960</link>
      <description>&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&amp;gt; Also I found some forum related to my problem. I given the link below. They gave some software fix. How about my case?&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To be honest, I don't know if this issue is related to your case.&lt;BR /&gt;This is a different MCU, and the I2C peripheral might be a different IP, with a different register interface.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would start with consulting the I2C bus specification, and then try to monitor/record the actual bus signals in your case.&lt;BR /&gt;Many I2C slave devices, especially more complex ones like an LCD interface, define special requirements (usually for multi-byte transfers). You would need to compare the code and the observed signal with the requirements of your slave device.&lt;BR /&gt;I2C code for an IO expander or an EEPROM will not directly work with e.g. an I2C ADC or LCD device, you need to modify it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 05:46:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1858181#M55960</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2024-05-02T05:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to do hello world program</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1859196#M55970</link>
      <description>&lt;P&gt;Hello Frank,&lt;BR /&gt;&lt;BR /&gt;I checked the I2c pins of LPC11e36 microcontroller with the oscilloscope.&lt;BR /&gt;&lt;BR /&gt;For both the pins, It is getting high but there is no clock signals as well as other signals also. I don't know how to modify code according to this. You have any ideas about this?&lt;BR /&gt;&lt;BR /&gt;In my uploaded code, I made a setup of clock frequency to 100khz. It should generate clock signals right?&lt;BR /&gt;&lt;BR /&gt;Or Is there any mistake in my code?&lt;BR /&gt;&lt;BR /&gt;Could you please check once and tell me?&lt;BR /&gt;&lt;BR /&gt;For your reference, i2c frequency initialize program line given below.&lt;BR /&gt;&lt;BR /&gt;#define I2C_FREQUENCY 100000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;void I2C_Init(void) {&lt;BR /&gt;// Initialize I2C with the specified frequency&lt;BR /&gt;Chip_I2C_Init(I2C0);&lt;BR /&gt;Chip_I2C_SetClockRate(I2C0, I2C_FREQUENCY);&lt;BR /&gt;Chip_I2C_SetMasterEventHandler(I2C0, Chip_I2C_EventHandlerPolling);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;These all the three processes are happening well. I don't know why it is not generating signal?&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Kamalesh.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 04 May 2024 07:00:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1859196#M55970</guid>
      <dc:creator>kamalesh</dc:creator>
      <dc:date>2024-05-04T07:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to do hello world program</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1859448#M55973</link>
      <description>&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&amp;gt;&amp;nbsp; You have any ideas about this?&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Without a board like yours or even the MCU, I can nothing but guess. Perhaps the NXP staff members can help you better in this regard.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But two things you can check.&lt;BR /&gt;First, pull-up resistors are essential for I2C bus functionality. Without those, the bus does not work, and you see no signals. Check they are present/populated, and in a range of (usually) 1 kOhm ... 5 kOhm.&lt;BR /&gt;Internal pull-ups are most often insufficient.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Second, check the GPIO pins are properly initialized as I2C-peripheral.&lt;BR /&gt;MCUXpresso SDK examples for your MCU (or LPCOpen for older MCUs) can be used as reference here.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 06:49:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1859448#M55973</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2024-05-06T06:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to do hello world program</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1862297#M55998</link>
      <description>&lt;P&gt;Hello Frank,&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Second, check the GPIO pins are properly initialized as I2C-peripheral.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Actually I searched for the lpcopen examples of lpc11e3x microcontroller series. But there is no examples for this.&lt;BR /&gt;&lt;BR /&gt;Can I use the examples of lpc11e6x series examples for this i2c gpio pin checking?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Kamalesh&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 07:48:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-do-hello-world-program/m-p/1862297#M55998</guid>
      <dc:creator>kamalesh</dc:creator>
      <dc:date>2024-05-09T07:48:37Z</dc:date>
    </item>
  </channel>
</rss>

