用單片機(jī)給ch375b發(fā)送CHECK_EXIST命令時(shí),輸出數(shù)據(jù)沒(méi)有按位取反,還是輸出原來(lái)的值。接下來(lái)該怎么測(cè)試? 還有GET-IC-VER沒(méi)有返回版本號(hào)
測(cè)試如下: #define xWriteCH375Cmd( c ) { CH375_CMD_PORT = ( c );} #define xWriteCH375Data( c ) { CH375_DAT_PORT = ( c );} xWriteCH375Cmd(0x05); mDelaymS(40); xWriteCH375Cmd(0x01); i=xReadCH375Data( ); xWriteCH375Cmd(0x06); xWriteCH375Data(0xa0); xWriteCH375Cmd(0x06); i=xReadCH375Data();
望請(qǐng)教該如何查找錯(cuò)誤?