CYAT81688如何切换模式
CYAT81688如何切換模式
狀態機
Mode Change Timing Diagram
舉例
現在CYAT81688芯片處于 System information,我想切換到Operation Mode
如何做?(7-bit I2C slave address of 0x24)((using synchronous level
handshaking)
(wait for communications interrupt)
w 24 00
r 24 x x x x x x x x ; read 8 bytes
w 24 00 90 ; sys info mode and toggle bit
(wait for communications interrupt)
r 24 x x x x x x x x ; read 8 bytes
w 24 00 10 ; sys info mode and toggle bit
(wait for communications interrupt)
w 24 00 88 ; operating mode and toggle bit
(before writing again, wait at least T(refresh); for new data, wait for the communications interrupt)
現在CYAT81688芯片處于 System information,我想切換到Operation Mode
如何做?(7-bit I2C slave address of 0x24)((using asynchronous level
handshaking)
(wait for communications interrupt)
w 24 00
r 24 x x x x x x x x ; read 8 bytes
(wait for communications interrupt)
r 24 x x x x x x x x ; read 8 bytes
w 24 00 18 ; change to sysInfo mode
總結
以上是生活随笔為你收集整理的CYAT81688如何切换模式的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: quartz 取消任务的正确做法
- 下一篇: 测试工程师相亲:29岁年薪50w,竟找不