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.

ADS1292RECG-FE: Question regarding registers RESP, RESP1, RESP2

Part Number: ADS1292RECG-FE
Other Parts Discussed in Thread: ADS1292R

Hello Ti Engineers,

My task is to build a LabVIEW style API for the evaluation board, intended for internal use (it's a project in university). My starting point was to be able  to read out/write all registers. That's working fine, but there's one thing I don't understand:

The datasheet for the ADS ( www.ti.com/.../ads1292.pdf ) is telling me on page 48, that the RESP1 register is only usable on the 1292R. I've taken a look into the source of the evaluation program and what I can see, is that under "Main App Files/Controls/Register TypeDefs/" are 3 typedef files for the RESP registers:

1292R_RESP.ctl, 1292_RESP2.ctl and 1292_RESP1.ctl. 

My interpretation of the datasheet is, that on non-ADS1292R chips this register should always contain 02h. But if I look into your 1292_RESP1.ctl- file, I can see options for demodulation, modulation, phase and resp control (everything here will be set to disabled then, it's only a typedef, sure) and in the 1292R_RESP.ctl- file I can see a point "VREF" which isn't mentioned in the datasheet (it should be in the RESP2 register, BIT1), but then, the RESP2 register doesn't have a setting for the phase which is mentioned in the 1292R_RESP.ctl file (although with far less options).

I figured out, that the 1292R_RESP.ctl probably has to be filled with data from RESP1 and RESP2 (?), but then again, why are there only 8 options for the phase even though the datasheet mentions 16 Options? And why does the 1292_RESP1.ctl have so many options for the phase, though according to the datasheet there shouldn't be any? These disagreements between datasheet and evaluation software are confusing me.

I guess I'm stuck at this point, mybe I'm just understanding something wrong. I tend to stick to what's written in the datasheet (so not reading that register except the ADS detected is an ADS1292R, and in that case read both RESP registers to fill out the contents of one typedef), but it would be nice to have that confirmed.

With best regards

Manuel

  • Hello Manuel,

    Thanks for your interest in our ADS1292R!

    For starters, I should explain that we used the same source code for both the 'R' and non-'R' versions of the ADS1292ECGFE-PDK. The GUI detects which version is installed on our EVM and enables/disables the appropriate register settings for the user.

    Frankly - I would not rely on the EVM source code as a good example of how you should write your firmware. If you have specific questions about how to configure the device register settings based on your project application, I can clarify that for you or review the register settings you plan to use.

    For starters, there are only 8 phase options for the 64kHz RESP_CLK frequency. However, you are correct that there should be 16 options for the 32kHz RESP_CLK frequency.

    The "VREF" that is mentioned in the RESP2 typedef is actually referring to the common-mode voltage setting for the internal BIAS amplifier.

    Best Regards,

  • Hello Ryan,

    thank you for explaining!

    So, because I'm only working with the ADS1292R (for now), writing RESP1 for example with 00010010b = 18d and writing RESP2 with 10000011b =  131d would cause the controller to operate with the following settings:

    • Resp. demod. off
    • Resp. mod. off
    • Phase 45°
    • internal clock for resp. control
    • Calibration on
    • Respiration control frequency = 32kHz
    • RLDREF = internally generated

    For non- ADS1292R- devices, RESP1 would always have to be 02h, so no (de)modulation, no Phase and internal resp. control, did I understand that corectly?

    Best Regards,

    Manuel Stenger

  • Hi Manuel,

    When you use ADS1292R, are you using Channel 1 to measure respiration or ECG? The Phase setting is meaningless if you have the modulation and demodulation disabled. If you wish to measure respiration, then you must enable bits 7 and 6: RESP1 = 0xD2 (11010010b).

    Best Regards,
  • Hi Ryan,

    I'm not measuring anything yet, I'm just working on a configuration- vi right now.
    I got somehow confused by the example- vi you provided me, I think if I stick to the datasheet now, the project should be no problem.
    But thank you again for your quick support!

    Best Regards,

    Manuel Stenger