一、I2C的协议这里就不赘述了,随便搜一下就可以了解。
二、I2C的初始化
1.Enable I2C clock
configure the PSC register(if it is driven by PSC)PSC相关说明可以查看手册
2. Configure the PinMultiplexing registers
3. Place I2C in reset
set IRS =0 in ICMDR register
4.Configure the peripheral clock operation frequency(ICPSC)
NOTE:the frequency should be between 6.7 and 13.3MHz

本文介绍了如何在TI C6748 DSP上配置和使用I2C外设,包括I2C的初始化步骤、主模式下发送和接收数据的配置方法,详细阐述了每个步骤的寄存器设置和操作流程。
最低0.47元/天 解锁文章
5596

被折叠的 条评论
为什么被折叠?



