Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

RTOS/AM5716: access width to I2C registers

$
0
0

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


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>