Skip to main content
pmferreira
Visitor II
January 22, 2019
Question

Multi-Channel ADC and I2C

  • January 22, 2019
  • 1 reply
  • 757 views

I'm using an IMU 9250 (who works with I2C) and I need use at least 4 ADC single-ended channels. but, unfortunately, I'm not able to accomplish it. 

When the STM32f303k8 has the code (i2c + 4 channel ADC with DMA) and the 4 ADC pins are not physically connected to the MCU, the i2C communication works perfectly. When I connect at least 2 pins, the communication won't work, and I can't even recognize the IMU. I attached the STMCUBEMX file below.

This topic has been closed for replies.

1 reply

MNapi
Senior II
January 22, 2019

this is the problem with some controllers there is a limit what they can handle, Try one, single channel ADC first then try to add second etc. Try without IC2 and see what the limitiations are.

you might need something bigger to handle the job,