How to Configure LPC55S28 I2C to Fast Mode Plus

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

How to Configure LPC55S28 I2C to Fast Mode Plus

1,508 Views
AmberLin
Contributor II

Hi Community,

I need 1Mbits/s I2c communication, but it just reach 800kbits/s

The attachment lpcxpresso55s28_i2c_interrupt_b2b_transfer_master.7z is SDK example code that use FC4 (PIO1_20 and PIO1_21).

In addition, I refer to How to Configure LPC55S16 I2C to Fast Mode Plus 

It seems to be a different problem, because it already enable the FRG4 in example code.

AmberLin_0-1698396900345.png

The attachment LPC55S28_test.7z is my own code that use FC1 (PIO0_13 and PIO0_14) based on MCUXpresso config tool.

I follow the document UM11126 (Table 336.)  to set pins with config tool, but the result is still 800k.

AmberLin_1-1698399857546.png

 

 

Labels (2)
0 Kudos
Reply
3 Replies

1,453 Views
AmberLin
Contributor II

Hi @RaRo 

I'm using LPC55S28-EVK, and the slave that I am connecting with is HX83192 automotive TDDI.

I'll check documents you provide.

By the way. Refer to the document UM11126 CH.33.

Are FC0 to FC7 able to reach 1M, or just FC1 (PIO0_13 and PIO0_14) can be configured to 1M?

It doesn't mention about which are the specific I2C pins for FM+.

AmberLin_0-1698804301955.png

 

Best Regards.

Amber Lin.

0 Kudos
Reply

1,439 Views
RaRo
NXP TechSupport
NXP TechSupport

Hello @AmberLin,

Could you please try using the i2c_polling_transfer_master and/or i2c_dma_transfer_master examples? With those have you achieved a faster speed communication?

Are FC0 to FC7 able to reach 1M, or just FC1 (PIO0_13 and PIO0_14) can be configured to 1M?

Let us double check this information, since as you mentioned it is not very clear which specific I2C pins should be used for Fast-mode Plus or High-speed mode. We will let you know any information regarding your case as soon as possible.

Best regards, Raul.

0 Kudos
Reply

1,466 Views
RaRo
NXP TechSupport
NXP TechSupport

Hello @AmberLin,

Could you please tell us if you are using an NXP's EVK or a custom board? Which slave are you connecting with the master LPC5528?

Also, could you please check the I2C-bus specification and user manual and LPC55S2x/LPC552x Product data sheet. Section 11.9 I2C-bus? There is mentioned some extra considerations of bus timing.

Kind regards, Raul.

0 Kudos
Reply