Other Parts Discussed in Thread: INA240, TPS2051, LMR62014, ALLIGATOR, EK-TM4C1294XL
Hello,
This is a little bit of a general question and may not be in the right place, but I didn't know where to start. I've been struggling with this for a while. I have a product designed around the TM4C uC and I'm using the USB interface to connect to a computer. The problem I'm having may not necessarily be the fault of the Tiva part, but when I plug in the device I notice a ground shift. This ground shift is small, but creates problems for me.
I'm using the ADC in the Tiva part to sample data coming from some analog channels. The analog channels filter the incoming signals and provide a gain. The problem arises when I apply the gain (for example 50 up to 100 - it gets progressively worse as I increase the gain). My input data from the adc in the part shifts when I plug into USB because there seems to be some sort of ground shift. I only have D+/D-/Gnd signals connecting the Tiva's USB interface to the PC. The issue has become a very big problem, because the adc monitors the data and triggers when it sees the signal go over a pre-set threshold. When the device is running and monitoring the inputs everything is smooth, but if I plug in the USB interface while there is any gain applied my signals get shifted up and trigger the device. This shouldn't happen. The same shift drops my signal magnitudes when I unplug the USB cable.
This is a somewhat difficult problem to fit in a forum category so feel free to move this post, but I'm looking for any help I can find to eliminate or at least minimize this as I will have customers using different PCs/Laptops and this will make the product very hard to use reliably.
Thanks!