2014年11月11日 星期二

CC2541 I2C Slave Device

CC2541 Function Block



















CC2530 I2C implemented by GPIO

CC2530 I2C Pin Define
P0_0: IIC-SCL
P0_1: IIC-SDA 

CC2530 USART CMD

CMD_I2C_BYTE_WRITE (Success return 0x01Fail return 0x00)




CMD_ I2C_BYTE_READ (Success return 0x01Fail return 0x00)




CC2541Ex  I2C Pin define


















Circuit Diagram


























I2C Write/Read Operations









I2C Write
FEAAFFCC (Address0xFFWrite data0xCC)















I2C Read
FEBBFF ( Read address 0xFFRead data form slave device)




沒有留言:

張貼留言