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.

DRV8830: Is it possible to have various motor drivers with an ADC (ADS7828) in a single I2C line?

Part Number: DRV8830
Other Parts Discussed in Thread: ADS7828,

I think the title is clear enough... I have a project in where I plan to move three small power motors (1Amp peak) and simultaneously acquire analog data from 7 different sensors... so, in total there should be 3 DRV8830 and 1 ADS7828 (Feel free to suggest another device if you think it might be more suitable). The questions I have are the following:

  1. Can I have these four devices on a single I2C line and control all of them from a single uC?
  2. What do you think might be the limitations of this regarding frequency?... I mean... what do you think the maximum frequency (data acquisition - data send) this scheme could achieve?

PD. The dynamics of my system should at least have a response frequency of 100Hz, but it would be desirable if it could be greater.

Thank you in advance

  • Hello Sergio,

    1) Yes, this should be possible. The DRV8830 can support up to 9 devices on one I2C bus. The device address is selectable with using the A0 and A1 pins.

    2) The maximum I2C clock frequency is 400 kHz for both the DRV8830 and the ADS7828. For the DRV8830 you need ~36 clock cycles to write and ~46 clock cycles to read. This means ~90us to write and ~115us to read. Those numbers are just estimates. The commands may take more or less time depending on what you are trying to do. Ultimately, you'll need to review the I2C protcol of both of these devices in detail and apply it to your use case to get more accurate numbers.
  • Ok thanks thats all I needed to know...