用单片机给ch375b发送CHECK_EXIST命令时,输出数据没有按位取反,还是输出原来的值。接下来该怎么测试? 还有GET-IC-VER没有返回版本号
测试如下: #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();
望请教该如何查找错误?