This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/AM5716: access width to I2C registers

Genius 5785 points
Part Number: AM5716

Tool/software: TI-RTOS

Hi Experts,

I have a question about the access width to I2C registers.

TRM(SPRUHZ7H) has the following description.

CAUTION: The HS I2Ci registers are limited to 16-bit and 8-bit data accesses; 32-bit data access is not allowed and can corrupt register content.

But the latest CSL(PSDK-RTOSv5.2, PDKv1.0.13) has 32-bit access with HW_WR_REG32. Should I use 16-bit access with HW_WR_REG16?

C:\ti\pdk_am57xx_1_0_13\packages\ti\csl\src\ip\i2c\V2\priv\i2c.c

Regards,
Kzk