LPC553x RM - I3C doc error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LPC553x RM - I3C doc error

跳至解决方案
671 次查看
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

标签 (2)
0 项奖励
1 解答
631 次查看
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 项奖励
2 回复数
632 次查看
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 项奖励
627 次查看
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 项奖励