hi,
i'm designing a custom board and i want to detect when the USB is plugged in. the nrf51822 chip working with 2.5V, for that i had the idea to make a voltage divider with two resistors and use this voltage as input. normally the value of these resistors should be as high as possible in order to reduce the leakage current.
Questions ..
1/ how high should be the resistor's value ? is there any limits ?
2/ if the divider is not that accurate and give me a value slightly different from 2.5v, let's say 2.2V , would the nrf detect this voltage as a high level ?
3/ do you think i should use a CMOS transistor to detect the usb presence better than the voltage divider ?
i have the same problem with the the pull up resistor value, i don't know exactly the resistors values that i should put in order to limit the current leakage. for example in the image the STAT signal have two stats, low and high-Z. can i put 1 Mohm or more like 10 Mohm, what are the limits ?
thx,