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.

DDC232: Which Microcontroller for DDC232

Part Number: DDC232
Other Parts Discussed in Thread: DDC264, ADS1256, ADS1257

Hi Ti,

I am planning to sense 100+ sensors at the rate of 500Hz each and I wonder how we can achieve the data collection speed. Which microcontroller can I use? Is it a must to use FPGA?

Do you suggest me to use DDC232 or there is a better option for me

Thank you,

Khoi Ly

  • Hi Khoi,

    How are you?
    Thanks for looking at DDC232 device.
    Our system engineer is on the travel now so please let us reply to you
    in a couple days.

    Thank you again!

    Best regards,
    Chen
  • Hi Khoi,

    Sorry for slow reply but as Chen explained I was traveling... Anyhow, when you say 100+ sensors I guess you mean that you will need 3 or 4 DDC232, right?

    As explained on the DS (start on pg 20), you can cascade them in daisy chain. There are different ways to do that and all work well. You can use MCU or FPGA. That doesn't matter and there is no ns critical timing specs (or jitter, etc...) so you can bitbang the GPIO of the MCU, for instance. Only thing is that it may have to be a "fast" MCU to do so at fast rates... Notice that the CLK and DCLK signals are on the 10-20MHz. Again, you can run them slower but make sure the device can finish all what needs to finish to meet the 500Hz...

    Just FYI, if you don't know which mode to pick, I am thinking that at 500Hz you may be able to send all the data (100+ channels at 20bit) in the interval that goes from the DVALID to the CONV edge. Just ran the calcs. if so, that is the most forgiving approach from a layout/noise isolation perspective as the data transmission (and whatever toggling noise coming from that) happens at a different instant from the data conversion (from CONV to DVALID).

    Regards,
    Edu

  • Hi Eduardo,

    Sorry for the late reply, since I got caught up with another project and now I am able to get back to this.

    Is there any MUX-ing issue that I should be aware of? I will have to mux through 32 channels and also switch through 4 DDC might have some overheads.

    You mentioned that the clock of the DDC is 10-20MHz. Do you have a recommendation of a TI MCU that can handle this? Over-engineering is fine at this stage. It would be great to have a commonly used, well-known MCU that I could get supports.

    Besides, would the architecture of 4 MCU's for 4 DDC's be better than 1MCU with 4 DDC's daisy chained?

    Thanks,

    Khoi Ly
  • Hi Khoi,

    How are you?
    I would like to forward your more question to Eduardo engineer.
    Thanks for using DDC232.

    Best regards,
    Chen
  • Hi Khoi,

    Sorry but just to make sure, when you say mux, you mean daisy chain 4 DDCs, right? I mean, I guess that you could just use a mux, i.e., connect the control signals to the first DDC, read it out, then connect to the 2nd DDC, read it out, etc... but that looks like unnecessary overhead to me. You can just do the daisy chain (output of one DDC into the input of the next) as explained on the DS. It'll save you a lot of traces and the mux component...

    And I don't know much about the latest MCUs and their peripherals. I believe that most of our customers actually use small FPGAs. You can see the documentation of the DDC264 EVM for an example. But if you want to use an MCU, it is fine too. Again, just make sure you can deal with those clock rates. If you need help with MCU selection, you can post a question on the MCU e2e forum for that team to give you a recommendation or ask our FAE. Tell them to recommend something that can deal with ~20MHz serial rates.

    Regards,

    Eduardo

  • Hi Eduardo,

    Thanks for your reply. I wonder how the DDC read all 32 channels without internal MUXing. Is there any delay in switching between channels? I will post a question on the MCU forum for MCU selection.

    Khoi Ly

  • Hi Khoi,

    The data of all the channels is serialized in a big long string of bits, one channel after the other. It is a long shift register. All the channels sample at the same time their inputs and store the data on that shift register. You clock it out serially before the next set of samples are converted. See the datasheet pg 20 for data retrieval.

    Regards,
    Eduardo
  • Hi Eduardor,

    Today I found out that there are DDC264 and DDC1128. I wonder what pro and cons of these chips if I would like to sense 100+ sensors at a comfortable 200Hz? I was planning to daisy-chain DDC232 to acquire more channels but it seems DDC264 and DDC1128 are much better options

    Thanks,

    Khoi Ly
  • Hi Khoi,

    • 232 will be the worst from power perspective (older device). DDC264 and DDC1128 are better and very similar between them, power-wise.
    • 232 allows you to get 350pC in one shot while the others are limited to 150pC, but as your speed is low, if you really needed that range, you could choose to run the DDCs at 3x the speed to compensate for that (power would still be better than 232).
    • From a density perspective, obviously each device gets better than its previous generation. Nevertheless, smaller is not always better (unless you are really space constrained), specially from a layout complexity, so, 1128 may be too much for you if all what you need is ~100 channels.
    • From a price perspective, 232 is the most expensive (per channel), but there is no much difference between the 264 and 1128. On top of that, you would be paying but not using the left 28 channels on the 1128 (no technical issue though, just cost). So, 264 may be the most economic.
    • Finally 1128 is protected under NDA. Not a big issue if you are willing to get one with us.. but I feel that you may not need as 264 may be the best solution.

    Regards,

    Edu

  • Could you help me elaborate what it means by 'pC'?

    Based on your comparisons, there are not much differences between 264 and 1128 besides the NDA and the number of channels. As for prototyping, I would just get one or two of these to test the system. Also, do you provide samples for these?

    Thanks,

    Khoi Ly
  • pico Coulombs. 1e-12 Coulombs...
    I am not sure about the samples. Please check the product page or maybe the marketing person will reply...
  • Hi Eduardo,

    So the DDC232, DDC1128, DDC264 are current-input ADC. Can I use it as a regular ADC that reads a change in voltage input and convert to Digital Signal (like an ADS1256 ADS1257)?

    Does it only read current value? If this cannot read voltage changes (say I have a capacitance to voltage converter) , does TI have any chip that can read at least 32 voltage sources?

    Thanks,

    Khoi LY
  • Hi Khoi,

    To do that you need some way to translate voltage to current. That can be done with a series resistor between the voltage you want to measure and the DDC input. It is a bit tricky as the input of the DDC is not exactly ground. It has a finite input impedance that makes the voltage on that node increase as current flowing into it increases.Still, that probably would just result on a gain error that can be calibrated out.

    I am not familiar with the rest of TI ADC portfolio but maybe the best for your would be to open a new question saying what type of ADC you are looking for, on the title. Otherwise other folks may be missing this question as the title talks about DDC. I'll check with an admin to see what is the procedure for that...

    Regards,
    Eduardo