I use BQ25180 in my prototype.
- I want to use its pushbutton functionality with both wake1 and wake2 press times (and of course long-press for ship mode)
- I do not use TS, so, as recommended by data sheet, I used pull down resistor 10k from TS/MR to ground
My original idea after reading the data sheet was to use wake1 interrupt for short press and wake2 for 2sec press by reading register WAKE1_FLAG and WAKE2_FLAG complemented by capability of directly reading the TS/MR pushbutton status through TS_OPEN_STAT. This is needed for early distinguishing short press from 2sec one - after wake1 interrupt simply have a look on pin status and if it is open it means short press and you know that immediately. Otherwise you would have to wait for not-getting wake2 interrupt and this 2 sec delay is not acceptable for the user interface. However after testing the device I found that TS_OPEN_STAT does not serve this purpose. It is probably meant only for TS failure detection. In my case it is always low.
How am I supposed to use BQ25180 to distinguish short press without the need for waiting for not-having wake2?
Can I somewhat violate data sheet by not using 10k pull down resistor and then monitor the push button instant state by reading TS_OPEN_STAT?
thank you.