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.

ADS1258: Nucleo G071RB & RS485 & I2C

Part Number: ADS1258
Other Parts Discussed in Thread: TL431, REF6025

Schematic_ADC.pdf

Dear TI support,

I am working on a Schematic/PCB that will have 2 ADCs, these ADCs will have a near DC voltage (analog) input. The voltages will be converted to digital values and passed to the MCU with SPI. The MCU will send the voltages to a PC with MODBUS RS485, so they can be further analyzed there.

In my schematic there are a pair of 0 Ohm resistors, these are installed so that I can connect them if needed, or leave them unconnected. My question is if I made any mistakes in my schematic, mainly focusing on the ADC connections.

I would love to hear from you.

Greetings,

Yoca

  • Hi Yoeri Caarls,

    Some comments about your schematic:

    • You mentioned having 0 ohm resistors in your schematic that you will populate / not-populate, however usually there is a default configuration. Right now for example I see you have one 0ohm to ground and one 0ohm to 3.3V on the CLKSEL pin, which will likely put this pin into an unknown state (and therefore the ADC). I would expect to see a DNP / DNI / etc. on one of these components (there may be more) so the default configuration is known
    • I would not use a shunt reference for the ADS1258. The recommended reference circuit is included in the ADS1258 datasheet. You can also use a REF6xxx, which has an integrated reference buffer incase you don't want to use something like a REF5xxx + buffer
    • The input filtering has a very low cutoff frequency (your comment says 159Hz), which might impact the frequency response of the ADC digital filter. The external filters will also take a long time to settle, which you typically want to avoid with a higher speed, multi-channel, multiplexed ADC like ADS1258. Your design is not necessarily wrong, you just need to consider these factors when choosing the final component values.
    • I would not recommend using a crystal oscillator with the ADS1258. You can search on e2e and find dozens of threads where engineers have difficulty getting the 32kHz crystal to oscillate. Instead I would recommend using a 16MHz clock oscillator, especially if you want to drive both ADCs with a single clock source.
    • The default configuration of the GPIOs is that they are inputs, and therefore should not be left floating. You can tie these pins to ground if you are not planning on using any of them
    • I did not review the RS485 or Nucleo sections of your schematic

    -Bryan

  • Dear Bryan,

    Thanks for the quick response.

    • The 0 Ohms to the GND is a backup if i need to make it LOW, it will normally be connected to the 3,3V so it will be pulled HIGH. So the other 0 Ohm resistor is to disconnect is from the 3,3V. So it should not be a problem.
    • I will change the reference with the given information, thanks.
    • The crystal oscillator of 32 kHz is used in the datasheet, so i figured it would be a well suited component. In the first case i want to use the clock of the MCU, which is 16 MHz if i am not mistaken. So the crystal is as a backup, but i can change the crystal to a 16MHz variant if that works better.
    • I am aware that 159 Hz is a low cutout frequency, but the speed is not needed in the desired application. I will take another look at it anyway.
    • I was already wondering if i needed to connect the GPIOs to the GND, thanks for the verification.

    I already changed some parts of my schematic, but i am not sure about the crystal oscillator. I will look deeper into it tomorrow. In the schematic of the ADS1258 the MUXOUTP and MUXOUTN are connected to the ADC directly, but in the other one they are not connected and need to be routed to the ADCINP and ADCINN. Can you verify which one is correct?

    Greetings,

    Yoeri

  • Hi Yoeri Caarls,

    The 0 Ohms to the GND is a backup if i need to make it LOW, it will normally be connected to the 3,3V so it will be pulled HIGH. So the other 0 Ohm resistor is to disconnect is from the 3,3V. So it should not be a problem.

    I understand that some of the 0ohm resistors might not be included in the final design. However, usually these are labeled as DNP on a schematic so it is clear which components are populated and which are not. Otherwise, the schematic can be confusing. I would consider making your intentions as clear as possible on your schematic in the future

    The crystal oscillator of 32 kHz is used in the datasheet, so i figured it would be a well suited component. In the first case i want to use the clock of the MCU, which is 16 MHz if i am not mistaken. So the crystal is as a backup, but i can change the crystal to a 16MHz variant if that works better.

    To be clear, if you use a crystal, it has to be 32kHz as specified in the datasheet. You cannot use a 16MHz crystal, you can only use a 16MHz clock oscillator that feeds directly into the CLKIO pin (and then also configure CLKSEL to use an external clock). I do see the connections where you allow for an external clock, this is good because it allows you to try both options

    In the schematic of the ADS1258 the MUXOUTP and MUXOUTN are connected to the ADC directly, but in the other one they are not connected and need to be routed to the ADCINP and ADCINN. Can you verify which one is correct?

    I'm not sure what you mean by this, both ADCs in your schematic have MUXOUTx connected to ADCINx through 0ohm resistors. The ADC has a BYPAS bit that either connects MUXOUTx and ADCINx together internally or uses the external connections in case you want to put some circuitry between the MUXOUT and ADCINx pins. See the register map for more information, as well as the applications section for an example of how you might use the external MUXOUT connections. Again, if you just want to feed the output of the MUX directly into the ADC, then you can use the BYPAS bit

    -Bryan

  • Schematic_ADC_V0.2.1.pdf

    I changed my schematic with the help of your comments:

    • I removed the 32kHz crystal oscillator and replaced it with a external 16MHz clock oscillator.
    • I placed the GPIO pins to the GND. I connected a 10k resistor so if i accidently power the GPIO pins the current will be llimited.
    • I removed the TL431 and replaced it with a REF6025. This will give me a better reference for the 24 bit ADC.
    • I placed DNP 0 Ohm resistors to the MUXOUT/ADCIN. Just in case i cant set the bit for it.
    • Changed the LPF to capacitors that are NP0 10nF for a more consistent filtering.

    The only thing I am not sure about is the REF6025. In the datasheet they connect a 5mΩ resistor in series with a 47µF capacitor to the GND. I thought the 5mΩ resistor would be the resistance of the capacitor, but in the datasheet they placed a dedicated resistor for it. I am wondering what this resistor is for, can you clarify the purpose of the resitor? Also the capacitor that is used is kinda big, is it possible to remove or replace this capacitor?

  • Hi Yoeri Caarls,

    Regarding the reference: see the section on Stability in the REF6xxx datasheet. Most of your questions are answered there.

    Also, you should place the REF components near the reference itself, and you do not need one "set" of components (stability cap + ESR resistor) for each reference input. Each VREF input on the ADC should have a 100nF cap across the inputs however

    -Bryan