Author Topic: Requesting i2c program for lpc11e36 microcontroller  (Read 290 times)

0 Members and 1 Guest are viewing this topic.

Offline kamaleshTopic starter

  • Newbie
  • Posts: 1
  • Country: in
Requesting i2c program for lpc11e36 microcontroller
« on: May 04, 2024, 09:17:44 am »
Hello,

I am new to this field. Actually, We are started working with lpc11e36 micrcontrollers.

We successfully able to do the uart interface program with this microcontroller. But, for testing purpose, we have to do i2c program.

I searched in many places and finally written one program for i2c.

Now, After initializing the i2c, I checked with scope, there is no scl signal in scope. Program also stucked inbetween the progress and it is going to the event of i2c_wait.(particulary i2c_chipMasterSend function strucked).

How to clear this error?
Is there any other examples to move forward?

Regards,
Kamal
 

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 4305
  • Country: nl
Re: Requesting i2c program for lpc11e36 microcontroller
« Reply #1 on: May 04, 2024, 09:32:32 am »
Hi Kamal,

welcome to the forum. First of, it is not a good idea to use your email address as your login because it is displayed above every post you make. I reported it for you so the moderators can change it for you.

Second, for better help post the code you made, so members can look at it and tell you what can be wrong.

Here is a link to some code google showed when searching for "lpc11e36 i2c example code". It might not be for this exact microcontroller, but can be of help.

Offline gnif

  • Administrator
  • *****
  • Posts: 1704
  • Country: au
  • Views and opinions are my own
    • AMD
Re: Requesting i2c program for lpc11e36 microcontroller
« Reply #2 on: May 04, 2024, 09:34:55 am »
Displayed name adjusted anyway
 
The following users thanked this post: pcprogrammer


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf