Port Integration Module (S12VRPPIMV1)
MC9S12VRP Family Reference Manual Rev. 1.3
90
NXP Semiconductors
2. Determine pulse width of incoming data: Configure TIM1 input capture channel 1 to measure time
between incoming signal edges.
2.5.3
Over-Current Protection on PP2 and PP0
Pins PP2 and PP0 can be used as general-purpose I/O or due to increased current capability in output mode
as a switchable external power supply (EVDD) pins for external devices like Hall sensors.
An over-current monitor is implemented to protect the controller from short circuits or excess currents on
the output which can only arise if the pin is configured for full drive. Although the full drive current is
available on the high and low side, the protection is only available on the high side when sourcing current
from EVDD . There is also no protection to voltages higher than V
DDX
.
To power up the over-current monitor set the related OCPE bit.
In stop mode the over-current monitor is disabled for power saving. The increased current capability
cannot be maintained to supply the external device. Therefore when using the pin as power supply the
external load must be powered down prior to entering stop mode by driving the output low.
An over-current condition is detected if the output current level exceeds the threshold I
OCD
in run mode.
The output driver is immediately forced low and the over-current interrupt flag OCIF asserts. Refer to
Section
2.4.7.3, “Over-Current Interrupt and Protection
2.5.4
Open Input Detection on PL[5:0] (HVI)
The connection of an external pull device on a high-voltage input can be validated by using the built-in
pull functionality of the HVI. Depending on the application type an external pulldown circuit can be
detected with the internal pull-up device whereas an external pull-up circuit can be detected with the
internal pulldown device which is part of the input voltage divider.
Note that the following procedures make use of a function that overrides the automatic disable mechanism
of the digital input buffer when using the HVI in analog mode. Make sure to switch off the override
function when using the HVI in analog mode after the check has been completed.
2.5.4.1
External pulldown device (
1. Enable analog function on HVI in non-direct mode (PTAENL=1, PTADIRL=0)
2. Select internal pull-up device on HVI (PTPSL=1)
3. Enable function to force input buffer active on HVI in analog mode (PTTEL=1)
4. Verify PTIL=0 for a connected external pulldown device; read PTIL=1 for an open input
Summary of Contents for MC9S12VRP64
Page 16: ...MC9S12VRP Family Reference Manual Rev 1 3 16 NXP Semiconductors ...
Page 46: ...Device Overview S12VRP Series MC9S12VRP Family Reference Manual Rev 1 3 46 NXP Semiconductors ...
Page 236: ...S12S Debug Module S12DBGV2 MC9S12VRP Family Reference Manual Rev 1 3 236 NXP Semiconductors ...
Page 244: ...Interrupt Module S12SINTV1 MC9S12VRP Family Reference Manual Rev 1 3 244 NXP Semiconductors ...
Page 358: ...Timer Module TIM16B2CV3 MC9S12VRP Family Reference Manual Rev 1 3 358 NXP Semiconductors ...
Page 436: ...Supply Voltage Sensor BATSV2 MC9S12VRP Family Reference Manual Rev 1 3 436 NXP Semiconductors ...
Page 528: ...NVM Electrical Parameters MC9S12VRP Family Reference Manual Rev 1 3 528 NXP Semiconductors ...
Page 530: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 530 NXP Semiconductors ...
Page 531: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 NXP Semiconductors 531 ...
Page 532: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 532 NXP Semiconductors ...