csr8670 硬件i2c如何使用
如题,上手3周,由于周围器件是使用i2c协议进行数据传输,手册里关于i2c的介绍几乎没有,如图在i2c介绍部分则提示联系官方,:Q
请问各位,
1、硬件i2c有没有引脚等限制,我打算先画pcb然后再研究如何配置;
2、i2c基本使用流程是什么样子的。
用搜索I2C吧有个专门的文件说这个 不是有个模拟的i2c mupro 发表于 2018-3-29 00:34
用搜索I2C吧有个专门的文件说这个
能明示吗,不懂你的意思:handshake tzf520 发表于 2018-3-29 08:35
不是有个模拟的i2c
如果有硬件i2c,肯定是更好,可是资料有限 硬件i2c好像要买License tzf520 发表于 2018-3-29 15:54
硬件i2c好像要买License
消息可靠吗? wufeijian 发表于 2018-3-29 15:51
能明示吗,不懂你的意思
论坛搜索呀
http://www.52bluetooth.com/forum.php?mod=viewthread&tid=5353&highlight=i2c wufeijian 发表于 2018-3-29 15:55
消息可靠吗?
具体要和代理商联系,一直用着模拟的 自己看看i2c.h,注释写得还行
/*! @file i2c.h @brief Access to the i2c bus
**
**
BlueCore can support one master i2c interface.
\note
I2C PIOs in BlueCore are configured with PSKEY_I2C_SDA_PIO & PSKEY_I2C_SCL_PIO if PS storage is not I2C EEPROM. The default value of I2C PIOs are defined in device datasheet. The BlueCore acts as the sole bus master. The speed of the bus (standard mode, i.e. up to 100kHz or fast mode, i.e. up to 400kHz) is configured with PSKEY_I2C_CONFIG.
\par
Only 7bit slave addresses are explicitly supported. However, 10bit addresses can be used by splitting the 10bit address between the slave address (11110xx) and first data byte as defined by the I2C specification.
\par
Use of the I2C bus requires pull-up resistors connected to the respective PIOs. Details of how to choose such resistors can be found in the I2C-Bus Specification, and recommended values for a typical design are listed in the BlueCore databooks.
*/
页:
[1]
2