大家好,又见面了,我是你们的朋友全栈君。
Other Parts Discussed in Thread:LDC1614, LDC1314, LDC1614EVM
求教一下各位前辈,硬件是用的LDC1614的评估板,ch0和ch1上接了两个线圈,并联的电容为100pF,器件ID和装配ID读出来为0x3055和0x5449,和手册上的一致,而且我写寄存器再读出来数据都是对的,排除了软件驱动上的问题,现在可能是配置上有哪里不对,或者芯片有问题(这个我拆换过IC),麻烦各位前辈指导下,谢啦!
下面是我的LDC1614的配置:
Ldc1614WriteRes(0x08,0x04D6);
Ldc1614WriteRes(0x09,0x04D6);
Ldc1614WriteRes(0x0A,0x04D6);
Ldc1614WriteRes(0x0B,0x04D6);
Ldc1614WriteRes(0x0C,0x0000);
Ldc1614WriteRes(0x0D,0x0000);
Ldc1614WriteRes(0x0E,0x0000);
Ldc1614WriteRes(0x0F,0x0000);
Ldc1614WriteRes(0x10,0x0400);
Ldc1614WriteRes(0x11,0x0400);
Ldc1614WriteRes(0x12,0x0400);
Ldc1614WriteRes(0x13,0x0400);
Ldc1614WriteRes(0x14,0x1002);
Ldc1614WriteRes(0x15,0x1002);
Ldc1614WriteRes(0x16,0x1002);
Ldc1614WriteRes(0x17,0x1002);
Ldc1614WriteRes(0x19,0x0000);
Ldc1614WriteRes(0x1B,0X8007);
Ldc1614WriteRes(0x1E,0x9000);
Ldc1614WriteRes(0x1F,0x9000);
Ldc1614WriteRes(0x20,0x9000);
Ldc1614WriteRes(0x21,0x9000);
Ldc1614WriteRes(0x1A,0x1601);
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/133935.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...