LPC5536-EVK, i3c example not working

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC5536-EVK, i3c example not working

1,720 Views
mj000
Contributor II

Hello team,

 

I'm testing i3c example of i3c_master_read_sensor_icm42688p with LPC5536-EVK.

The board was set based on the readme.txt, but the result is little strange.

demo failed with following uart message

================================================================

I3C master read sensor data example.

I3C master do dynamic address assignment to the sensor slave.

I3C master dynamic address assignment done, sensor address: 0x 9

Sensor reset failed.

================================================================

or

================================================================


I3C master do dynamic address assignment to the sensor slave.

I3C master dynamic address assignment done, sensor address: 0x 9

Sensor reset is done, re-assgin dynamic address

Sensor enable failed.

================================================================

The board seems not to go the next step for gathering sensing data.

Two EVK were tested and result was same.

Could you check what's wrong or what I should do?

 

Sincerely yours,

 

mj000_0-1654738733906.png 

mj000_1-1654738751092.png

 

 

0 Kudos
16 Replies

1,606 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello mj000,

I use my colleague's lpc55s36 board to test this demo , it works well, below is the photo of that board,

Alice_Yang_0-1656319250554.jpeg

 

while I have not find the different, you can also try to check with it. I will tell you if I find the root cause.

 

 

BR

Alice

0 Kudos

1,596 Views
mj000
Contributor II

Hello Alice,

All jumpers were same to my EVKs but not working.

golden working EVK is in your place, please let us know what the difference between  good and bad.

 

Sincerely yours,

mj,

0 Kudos

1,578 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello  mj,

Do you have any other lpcxpresso55s36-EVK ? I test some other boards, all can works, only one can't.

 

 

0 Kudos

1,576 Views
mj000
Contributor II

Hello Alice,

Unforturenately, we had two board odered.

  • How many EVKs are working now?
  • The three EVKs ordered recenly by you and us do not seem to be work.
  • Could you check the EVK revision of those boards?
  • It might give us the clue at this point.

Best regards,

MJ

0 Kudos

1,561 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

Your two boards all can't work?

I test four boards, only one can't work. 

The version of chip and boards all the same, almost no different , only one point, please check it on your side as below picture:

No issue board:

Alice_Yang_0-1656661730993.png

 

What about your board?

 

BR

Alice

 

Issue:

Alice_Yang_1-1656661746017.png

 

 

0 Kudos

1,555 Views
mj000
Contributor II

Hello,

 

  • No, 2 EVK were not working as commented.
  • These are our boards which are same to no issue EVK.

 

mj000_1-1656665078083.png

 

 

mj000_0-1656665044918.png

Best regards,

MJ

0 Kudos

1,535 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello ,

Try to reduce SCL.

And try to other two I3C demos under SDK.

 

BR

Alice

0 Kudos

1,532 Views
mj000
Contributor II

Hello ,

Try to reduce SCL.

--> It's been 4 weeks since I first posted. please refer to previous my comment, we tried it. it didn't work

Does LPC5536 support i3C SDR up to 12.5MHz? does it?

And try to other two I3C demos under SDK.

-> also tried it before as wrote. I really hope NXP listen customer voice more carefully.

 

Best regards,

MJ

0 Kudos

1,676 Views
mj000
Contributor II

Hello NXP

Really thanks for supporting us. 

When tested more, It was found that as follows

- example test procedure stopped due to the nack from the sensor.

- i3c SCL was set to 12.5Mhz in the code but real SCL was around 10Mhz by checking oscilloscope. 

- When decreasing SCL to 1.25Mhz, the procedure seemed to go more, but still not working.

- the examples i3c board to board master/slave test is sometimes worked and sometimes failed.

with this situation, it's not easy to decide lpc5536 for i3c solution,

If NXP check this, it will be very helpful 

 

Sincrely yours, 

 

0 Kudos

1,655 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

The same on my side, I will find the reason and tell you .ASAP.

Sorry for the inconvenient to you.

 

BR

Alice

0 Kudos

1,635 Views
mj000
Contributor II

Hello Alice,

Is there any update? really wish to get some feeback soon.

 

Best regards,

Mj,

 

0 Kudos

1,625 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

Could you please measure timing waves on SCL and SDA signal lines by using logic device? SE team ask this. 

Also insert the jumper JP58.

 

BR

Alice

0 Kudos

1,599 Views
mj000
Contributor II

Hello,

  • SCL, SDA were measured with Oscilloscope, SCL peroid should be 80ns at 12.5Mhz, but it is around 110ns. refer to picture.
  • what deos "logic device" mean? Logic analyzer? we don't have it.

mj000_0-1656374282033.png

  • J58 was shorted as you can see the first picture I attatched and you can check in your EVK.

 

0 Kudos

1,700 Views
mj000
Contributor II

Hi, NXP

It's not effective by connecting GND of uart with readme.txt, which was tested in two evk.

We couldn't select NXP's solution without varifying in the EVK.

Could NXP team check the this problem in EVK with example code?

Sincerely yours,

mj000

HW, SDK infomation

mj000_0-1654821453057.png

mj000_1-1654821465177.png

mj000_2-1654821634346.png

 

 

 

0 Kudos

1,684 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

I will order this board, and test it on my side after get board, maybe need some days for delivery delay. 

 

BR

Alice

0 Kudos

1,705 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

There is no demo board on my hand, so I can't help to test this demo, 

how about also connect the GND of UART between board JP3 and USB-2-UART.

Also check again hardware connection  with readme.txt.

 

BR

Alice

0 Kudos