Dear,
if I use a pull-up resistor with 3.3MOhm,will the alert pin output a low level finally,and how long time does it take from high to low level?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Dear,
if I use a pull-up resistor with 3.3MOhm,will the alert pin output a low level finally,and how long time does it take from high to low level?
Qmshi,
Sorry for the long delay on this. I hope the explanation below helps.
The Alert pin uses an open drain configuration to drive the level. When Alert transitions from high to low, the transistor turns on and the resistance to ground will be very low. This will pull the Alert pin from high to low very quickly.
When the Alert pin is transitions from low to high, the transistor is turned off. To transition from low to high will be very slow as the bus capacitance needs to charge through the very large 2.2Mohm resistor. The actual bus capacitance depends on the output capacitance of the Alert pin, the input capacitance of the microcontroller, and the parasitic capacitance of the Alert PCB trace. A rough estimate is about 10pF. Thus, the time constant is RxC = 2.2Mohm x 10pF = 22us. In five time constants the bus capacitance is 99% charged, so the low to high transition is about 110us. You could measure this.
Alert is active low. So when an event that sets the Alert in an active state will be detected quickly because the high to low transition is very quick.
I assume that you are using the large pull-up to minimize current consumption. Keep in mind that the device will not draw any current on the Alert pin when the output is in a high state. The only time that power is dissipated from the Alert pin is when it is active low. Depending on how often this happens you may not see much power dissipation from this pin.
Normally, I2C pull-ups (SCL and SDA) are set to 4.7k. On the high end they can range to 49k, but this will limit communications speeds. For the Alert you just need to make sure that you can accept the long rise time for the low to high transition. I’m not sure why you want such a large Alert Pull-up resistance as you are likely dissipating much more power in the SCL and SDA line. I recommend you just keep the alert pull up consistent with SCL and SDA.