ads1298 盼回复
作者 yuxiang jiang 发表于 2013-10-16 22:24
你好: 我现在设计用的是ADS1298R,,电路原理图使用的是评估版推荐电路,自己设计的PCB,调试中出现了问题 1 针对ADS129 内部寄存器操作 可正确的写入和读出 2 测试内部信号(温度,test),得到的转换结果数据均不正常 3 将设计的PCB板上的AD1298管脚信号 与 评估版 做了对比测试,未发现异常 急阿 帮个忙 看看问题可能出现在那 北京有技术支持吗? 能否帮忙测测我的板子
作者 MichaelSheep 发表于 2013-10-16 22:42
您好, 能问下你测出来的数据不正常,是多少? 跳动很厉害还是很稳定? 还有就是除了温度和test,其他测试,例如输入个固定的直流电压,测出的值有误吗?还是只有温度和test信号有问题。
作者 yuxiang jiang 发表于 2013-10-17 0:39
你好:
1 收到的数据看不出规律
2 这一行是复位后读出的寄存器值 D2 06 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0F 00 00 00 00 00
3这一行是写入后读出的寄存器值(4个通道关电源 3个通道输入短路 1个通道为温度值)
D2 86 10 DC 03 84 81 81 81 01 01 01 04 00 00 00 00 00 00 00 0F 00 00 00 00 00
4 以下是多次读取的转换结果数据
C0 00 03 00 00 00 00 00 00 00 00 00 00 00 00 C2 F4 F5 9B 11 82 38 39 74 A0 A6 44
C0 00 03 00 00 00 00 00 00 00 00 00 00 00 00 C6 5D F7 98 51 E5 36 ED 32 A2 90 19
C0 00 03 00 00 00 00 00 00 00 00 00 00 00 00 C3 45 55 9A 04 82 37 3E 1C A0 05 32
C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C4 12 D2 97 DE FA 38 92 AB 9F 37 6C
C0 00 03 00 00 00 00 00 00 00 00 00 00 00 00 C6 D4 81 99 68 87 37 6E 91 9D 61 53
C0 00 03 00 00 00 00 00 00 00 00 00 00 00 00 C6 03 3D 97 FD 6D 37 ED D4 9F 1B F2
C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C8 1D 83 9E 07 55 36 23 05 A5 A4 B2
C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C8 43 44 9D 79 92 37 33 62 A2 39 F8
C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C5 84 E4 9F 32 BC 35 B3 BC A3 E9 F6
C0 00 03 00 00 00 00 00 00 00 00 00 00 00 00 C2 EA 22 97 06 96 38 6F 70 9D 7B F8
C0 00 03 00 00 00 00 00 00 00 00 00 00 00 00 C1 23 51 9D 0E 7B 37 52 21 A1 FB 12
C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C4 5B 41 9A 54 E8 36 6F BC A6 7D 6C
C0 00 03 00 00 00 00 00 00 00 00 00 00 00 00 C6 18 B4 97 F5 10 36 76 C7 A0 D8 D5
C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C9 6C D4 9C 42 1C 36 9D 89 A3 78 2F
C0 00 03 00 00 00 00 00 00 00 00 00 00 00 00 C4 48 E8 97 94 D7 38 CB 43 9F C4 F0
C0 00 03 00 00 00 00 00 00 00 00 00 00 00 00 C3 26 18 96 F9 D3 37 7E 2B A2 3F F0
C0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 C8 C8 B8 98 75 B1 38 64 ED 9E 8F F9
C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C7 66 F9 9E C8 5E 36 91 1D A2 17 CC
C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C5 5C 72 99 FB A8 37 1F 61 A1 26 B8
C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C6 61 1A 9E 6B BE 36 AF 0E A4 DF 4D
C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C5 54 F0 97 BD 37 38 73 D1 A0 49 D8
C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C6 1A 5C 97 C9 7B 36 E6 41 A1 73 F2
C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 CA 59 4E 99 B0 20 37 C3 CB 9F 93 EA
5 这一行是重新写入后并读出的寄存器值(8通道 TEST值)
D2 86 10 DC 03 65 65 65 65 15 15 15 15 00 00 00 00 00 00 00 3F 00 00 00 00 00
6 以下是多次读取的转换结果数据
C0 00 00 68 C3 A2 9C 46 3F 7F FF FF 80 00 00 B1 D1 6D 80 00 00 4F 46 88 80 00 00
C0 00 00 69 0B 8A 9A 55 7E 7F FF FF 80 00 00 B2 2F 91 80 00 00 4E F3 2B 80 00 00
C0 00 00 6A 62 68 98 1B 03 7F FF FF 80 00 00 B4 5D 6A 80 00 00 4F C9 7E 80 00 00
C0 00 00 68 B8 7E 98 DE 9E 7F FF FF 80 00 00 B4 02 5C 80 00 00 4F 18 40 80 00 00
C0 00 00 69 6E D7 9B A2 40 7F FF FF 80 00 00 B3 6A 82 80 00 00 4F DA D6 80 00 00
C0 00 00 69 9A B2 9A 31 5E 7F FF FF 80 00 00 B4 65 6A 80 00 00 4F 83 2E 80 00 00
C0 00 00 68 EB 56 9E 8C E5 7F FF FF 80 00 00 B1 AA DB 80 00 00 4F 42 04 80 00 00
C0 00 03 6A 2F 25 9B 29 B3 7F FF FF 80 00 00 AF 76 B1 80 00 00 4F BE 59 80 00 00
C0 00 03 68 E0 58 9D 51 ED 7F FF FF 80 00 00 B5 32 8F 80 00 00 4F 37 E3 80 00 00
C0 00 00 68 7D DD 9A 0C 0D 7F FF FF 80 00 00 B4 41 0F 80 00 00 4E A3 34 80 00 00
C0 00 00 69 90 50 98 BE BD 7F FF FF 80 00 00 B0 05 48 80 00 00 4F 22 1F 80 00 00
C0 00 00 68 92 9B 9A B5 5A 7F FF FF 80 00 00 B1 D2 69 80 00 00 4E 7F E1 80 00 00
C0 00 00 67 E9 56 9B 96 06 7F FF FF 80 00 00 B1 BE 48 80 00 00 4E AA 0A 80 00 00
C0 00 00 69 1E 0B 9B 12 EC 7F FF FF 80 00 00 AF B4 97 80 00 00 4E 8D 3C 80 00 00
C0 00 00 69 A0 31 9B DA D3 7F FF FF 80 00 00 B4 27 AC 80 00 00 4F 67 55 80 00 00
C0 00 00 69 DE BC 97 29 F9 7F FF FF 80 00 00 B3 37 0C 80 00 00 4F AF 92 80 00 00
C0 00 03 68 ED C8 99 CB 23 7F FF FF 80 00 00 B1 17 D9 80 00 00 4F 46 1D 80 00 00
7 这一行是重新写入后并读出的寄存器值(8通道 MVDD)
D2 86 10 DC 03 11 11 11 11 11 11 11 11 00 00 00 00 00 00 00 3F 00 00 00 00 00
8 以下是多次读取的转换结果数据
C0 00 03 69 24 F6 90 6C 96 7F FF FF 80 00 00 B0 C1 42 80 00 00 4F BC 04 80 00 00
C0 00 00 67 E7 3C 9B B1 8A 7F FF FF 80 00 00 B1 0A 1A 80 00 00 4D B8 DC 80 00 00
C0 00 03 6B 8E D4 8C 0D 1B 7F FF FF 80 00 00 AF F1 C6 80 00 00 51 14 B4 80 00 00
C0 00 03 6A BB 2D 8E FF 0D 7F FF FF 80 00 00 B0 99 0B 80 00 00 50 39 11 80 00 00
C0 00 00 69 E3 CA 8B 79 ED 7F FF FF 80 00 00 B0 62 52 80 00 00 4F D4 99 80 00 00
C0 00 00 6A CB D2 8E DD 65 7F FF FF 80 00 00 AF EC 38 80 00 00 51 0E 9B 80 00 00
C0 00 00 6A 43 50 92 97 0F 7F FF FF 80 00 00 B1 A8 E6 80 00 00 50 17 3D 80 00 00
C0 00 03 6A 40 74 92 34 3B 7F FF FF 80 00 00 B4 46 40 80 00 00 4F E7 A0 80 00 00
C0 00 03 68 8A 69 8E C9 3B 7F FF FF 80 00 00 B0 BF 6E 80 00 00 4E C2 47 80 00 00
C0 00 03 69 B8 37 8F A3 DA 7F FF FF 80 00 00 B0 17 6B 80 00 00 4F D9 98 80 00 00
C0 00 00 69 CC CC 92 1D 7A 7F FF FF 80 00 00 AE 82 75 80 00 00 50 6E BA 80 00 00
C0 00 00 6A 18 44 92 32 3D 7F FF FF 80 00 00 AE 78 D0 80 00 00 4F D5 FE 80 00 00
C0 00 00 66 E4 4E 94 16 25 7F FF FF 80 00 00 AF BD D5 80 00 00 4D 8E A7 80 00 00
9 程序在评估板上测试过,读出的信号是正常的
10 我的电路上1298 使用的为内基准, 上电复位后 VREFP管脚电压为-2.5v , 在读取测量过程中VREFP管脚电压为0v
11 E4管脚 手册上说接 (DGND) ADS1298RECG-FE上说接 (AGND) 我的PCB上 DGND 和 AGND 是分开的采用单点连接到一起, E4管脚连接到DGND
你好,
如您所说,程序在评估板上测试通过,所以基本可以先排除程序问题。
根据描述,您应该使用的是正负2.5V供模拟AVDD AVSS? 上电后VREFP由于内部buffer默认为不工作,所以Vrefp=AVSS=-2.5V.
但在您第三步,写入03h寄存器DC的时候,开启了bandgap的buffer,应该是会有-0.1V的电压的,而不是你测的0V。
方便的话,先写入03h值DC,将参考buffer打开,先不读数,测一下Vrefp是-0.1V还是0V? 我们一步一步往下排错。