2014年4月2日 星期三

CC2530 8051 SPI Master and Slave data transceiver

CC2530 8051 SPI Master and Slave data transceiver

Circuit Diagram


USART Command Format Define

















CC2530 Slave Device Default Data






SPI Write / Read Command Format Define


Get Data 0xAA to generated clock for SPI slave device return data

Error Handler
SUCCESS return 0x01
FAIL return 0x00
CHECKSUM ERR return 0xFF

1. USART SPI Read Command - Read SPI slave device default data



2. USART SPI Write Command - Write data to SPI slave device 


















3. USART SPI Read Command - Confirm the write data








沒有留言:

張貼留言