iMX7 I2C TX data HW FIFO available?

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

iMX7 I2C TX data HW FIFO available?

跳至解决方案
1,608 次查看
jeremym
Contributor IV

Looking through the iMX7 Linux/MQX/FreeRTOS code and iMX7 datasheet it appears that there is only a single byte TX data register available for the I2C peripherals.  I just wanted to make sure that I was not missing something, because this represents a pretty huge bottle-neck having to switch in/out of interrupt context for sending every single byte when using an interrupt driven I2C driver?  In our system we employ four I2C peripherals configured for the M-core, and attempting to service a single I2C device on each individual bus is extremely inefficient due to the single-byte HW data register.

On every other microprocessor I have every used (8-bit/16-bit/32-bit, many manufacturers) there has been at least an 8-byte HW FIFO on the I2C peripheral.  So I am asking if I am missing something in the datasheet, or if there is a way to increase the size of the HW data FIFO beyond a single byte?

thanks,

Jeremy

标签 (2)
标记 (4)
0 项奖励
回复
1 解答
1,495 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Jeremy

some i.MX processors like i.MX8QXP have LPI2C module with I2C FIFOs,

unfortunately i.MX7D I2C has not FIFOs according to sect.15.2 I2C Controller (I2C)

i.MX 7Dual Applications Processor Reference Manual

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,495 次查看
jeremym
Contributor IV

Thank you for the confirmation.

0 项奖励
回复
1,496 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Jeremy

some i.MX processors like i.MX8QXP have LPI2C module with I2C FIFOs,

unfortunately i.MX7D I2C has not FIFOs according to sect.15.2 I2C Controller (I2C)

i.MX 7Dual Applications Processor Reference Manual

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复