Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

BQ24295: How to disable automatic D+/D- detection

$
0
0

Part Number:BQ24295

I have a device that needs to use the USB port for data as well as charging, so the D+ and D- lines are connected to the micro controller in the device. The microcontroller has the necessary hardware in its USB peripheral to perform the BC1.2 detection procedure and both the dead and good battery algorithms have been fully implemented in the firmware. The firmware sets the input current limit of the bq24295 appropriately.

Since the selection of input current limit is fully under the control of the firmware I would like to completely disable the detection built into the bq24295 as it is unnecessary and incorrectly overwrites the current limit set by the firmware. I have not been able to identify any register fields that would prevent the detection from running at all. The only field that sounds like it might be related is the DPDM_EN field (bit 7) of the Misc Operation Control Register (REG07), however that is to force the bq24295 to perform the detection procedure again, not to stop it from performing it in the first place.

Is it possible to stop the detection all together? I see that there are three reserved fields in the Misc register and one of them suspiciously has a reset value of 1. Does that by any chance stop the detection?

Thanks,

Rich


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>