您好,
在通过I2C和FDC2214通讯的时候发现会一直卡在写CONFIG 这个寄存器上,没有应答,请问会是什么原因呢?
可以通过I2C 获取从机2214的ID,写其他寄存器的时候也没有问题,就是写CONFIG 这个寄存器不行。同样的寄存器设置,在基于arduino的平台上可以流程运行,测试过硬件没有问题,可以正常输出信号。
#define FDC2214_CONFIG 0x1A
write16FDC(FDC2214_CONFIG, 0x1C81); // 使用内部晶振
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好,我想是不是和bit11的配置有关。
因为您配置的bit11=1, low power mode。将此位改为0,看起来是能正确读取到电容数据,
