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.

ADS124S08EVM: How to used Individual PGA Gain each channels

Part Number: ADS124S08EVM
Other Parts Discussed in Thread: ADS124S08, , MSP-EXP432E401Y, SYSCONFIG, MSP432E401Y

Hello,

I have 2 question regarding ADS124S08 ADC.

1. My application may be required to different PGA gain for each channels but as per the datasheet ADS124S08 ADC only have one PGA. So for fulfil application  requirement, Can i configure PGA gain for each channels read in the run time? 

i.e Channel 1 required PGA is 1 and Channel 2 required PGA is 4 and Channel 3 required PGA is 8.  When i read Channel 1, set PGA gain is 1 and in run time set 4 PGA gain for reading Channel no. 2.

2. We order ADS124S08EVM board, so in this board can i modify software as per the my requirement and which debugger is required to firmware update in the ADS124S08EVM board? 

  • Hi Rahul Gandhi,

    Welcome to the E2E forum!  

    1. My application may be required to different PGA gain for each channels but as per the datasheet ADS124S08 ADC only have one PGA. So for fulfil application  requirement, Can i configure PGA gain for each channels read in the run time? 

    i.e Channel 1 required PGA is 1 and Channel 2 required PGA is 4 and Channel 3 required PGA is 8.  When i read Channel 1, set PGA gain is 1 and in run time set 4 PGA gain for reading Channel no. 2.

    The ADS124S08 has a single ADC/PGA with a mux in front.  So to utilize the various input combinations you would change the register settings prior to the start of each conversion following the mux/PGA configuration change.  Changing the mux and PGA settings will automatically restart a new conversion if the device is already in conversion mode.  As the SPI communication is full-duplex, it is possible to write the new configuration at the same time as reading the conversion data result of the previous conversion.

    2. We order ADS124S08EVM board, so in this board can i modify software as per the my requirement and which debugger is required to firmware update in the ADS124S08EVM board? 

    Unfortunately the ADS124S08EVM is not a development platform but rather a demonstration of how the device works with various sensor input.  The software and firmware are a special combination which would not normally be used in an actual system but rather is designed to a specific task.  This code combination would not be helpful to you in an end application so we do not provide the source code for modification.

    However, the communication signals  are provided at J3 and you can provide microcontroller connections at this connector.  To disable communication from the onboard processor, install a jumper at location JP1 which will hold the processor in a reset state and disconnect the bidirectional level shifters from the J3 connector.  You can still power the board via the USB connector at J1.  The EVM user's guide show the required interface connections in section 3.2.3 in Table 8.

    So you can use whatever microcontroller/debugger platform you wish to use by using this method.  For a TI solution we would recommend using the MSP-EXP432E401Y LaunchPad and debugger platform with the Code Composer Studio (CCS) IDE.  Also, there is ADS124S08 example C code available to help get started.

    Best regards,

    Bob B

  • Thank you Bob for your valuable Response. 

    Can you suggest which debugger is used with CCS IDE for ADS124S08EVM?

  • Can you suggest which debugger is used with CCS IDE for ADS124S08EVM?

  • Hi Rahul Gandhi,

    The LaunchPad I recommended earlier contain both the microcontroller and the debugger.  I do not recommend using the onboard micro as a development platform.  If you do so you are on your own and will not receive support as it is outside of the intended operation of the EVM.  The toolset for that micro is not user friendly. 

    The MSP432E401Y LaunchPad can use the SimpleLink library for CCS which allows you to use Sysconfig within the CCS project to easily setup peripherals and control of GPIO. 

    Also, it is cheaper to buy the LaunchPad as opposed to just buying the debugger by itself.

    Best regards,

    Bob B

  • Hi Bob,

    Thank you for suggestion.