Other Parts Discussed in Thread: CC1352P
Hi community,
In one of our project, we are using TM4C1237E6PM microcontroller to support the USB OTG feature.
During USB host mode, connected device will be powered on via VBUS line. In order to monitor the current through VBUS line/ VBUS state (in case of device in dead battery condition), we are interfacing the 5v voltage divider network to the one of ADC input.
Please help me to bring up the circuit.
Now in current design i have done below circuit connections.
Both VDDA & VDD are shorted to 3.3V and GNDA & GND are shorted to digital ground. Is this is OK ?
Or VDDA & VDD has to be isolated ?
And also please provide me the example code for ADC operation.
Thanks & regards,
Divya