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.

ADS1298: Internal Test Signal

Part Number: ADS1298

Hello,

I have been trying to implement the internal test signal of the ADS1298 but I am having issues with it.

1- My register codes for the internal signal generation:

[0x41, 0x00, 0x85]
[0x42, 0x00, 0x10]
[0x43, 0x00, 0xC8]
[0x45, 0x0B, 0x05]

2- The results I am getting:

Questions:

1- Why is the test signal only 0.1mV in amplitude? (If I am using the internal reference to 2.4V and gain 6)

1.1 - Why is the signal deviated from 0V?

2- Why is only channel 1 configured for the test signal? (The other channels don't have the correct signal)

3- The spikes I am gessing are the effect of corrupted data from the readings I am acquiring, since some times the DRDY signal goes low during one reading.

4- My internal noise measurements are also deviated from 0V, why is that?

Thank you very much in advance,

Best,

Sofia

----

I have valid readings of the devices ID, I have validated the check points of the circuit, followed the startup advices.

I have nothing connected to the analog input pins of the ADS1298.

I have verified my conversion code from this explanation:

e2e.ti.com/.../2856893

  • Hello Poster!

    Our support staff is taking time with their families for the Independence Day holiday here in the US.  It may be July 8th before we can get back to you with help on your query.  We apologize in advance for the delay and will get back to you as soon as possible.

  • Hello Sofia,

    Thank you for your post.

    Based on the register settings you provided, it looks like you are not writing to the CHnSET register addresses correctly. The second byte in the command represents the number of registers to write minus 1. So to write to all 8 channel registers, the second byte must be 0x07. The remaining bytes in the command must contain the value to be written for each register. To write "0x05" to all 8 channel registers, the correct command would be:

    0x45 0x07 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05.

    I also noticed that you appear to be missing data in some places. This can happen when a new sample is ready to read (indicated by the /DRDY falling edge), but you are still reading old data. Make sure your SCLK frequency is fast enough to read all channels of data plus the STATUS word in between consecutive /DRDY falling edges.

    As far as why the amplitude and offset look incorrect, we'd have to look at the raw ADC data (in hex or decimal format). Can you save ~500 samples to a text file for just one channel of data?

    Best regards,

  • Hello Ryan,

    Thank you for your reply.

    1. You were correct, I changed the registers and If started responding for the other channels With the test wave, but with different offsets. Just as an example in this image are channel 0 and 1.

    2. About the missing data and weird peaks I will check that (I didn't have time today to reconfigure that, I think that tomorrow I will be able to correct that and will update this thread)

    3. I have attached the hexadecimal and voltage convertion for one channel in the internal noise test mode and the test signal mode.

    Thank you very much in advance,

    Best,

    
                              
    
    2019-07-09 02:43:05.847133
      0.294590
    0.294590
    0.294304
    0.294876
    0.294352
    0.294971
    0.294924
    0.294209
    0.294352
    0.294971
    0.294161
    0.293970
    0.294018
    0.294399
    0.294733
    0.293541
    0.294495
    0.294256
    0.294733
    0.295162
    0.294209
    0.293016
    0.294971
    0.294924
    0.293779
    0.294018
    0.294971
    0.292349
    0.294161
    0.293827
    0.294304
    0.293589
    0.294971
    0.294685
    0.294113
    0.295782
    0.293160
    0.294399
    0.293160
    0.292349
    0.294924
    0.297022
    0.295019
    0.295258
    0.293589
    0.295782
    0.294495
    0.294828
    0.294161
    0.294590
    0.294971
    0.294161
    0.294733
    0.293398
    0.295496
    0.293970
    0.295496
    0.292921
    0.296640
    0.296450
    0.294447
    0.295734
    0.294828
    0.296402
    0.295448
    0.293541
    0.293636
    0.294209
    0.295925
    0.293827
    0.295687
    0.294971
    0.293779
    0.293636
    0.295830
    0.294256
    0.295925
    0.296879
    0.295353
    0.293875
    0.293875
    0.294638
    0.294209
    0.295544
    0.294971
    0.294113
    0.293875
    0.294828
    0.294399
    0.294590
    0.293589
    0.295734
    0.294113
    0.294733
    0.294638
    0.294352
    0.295210
    0.295305
    0.294447
    0.294399
    0.295448
    0.295639
    0.293350
    0.294495
    0.295496
    0.294256
    0.295210
    0.294733
    0.295162
    0.295353
    0.294542
    0.294113
    0.294256
    0.294304
    0.294352
    0.294352
    0.294924
    0.293684
    0.294971
    0.294685
    0.294781
    0.294066
    0.294876
    0.294256
    0.294685
    0.293922
    0.296021
    0.294399
    0.294018
    0.294638
    0.293875
    0.295353
    0.294495
    0.295210
    0.294209
    0.295591
    0.293827
    0.293398
    0.293922
    0.294256
    0.295830
    0.293303
    0.294066
    0.294733
    0.293875
    0.293827
    0.293016
    0.293112
    0.294876
    0.294495
    0.294733
    0.294590
    0.294590
    0.292969
    0.293303
    0.294495
    0.293922
    0.294685
    0.293446
    0.294066
    0.294018
    0.293684
    0.294542
    0.293827
    0.294876
    0.294018
    0.294924
    0.293207
    0.294066
    0.294590
    0.295639
    0.293922
    0.294685
    0.295258
    0.294876
    0.293636
    -3.125000
    0.294495
    0.292921
    0.295687
    0.293779
    0.295782
    0.294781
    0.294304
    0.294066
    0.294781
    0.293636
    0.293827
    0.295687
    0.295877
    0.294018
    0.294113
    0.294447
    0.294256
    0.295782
    0.293779
    0.293636
    0.293827
    0.294161
    0.294590
    0.294971
    0.294161
    0.295115
    0.295353
    0.294113
    0.294828
    0.296116
    0.293350
    0.295830
    0.295687
    0.294542
    0.294018
    0.294638
    0.294590
    0.295210
    0.293350
    0.293207
    0.295973
    0.294685
    0.295210
    0.293684
    0.293827
    0.293779
    0.294733
    0.293636
    0.293875
    0.294733
    0.295019
    0.293970
    0.296259
    0.294781
    0.293827
    0.295687
    0.294685
    0.295067
    0.295305
    0.293779
    0.293922
    0.295687
    0.293207
    0.294971
    0.294590
    0.295687
    0.295591
    0.294209
    0.292921
    0.294828
    0.295067
    0.293636
    0.292254
    0.294828
    0.294447
    0.293303
    0.295353
    0.295448
    0.295115
    0.294590
    0.295067
    0.295734
    0.294256
    0.294590
    0.294733
    0.295782
    0.294638
    0.293827
    0.294638
    0.293541
    0.294876
    0.295305
    5.000000
    0.295544
    0.294971
    0.295687
    0.294399
    0.294924
    0.295448
    0.294161
    0.294304
    0.294542
    0.294638
    0.293875
    0.295019
    0.294304
    0.294638
    0.294066
    0.295305
    0.295162
    0.294352
    0.294733
    0.294733
    0.294876
    0.294495
    0.294352
    0.294352
    0.295067
    0.292969
    0.293779
    0.294018
    0.294971
    0.294971
    0.295115
    0.294352
    0.294018
    0.293875
    0.295353
    0.295830
    0.293398
    0.293446
    0.294447
    0.293875
    0.294542
    0.294781
    0.294352
    0.293064
    0.295830
    0.294495
    0.294685
    0.294828
    0.294399
    0.294066
    0.294018
    0.294876
    0.294256
    0.294066
    0.293875
    0.293636
    0.293541
    0.295687
    0.294971
    0.294352
    0.294066
    0.294161
    0.293350
    0.295305
    0.293970
    0.293350
    0.294161
    0.293827
    0.294876
    0.293779
    0.292349
    0.293303
    0.294018
    0.294113
    0.294542
    0.294304
    0.295019
    0.295973
    0.294638
    0.292969
    0.294638
    0.294399
    0.294018
    0.294638
    0.294256
    0.294971
    0.295067
    0.294828
    0.295401
    0.293636
    0.294828
    0.295115
    0.294781
    0.294304
    0.294733
    0.294971
    0.294685
    0.294113
    0.293493
    0.293922
    0.294828
    0.295115
    0.293493
    0.293398
    0.293350
    0.294399
    0.295115
    0.294352
    0.294971
    0.295115
    0.293875
    0.294638
    0.294971
    0.294971
    0.294733
    0.294352
    0.294399
    0.294828
    0.295210
    0.295496
    0.293684
    0.294924
    0.294733
    0.294018
    0.295019
    0.295544
    0.295210
    0.293827
    0.295019
    0.293636
    0.294733
    0.295210
    0.295925
    0.294542
    0.293922
    0.293779
    0.294066
    0.295639
    0.294733
    0.295210
    0.294590
    0.294399
    0.295973
    0.296354
    0.293541
    0.294304
    0.295544
    0.295258
    0.293160
    0.294542
    0.293636
    0.294924
    0.295591
    0.294113
    0.294733
    0.294971
    0.295258
    0.295115
    0.295639
    0.295448
    0.293922
    0.295210
    0.294590
    0.293779
    0.292349
    0.293732
    0.294256
    0.295830
    0.294495
    0.294447
    0.295591
    0.294495
    0.295782
    0.294209
    0.295544
    0.036860
    0.295258
    0.293398
    0.293636
    0.294018
    0.293875
    0.295591
    0.295353
    0.294590
    0.295210
    0.294495
    0.294495
    0.293684
    0.293016
    0.295782
    0.294495
    0.295305
    0.294828
    0.295687
    0.294113
    0.294113
    0.294590
    0.295353
    0.293779
    0.293970
    0.293303
    0.294781
    0.293875
    0.295067
    0.295353
    0.295830
    0.295973
    0.295782
    0.295258
    0.295448
    0.294161
    0.292730
    0.294209
    0.295353
    0.293732
    0.293636
    0.293160
    0.294495
    0.294399
    0.295448
    0.294542
    0.294018
    0.293541
    0.000000
    0.293875
    0.295448
    0.293064
    0.294209
    0.295830
    0.294876
    
    
                              
    
    2019-07-09 02:43:05.859731
      0x1822
    0x1822
    0x181c
    0x1828
    0x181d
    0x182a
    0x1829
    0x181a
    0x181d
    0x182a
    0x1819
    0x1815
    0x1816
    0x181e
    0x1825
    0x180c
    0x1820
    0x181b
    0x1825
    0x182e
    0x181a
    0x1801
    0x182a
    0x1829
    0x1811
    0x1816
    0x182a
    0x17f3
    0x1819
    0x1812
    0x181c
    0x180d
    0x182a
    0x1824
    0x1818
    0x183b
    0x1804
    0x181e
    0x1804
    0x17f3
    0x1829
    0x1855
    0x182b
    0x1830
    0x180d
    0x183b
    0x1820
    0x1827
    0x1819
    0x1822
    0x182a
    0x1819
    0x1825
    0x1809
    0x1835
    0x1815
    0x1835
    0x17ff
    0x184d
    0x1849
    0x181f
    0x183a
    0x1827
    0x1848
    0x1834
    0x180c
    0x180e
    0x181a
    0x183e
    0x1812
    0x1839
    0x182a
    0x1811
    0x180e
    0x183c
    0x181b
    0x183e
    0x1852
    0x1832
    0x1813
    0x1813
    0x1823
    0x181a
    0x1836
    0x182a
    0x1818
    0x1813
    0x1827
    0x181e
    0x1822
    0x180d
    0x183a
    0x1818
    0x1825
    0x1823
    0x181d
    0x182f
    0x1831
    0x181f
    0x181e
    0x1834
    0x1838
    0x1808
    0x1820
    0x1835
    0x181b
    0x182f
    0x1825
    0x182e
    0x1832
    0x1821
    0x1818
    0x181b
    0x181c
    0x181d
    0x181d
    0x1829
    0x180f
    0x182a
    0x1824
    0x1826
    0x1817
    0x1828
    0x181b
    0x1824
    0x1814
    0x1840
    0x181e
    0x1816
    0x1823
    0x1813
    0x1832
    0x1820
    0x182f
    0x181a
    0x1837
    0x1812
    0x1809
    0x1814
    0x181b
    0x183c
    0x1807
    0x1817
    0x1825
    0x1813
    0x1812
    0x1801
    0x1803
    0x1828
    0x1820
    0x1825
    0x1822
    0x1822
    0x1800
    0x1807
    0x1820
    0x1814
    0x1824
    0x180a
    0x1817
    0x1816
    0x180f
    0x1821
    0x1812
    0x1828
    0x1816
    0x1829
    0x1805
    0x1817
    0x1822
    0x1838
    0x1814
    0x1824
    0x1830
    0x1828
    0x180e
    0xff0000
    0x1820
    0x17ff
    0x1839
    0x1811
    0x183b
    0x1826
    0x181c
    0x1817
    0x1826
    0x180e
    0x1812
    0x1839
    0x183d
    0x1816
    0x1818
    0x181f
    0x181b
    0x183b
    0x1811
    0x180e
    0x1812
    0x1819
    0x1822
    0x182a
    0x1819
    0x182d
    0x1832
    0x1818
    0x1827
    0x1842
    0x1808
    0x183c
    0x1839
    0x1821
    0x1816
    0x1823
    0x1822
    0x182f
    0x1808
    0x1805
    0x183f
    0x1824
    0x182f
    0x180f
    0x1812
    0x1811
    0x1825
    0x180e
    0x1813
    0x1825
    0x182b
    0x1815
    0x1845
    0x1826
    0x1812
    0x1839
    0x1824
    0x182c
    0x1831
    0x1811
    0x1814
    0x1839
    0x1805
    0x182a
    0x1822
    0x1839
    0x1837
    0x181a
    0x17ff
    0x1827
    0x182c
    0x180e
    0x17f1
    0x1827
    0x181f
    0x1807
    0x1832
    0x1834
    0x182d
    0x1822
    0x182c
    0x183a
    0x181b
    0x1822
    0x1825
    0x183b
    0x1823
    0x1812
    0x1823
    0x180c
    0x1828
    0x1831
    0x1ff80
    0x1836
    0x182a
    0x1839
    0x181e
    0x1829
    0x1834
    0x1819
    0x181c
    0x1821
    0x1823
    0x1813
    0x182b
    0x181c
    0x1823
    0x1817
    0x1831
    0x182e
    0x181d
    0x1825
    0x1825
    0x1828
    0x1820
    0x181d
    0x181d
    0x182c
    0x1800
    0x1811
    0x1816
    0x182a
    0x182a
    0x182d
    0x181d
    0x1816
    0x1813
    0x1832
    0x183c
    0x1809
    0x180a
    0x181f
    0x1813
    0x1821
    0x1826
    0x181d
    0x1802
    0x183c
    0x1820
    0x1824
    0x1827
    0x181e
    0x1817
    0x1816
    0x1828
    0x181b
    0x1817
    0x1813
    0x180e
    0x180c
    0x1839
    0x182a
    0x181d
    0x1817
    0x1819
    0x1808
    0x1831
    0x1815
    0x1808
    0x1819
    0x1812
    0x1828
    0x1811
    0x17f3
    0x1807
    0x1816
    0x1818
    0x1821
    0x181c
    0x182b
    0x183f
    0x1823
    0x1800
    0x1823
    0x181e
    0x1816
    0x1823
    0x181b
    0x182a
    0x182c
    0x1827
    0x1833
    0x180e
    0x1827
    0x182d
    0x1826
    0x181c
    0x1825
    0x182a
    0x1824
    0x1818
    0x180b
    0x1814
    0x1827
    0x182d
    0x180b
    0x1809
    0x1808
    0x181e
    0x182d
    0x181d
    0x182a
    0x182d
    0x1813
    0x1823
    0x182a
    0x182a
    0x1825
    0x181d
    0x181e
    0x1827
    0x182f
    0x1835
    0x180f
    0x1829
    0x1825
    0x1816
    0x182b
    0x1836
    0x182f
    0x1812
    0x182b
    0x180e
    0x1825
    0x182f
    0x183e
    0x1821
    0x1814
    0x1811
    0x1817
    0x1838
    0x1825
    0x182f
    0x1822
    0x181e
    0x183f
    0x1847
    0x180c
    0x181c
    0x1836
    0x1830
    0x1804
    0x1821
    0x180e
    0x1829
    0x1837
    0x1818
    0x1825
    0x182a
    0x1830
    0x182d
    0x1838
    0x1834
    0x1814
    0x182f
    0x1822
    0x1811
    0x17f3
    0x1810
    0x181b
    0x183c
    0x1820
    0x181f
    0x1837
    0x1820
    0x183b
    0x181a
    0x1836
    0x305
    0x1830
    0x1809
    0x180e
    0x1816
    0x1813
    0x1837
    0x1832
    0x1822
    0x182f
    0x1820
    0x1820
    0x180f
    0x1801
    0x183b
    0x1820
    0x1831
    0x1827
    0x1839
    0x1818
    0x1818
    0x1822
    0x1832
    0x1811
    0x1815
    0x1807
    0x1826
    0x1813
    0x182c
    0x1832
    0x183c
    0x183f
    0x183b
    0x1830
    0x1834
    0x1819
    0x17fb
    0x181a
    0x1832
    0x1810
    0x180e
    0x1804
    0x1820
    0x181e
    0x1834
    0x1821
    0x1816
    0x180c
    0x0
    0x1813
    0x1834
    0x1802
    0x181a
    0x183c
    0x1828
    
    
                              
    
    2019-07-09 02:49:49.484455
      0.134707
    0.134945
    0.134182
    0.135088
    0.135279
    0.134707
    0.134802
    0.135613
    0.134850
    0.135136
    0.134420
    0.134373
    0.134659
    0.134373
    0.134230
    0.135565
    0.134182
    0.134945
    0.135136
    0.134611
    0.134611
    0.134897
    0.134563
    0.134993
    0.134802
    0.134659
    0.134993
    0.135183
    0.134516
    0.134993
    0.135040
    0.134754
    0.135040
    0.134707
    0.134754
    0.134659
    0.134659
    0.134420
    0.134802
    0.134516
    0.134802
    0.134993
    0.134373
    0.135136
    0.135469
    0.135326
    0.133848
    0.134897
    0.135136
    0.134516
    0.134850
    0.134468
    0.134516
    0.134897
    0.134897
    0.134182
    0.134897
    0.135088
    0.134373
    0.134897
    0.134659
    0.134182
    0.134659
    0.134897
    0.135088
    0.134420
    0.134754
    0.134754
    0.134373
    0.134945
    0.135088
    0.134468
    0.134468
    0.134754
    0.134754
    0.134993
    0.133848
    0.135136
    0.134659
    0.134277
    0.134707
    0.134516
    0.134659
    0.134754
    0.134802
    0.134516
    0.134850
    0.135231
    0.134373
    0.134659
    0.135088
    0.134373
    0.134993
    0.134945
    0.134420
    0.134611
    0.134563
    0.134611
    0.134468
    0.135136
    -1.562500
    0.135183
    0.134563
    0.134707
    0.134754
    0.134993
    0.135088
    0.134373
    0.135422
    0.134182
    0.134754
    0.134277
    0.134182
    0.134850
    0.135183
    0.135136
    0.134993
    0.134993
    0.135374
    0.134277
    0.134611
    0.134754
    0.134754
    0.000000
    0.134754
    0.134707
    0.134563
    0.134516
    0.134993
    0.134373
    0.134516
    0.134277
    0.134563
    0.134754
    0.134516
    0.134373
    0.133991
    0.134325
    0.135279
    0.134707
    0.135136
    0.134802
    0.135040
    0.134420
    0.134420
    0.134420
    0.134039
    0.134563
    0.134993
    0.134516
    0.134325
    0.133657
    0.133801
    0.134754
    0.135088
    0.134707
    0.134373
    0.134563
    0.134277
    0.134659
    0.134516
    0.134754
    0.134850
    0.134230
    0.134707
    0.134468
    0.134420
    0.134659
    0.134468
    0.134611
    0.134707
    0.133801
    0.135374
    0.134468
    0.134516
    0.134850
    0.134659
    0.134707
    0.134754
    0.134420
    0.134993
    0.134563
    0.134325
    0.134373
    0.135231
    0.135183
    0.134850
    0.134325
    0.134611
    0.135279
    0.103998
    0.019217
    0.001335
    0.000572
    0.000286
    0.000143
    0.000668
    -0.000191
    -0.000429
    0.001240
    0.001097
    0.000191
    -0.000048
    0.000143
    0.000286
    0.000620
    0.000668
    0.000429
    0.000381
    0.000429
    0.000620
    0.000286
    0.000191
    0.000525
    0.000906
    0.000858
    -0.000143
    0.000286
    -0.000143
    0.000095
    0.000429
    -0.000572
    0.000429
    0.000715
    -0.000048
    0.000143
    0.000143
    -0.000048
    -0.000048
    0.000525
    0.000572
    0.000143
    0.000668
    0.000095
    0.001287
    -0.000668
    0.000668
    -0.000286
    0.001144
    0.000334
    0.000477
    0.000858
    0.000811
    0.000525
    -0.000572
    -0.000048
    0.000429
    0.001860
    0.000525
    -0.000095
    0.000286
    0.000954
    0.000858
    0.000286
    0.000095
    0.001097
    -0.000715
    0.000668
    0.000143
    -0.000191
    -0.000095
    -0.000811
    -0.000334
    0.000238
    0.000715
    0.000191
    0.000954
    0.000477
    0.000763
    0.000191
    -0.000191
    0.000095
    0.000191
    0.000000
    -0.000048
    0.000095
    0.000191
    -0.000763
    0.000715
    0.097609
    0.000858
    0.000572
    0.000238
    0.000525
    0.000668
    0.000429
    -0.000095
    -0.000048
    0.000334
    0.000906
    0.000620
    0.001287
    0.001001
    0.000906
    0.000525
    0.001383
    0.000286
    0.000429
    0.000429
    0.000477
    0.000381
    0.000858
    -0.000429
    0.000477
    0.000095
    -0.000191
    0.000191
    0.000525
    0.000763
    0.001335
    0.000143
    0.000668
    0.000334
    0.001240
    0.000381
    0.000048
    0.000381
    0.000143
    0.000763
    0.000715
    0.000620
    -0.000143
    0.000000
    0.000429
    0.000811
    0.000525
    0.000381
    0.000429
    0.000954
    0.000477
    0.000763
    -0.000143
    -0.000095
    0.000525
    0.000906
    0.000906
    -0.000191
    0.000525
    0.000095
    0.000763
    0.000429
    0.000381
    0.000668
    0.000143
    0.000095
    0.000191
    0.000620
    0.000191
    0.001335
    -0.000238
    0.000477
    0.000143
    0.000191
    0.000429
    0.000334
    0.001192
    -0.000525
    -0.000286
    0.000858
    0.000858
    0.000477
    0.000620
    0.001717
    0.000429
    -0.000334
    -0.000048
    0.000668
    -0.000525
    0.001478
    0.000048
    0.000286
    0.000429
    0.000525
    0.000143
    -0.000429
    0.000095
    0.000048
    -0.000191
    0.000143
    -0.000191
    -0.000811
    0.000191
    0.000715
    0.000381
    0.000048
    0.001144
    0.001574
    0.000525
    0.000906
    0.000525
    -0.000811
    0.000191
    -0.000334
    -0.001049
    0.000048
    -0.000191
    -0.000048
    -0.000238
    0.000620
    0.000381
    0.000238
    0.000715
    0.000763
    0.000906
    -0.000286
    0.000238
    -0.000238
    0.000191
    0.000620
    0.000429
    0.000381
    0.000381
    0.000858
    0.000381
    0.000143
    -0.000286
    0.000334
    0.000048
    0.000858
    0.001049
    0.000525
    0.000381
    -0.000095
    0.000381
    0.000858
    0.000000
    0.000000
    0.000668
    0.000715
    -0.000191
    0.000286
    0.000572
    -0.000191
    0.000381
    0.001097
    0.000334
    -0.000286
    0.000191
    -0.000286
    -0.000286
    -0.000191
    -0.000143
    0.000763
    -0.000048
    0.000286
    0.000143
    0.000668
    0.000811
    0.000381
    0.000525
    0.000620
    0.043392
    0.134516
    0.135374
    0.134993
    0.134134
    0.134230
    0.135136
    0.135374
    0.134850
    0.134754
    0.135565
    0.134707
    0.134850
    0.134325
    0.134945
    0.134850
    0.134659
    0.134802
    0.135565
    0.134897
    0.134754
    0.134468
    0.134707
    0.134802
    0.134754
    0.134468
    0.134420
    0.134468
    0.134754
    0.134993
    0.134420
    0.134897
    0.134850
    0.134277
    0.134850
    0.134420
    0.134182
    0.135088
    0.135517
    0.134373
    0.134897
    0.134993
    0.134897
    0.134563
    0.134754
    0.134850
    0.134182
    0.134373
    0.135469
    
    
                              
    
    2019-07-09 02:49:49.495454
      0xb09
    0xb0e
    0xafe
    0xb11
    0xb15
    0xb09
    0xb0b
    0xb1c
    0xb0c
    0xb12
    0xb03
    0xb02
    0xb08
    0xb02
    0xaff
    0xb1b
    0xafe
    0xb0e
    0xb12
    0xb07
    0xb07
    0xb0d
    0xb06
    0xb0f
    0xb0b
    0xb08
    0xb0f
    0xb13
    0xb05
    0xb0f
    0xb10
    0xb0a
    0xb10
    0xb09
    0xb0a
    0xb08
    0xb08
    0xb03
    0xb0b
    0xb05
    0xb0b
    0xb0f
    0xb02
    0xb12
    0xb19
    0xb16
    0xaf7
    0xb0d
    0xb12
    0xb05
    0xb0c
    0xb04
    0xb05
    0xb0d
    0xb0d
    0xafe
    0xb0d
    0xb11
    0xb02
    0xb0d
    0xb08
    0xafe
    0xb08
    0xb0d
    0xb11
    0xb03
    0xb0a
    0xb0a
    0xb02
    0xb0e
    0xb11
    0xb04
    0xb04
    0xb0a
    0xb0a
    0xb0f
    0xaf7
    0xb12
    0xb08
    0xb00
    0xb09
    0xb05
    0xb08
    0xb0a
    0xb0b
    0xb05
    0xb0c
    0xb14
    0xb02
    0xb08
    0xb11
    0xb02
    0xb0f
    0xb0e
    0xb03
    0xb07
    0xb06
    0xb07
    0xb04
    0xb12
    0xff8000
    0xb13
    0xb06
    0xb09
    0xb0a
    0xb0f
    0xb11
    0xb02
    0xb18
    0xafe
    0xb0a
    0xb00
    0xafe
    0xb0c
    0xb13
    0xb12
    0xb0f
    0xb0f
    0xb17
    0xb00
    0xb07
    0xb0a
    0xb0a
    0x0
    0xb0a
    0xb09
    0xb06
    0xb05
    0xb0f
    0xb02
    0xb05
    0xb00
    0xb06
    0xb0a
    0xb05
    0xb02
    0xafa
    0xb01
    0xb15
    0xb09
    0xb12
    0xb0b
    0xb10
    0xb03
    0xb03
    0xb03
    0xafb
    0xb06
    0xb0f
    0xb05
    0xb01
    0xaf3
    0xaf6
    0xb0a
    0xb11
    0xb09
    0xb02
    0xb06
    0xb00
    0xb08
    0xb05
    0xb0a
    0xb0c
    0xaff
    0xb09
    0xb04
    0xb03
    0xb08
    0xb04
    0xb07
    0xb09
    0xaf6
    0xb17
    0xb04
    0xb05
    0xb0c
    0xb08
    0xb09
    0xb0a
    0xb03
    0xb0f
    0xb06
    0xb01
    0xb02
    0xb14
    0xb13
    0xb0c
    0xb01
    0xb07
    0xb15
    0x885
    0x193
    0x1c
    0xc
    0x6
    0x3
    0xe
    0xfffffc
    0xfffff7
    0x1a
    0x17
    0x4
    0xffffff
    0x3
    0x6
    0xd
    0xe
    0x9
    0x8
    0x9
    0xd
    0x6
    0x4
    0xb
    0x13
    0x12
    0xfffffd
    0x6
    0xfffffd
    0x2
    0x9
    0xfffff4
    0x9
    0xf
    0xffffff
    0x3
    0x3
    0xffffff
    0xffffff
    0xb
    0xc
    0x3
    0xe
    0x2
    0x1b
    0xfffff2
    0xe
    0xfffffa
    0x18
    0x7
    0xa
    0x12
    0x11
    0xb
    0xfffff4
    0xffffff
    0x9
    0x27
    0xb
    0xfffffe
    0x6
    0x14
    0x12
    0x6
    0x2
    0x17
    0xfffff1
    0xe
    0x3
    0xfffffc
    0xfffffe
    0xffffef
    0xfffff9
    0x5
    0xf
    0x4
    0x14
    0xa
    0x10
    0x4
    0xfffffc
    0x2
    0x4
    0x0
    0xffffff
    0x2
    0x4
    0xfffff0
    0xf
    0x7ff
    0x12
    0xc
    0x5
    0xb
    0xe
    0x9
    0xfffffe
    0xffffff
    0x7
    0x13
    0xd
    0x1b
    0x15
    0x13
    0xb
    0x1d
    0x6
    0x9
    0x9
    0xa
    0x8
    0x12
    0xfffff7
    0xa
    0x2
    0xfffffc
    0x4
    0xb
    0x10
    0x1c
    0x3
    0xe
    0x7
    0x1a
    0x8
    0x1
    0x8
    0x3
    0x10
    0xf
    0xd
    0xfffffd
    0x0
    0x9
    0x11
    0xb
    0x8
    0x9
    0x14
    0xa
    0x10
    0xfffffd
    0xfffffe
    0xb
    0x13
    0x13
    0xfffffc
    0xb
    0x2
    0x10
    0x9
    0x8
    0xe
    0x3
    0x2
    0x4
    0xd
    0x4
    0x1c
    0xfffffb
    0xa
    0x3
    0x4
    0x9
    0x7
    0x19
    0xfffff5
    0xfffffa
    0x12
    0x12
    0xa
    0xd
    0x24
    0x9
    0xfffff9
    0xffffff
    0xe
    0xfffff5
    0x1f
    0x1
    0x6
    0x9
    0xb
    0x3
    0xfffff7
    0x2
    0x1
    0xfffffc
    0x3
    0xfffffc
    0xffffef
    0x4
    0xf
    0x8
    0x1
    0x18
    0x21
    0xb
    0x13
    0xb
    0xffffef
    0x4
    0xfffff9
    0xffffea
    0x1
    0xfffffc
    0xffffff
    0xfffffb
    0xd
    0x8
    0x5
    0xf
    0x10
    0x13
    0xfffffa
    0x5
    0xfffffb
    0x4
    0xd
    0x9
    0x8
    0x8
    0x12
    0x8
    0x3
    0xfffffa
    0x7
    0x1
    0x12
    0x16
    0xb
    0x8
    0xfffffe
    0x8
    0x12
    0x0
    0x0
    0xe
    0xf
    0xfffffc
    0x6
    0xc
    0xfffffc
    0x8
    0x17
    0x7
    0xfffffa
    0x4
    0xfffffa
    0xfffffa
    0xfffffc
    0xfffffd
    0x10
    0xffffff
    0x6
    0x3
    0xe
    0x11
    0x8
    0xb
    0xd
    0x38e
    0xb05
    0xb17
    0xb0f
    0xafd
    0xaff
    0xb12
    0xb17
    0xb0c
    0xb0a
    0xb1b
    0xb09
    0xb0c
    0xb01
    0xb0e
    0xb0c
    0xb08
    0xb0b
    0xb1b
    0xb0d
    0xb0a
    0xb04
    0xb09
    0xb0b
    0xb0a
    0xb04
    0xb03
    0xb04
    0xb0a
    0xb0f
    0xb03
    0xb0d
    0xb0c
    0xb00
    0xb0c
    0xb03
    0xafe
    0xb11
    0xb1a
    0xb02
    0xb0d
    0xb0f
    0xb0d
    0xb06
    0xb0a
    0xb0c
    0xafe
    0xb02
    0xb19
    
    Sofia

  • Hello Sofia,

    I was able to convert the raw data files (HEX format) and plot the results. The data and waveforms looks the same as what you provided.

    Are you certain this is how the raw data is coming out of the ADS1298? Are you by chance truncating or shifting the data somehow in memory? If you multiply the test signal data by a factor of 8 (i.e. bit-shift the data to the left 3 places), you achieve a signal from 0 to 1 mV (ignoring the spikes from misreading samples). This seems to correct the amplitude for the positive half of the test signal, but the negative half is still close to 0 V. It should reach -1 mV on the negative half of the signal (i.e. amplitude should be 2 mVpp).

    Best regards,

  • Hello Ryan,

    Thank you very much for your response.

    An example of some raw data is this:

    [192, 0, 0, 0, 10, 249, 255, 254, 231, 0, 15, 124, 255, 242, 159, 255, 246, 74, 0, 15, 86, 0, 12, 2, 0, 18, 101] --> So the numbers are in decimal

    The 24bit results for each channel are:

    0xaf9
    0xfffee7
    0xf7c
    0xfff29f
    0xfff64a
    0xf56
    0xc02
    0x1265

    Which are then converted to volts as you verified in the previous message. 

    So I don't see any shifting or truncation. Since the amplitude ranges differ from channel to channel (image in the previous post) is it possible that this is due to the test pace pins being connected (Problem identified in here ?

    Also, you say about the 2mVpp signal. Shouldn't it be 1mVpp? As Vref / 2400 = ( Vrefp-Vrefn )/2400 and  Vrefp-Vrefn = 2.4 as stated in table 7.3 Recommended Operating Conditions

    Thank you very much, your input has been very helpfull,

    Best,

    Sofia

  • Hi Sofia,

    The test signal amplitude described in the CONFIG2 register table is the peak amplitude, not peak-to-peak. This signal is connected to the PGA inputs, so the ADC will actually convert the 1-mVp test signal multiplied by the PGA gain.

    For example, please see the plot below taken from the ADS1298ECGFE-PDK. I've configured Channels 1-7 to use the internal test signal with 1 mV amplitude. Each channel is configured for a different gain (1, 2, 3, 4, 6, 8, 12 V/V, in that order). Clearly there is some offset on some channels, but the peak-to-peak amplitude is correct.

    As a side note - when I converted the raw data to Output (mV), I was using an LSB size of 47.68 nV. This was calculated as 2xVREF / Gain / (2^24-1). Therefore, the Output (mV) was being referred back to the input. The output-referred results are shown below.

    Regarding the related post you found, can you tell me how the TEST_PACE_OUT pins are connected in your circuit?

    Best regards,

  • Hello Ryan,

    The TEST_PACE_OUT pins at this point are connected to AVDD (3.3V) - even though they are not in this schematic.

    In the attachments are prints of the schematic I have mounted. (The resistors and capacitors to the left are not mounted, and no signals are being input at the analog terminals). DVDD is 1.8V.

    Thank you very much in advance,

    Best,

    Sofia