LPC553x RM - I3C doc error

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

LPC553x RM - I3C doc error

Jump to solution
1,045 Views
martingcavallo
Contributor III

Hi everyone!

 

As I said in another ticket I have been working on the development of an I3C driver. My last task was to define a method to set I3C frequencies. It was really hard, but I understand that I also found some errors in the documentation.

 

Mainly, I followed the description that is presented in Table 336 Configuration parameters used to initialize the I3C module (on page 1613). Below are the errors that I found:

 

  • OBAUD: 
    • Empirically, I got a result where ODBAUD half-clock time period = (ODBAUD + 1) * PPBAUD high period instead of ODBAUD * PPBAUD high period.
    • In the same way, SCL(in MHz) = FCLK / ((2+2*PPBAUD)*(ODBAUD + 1)) instead of 
    • SCL(in MHz) = FCLK / ((2+2*PPBAUD)*ODBAUD)

 

  • I2BAUD: I really didn't understand how the I2C buadrate is set. Following the example on page 1614, I understood that if I2CBAID is:
    • An odd number then I2C Ton (high state) = (I2CBAUD -1)* ODBAUD period and Toff (low state) = I2CBAUD * ODBAUD period.
    • An even number then 2C Ton (high state) = Toff (low state) = I2CBAUD * ODBAUD period.

However, the empirical results that I reached show that there isn't a linear relation between I2CBAUD and ODBAUD period. The attached image shows what I got. I'm wrong or I'm missing something????.

I2CBAUD.png

 

Hope to hear from you soon.!!!

 

Regards,

Martin

Labels (2)
0 Kudos
Reply
1 Solution
1,005 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Pls download the latest RM of LPC553x from the link, the latest reversion of RM of LPC553x is reversion 2.0 till Jan 2023

https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mc...

 

I suppose that you use the old revision of RM, the table of "Configuration parameters used to initialize the I3C module" is Table 353 instead of Table 336. BTW, the table has updated.

Hope it can help you

BR

XiangJun Rong

 

View solution in original post

0 Kudos
Reply
2 Replies
1,006 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Pls download the latest RM of LPC553x from the link, the latest reversion of RM of LPC553x is reversion 2.0 till Jan 2023

https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mc...

 

I suppose that you use the old revision of RM, the table of "Configuration parameters used to initialize the I3C module" is Table 353 instead of Table 336. BTW, the table has updated.

Hope it can help you

BR

XiangJun Rong

 

0 Kudos
Reply
1,001 Views
martingcavallo
Contributor III

Hi Xiangjun_rong,

Ok, thank you for your response.

I downloaded the new RM and I saw that I3C peripheral documentation was updated. I'm closing this ticket now and open a new one if I have new doubts.

Best Regards,

Martin

0 Kudos
Reply