目前是使用TMS320C55XXCSL-LOWPWR-03.06.00.01-Setup.exe 安装了C5500相关的例程代码,c55_csl_3.06。现在想验证I2C读写是否正常,初始化正常,写失败,晶振频率设置为12.288。 循环进行写操作,示波器测量I2C_SCL,I2C_SDA管脚,一个为高电平,一个为低电平,无时钟信号,想请问一下是不是什么配置有问题?
log打印如下:
I2C CODEC CONFIGURING IN POLLED MODE TEST!
I2C Write Failed!!
Read Write Buffers Don't Match for Register:0 with Value:0
CSL_testRegister Failed!!
I2C Write Failed!!
Read Write Buffers Don't Match for Register:65 with Value:81
CSL_testRegister Failed
I2C Write Failed!!
Read Write Buffers Don't Match for Register:66 with Value:99
CSL_testRegister Failed
I2C Write Failed!!
Read Write Buffers Don't Match for Register:0 with Value:1
CSL_testRegister Failed!!
I2C Write Failed!!
Read Write Buffers Don't Match for Register:51 with Value:40
CSL_testRegister Failed!!
I2C Write Failed!!
Read Write Buffers Don't Match for Register:52 with Value:60
CSL_testRegister Failed!!
I2C Write Failed!!
Read Write Buffers Don't Match for Register:0 with Value:0
CSL_testRegister Failed!!
I2C Write Failed!!
Read Write Buffers Don't Match for Register:65 with Value:81
CSL_testRegister Failed
I2C Write Failed!!
Read Write Buffers Don't Match for Register:66 with Value:99
CSL_testRegister Failed
I2C Write Failed!!
Read Write Buffers Don't Match for Register:0 with Value:1
CSL_testRegister Failed!!
Nancy Wang:
用BSL里面的i2c例程测试一下。
support.spectrumdigital.com/…/
东东_Donny:
回复 Nancy Wang:
是TEST CODE吗?
Nancy Wang:
回复 东东_Donny:
是的。
东东_Donny:
回复 Nancy Wang:
如下图所示,导入I2C工程并编译,报如下错误。
Nancy Wang:
回复 东东_Donny:
我印象中cslvc5505也要导入workspace,BSL里面有。
东东_Donny:
回复 Nancy Wang:
我现在用的是CCS6.1.3 这个具体要怎么操作呢?或者有CCS6.1.3版本的demo吗?
Nancy Wang:
回复 东东_Donny:
跟导入上面的工程一样的,导入不了吗?
东东_Donny:
回复 Nancy Wang:
正常导入cslVC5505工程,可以正常编译,但是Debug提示如下错误 硬件使用其他代码可以正常调试 芯片使用的是C5535 ,但是项目对应cmd文件为C5505,是否需要修改
Nancy Wang:
回复 东东_Donny:
我用CCSV7直接导入编译的没问题。