Method for detecting I/O (input/output) interface faults in MCU (microprogrammed control unit)
A detection method and interface technology, applied in the direction of detecting faulty computer hardware, etc., can solve the problem of high and low level cannot be switched, and achieve the effect of reducing I/O usage, reducing price selection, and reliable and accurate detection.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0027] figure 1 Show the flow chart of the detection method of I / O interface failure in the MCU provided by the present invention, and its detailed description is as follows:
[0028] Step S1 , when detecting the MCU, first connect one end of a capacitor to the interface of the detected MCU, and the other end of the capacitor is grounded. Due to the hardware requirements of the MCU interface detection: consider the detection requirements in the hardware design, increase the capacitance, the capacitance should be as close to the interface as possible, not too far away, preferably at the solder joint position of the MCU interface, and the capacitance specification is "104".
[0029] Step S2, setting the corresponding I / O interface on the MCU as an output, and setting the output as a high level, and performing step S3. Take Atiny13A-MCU-PA0 port as an example: set DDRA=0X01; / / PA0 port of MCU as output, set PORTA=0X01; / / PA0 port output high level, to charge the capacitor.
[003...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 