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.

关于DM6437的I2C模块



1、如图所示,I2C模块说明文档里说预分频模块时钟频率需介于6.7-13.3MHz之间,

      

        而EVM板板级支持库里的初始化却将预分频因子设为13,如此预分频模块时钟为27M/13,不在要求范围内,是哪里的问题?

        

2、我将该初始化代码嵌入到自己的程序中来对I2C模块进行初始化,修改其中的ICPSC、ICCLKL、ICCLKH数值,使其时钟速度成倍变大或变小,测试

      Int16 EVMDM6437_I2C_write( Uint16 i2c_addr, Uint8* data, Uint16 len )和Int16 EVMDM6437_I2C_read( Uint16 i2c_addr, Uint8* data, Uint16 len )

      用CCS3.3的profile工具查看它们的执行时钟数目并不改变,说明对模块的初始化并没有生效,这又是为什么呢?如何才能有效果呢?