8.2 Two-Wire Interface
The following steps are required to check the device status using the Two-Wire
interface:
- SetMode
(6’b011111)
to force the Chip TAP controller into Run Test/Idle state. SendCommand (MTAP_SW_MTAP)
.- SetMode
(6’b011111)
to force the Chip TAP controller into Run Test/Idle state. SendCommand (MTAP_COMMAND)
.- statusVal = XferData
(MCHP_STATUS)
. - If CFGRDY (statusVal[3]) is not
‘
1
’ and FCBUSY (statusVal[2]) is not ‘0
’, go to step 4.
Note: If the CFGRDY and FCBUSY bits do not come to the proper
state within 10 ms, the sequence may have been executed incorrectly or the device is
damaged.