System and method for debugging IC interface device by PC
An I2C and device technology, applied in the system field of online debugging, can solve the problems of difficult to fully meet the needs of system debugging, lack of versatility, etc., to achieve the effect of convenient online debugging, good versatility and low hardware cost
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0046] The hardware connection mode of the device of the present invention is shown in Fig. 1, comprises PC, MCU (adopting STC516AD, compatible with INTEL8052), level conversion chip (adopting MAX3232) and I 2 C device. where I 2 C devices are connected to the MCU's two I 2 C interface. Since the P0 port of the MCU is an OC (Open Collector) output, it satisfies I 2 C's line AND requires, so I 2 The C interface is simulated by the P0 port of the MCU, among which P0.0 is the serial clock line of the analog channel 1, which is designated as SCL1, P0.1 is the serial data line of the analog channel 1, which is designated as SDA1, and P0.2 is the analog channel 2 The serial clock line of P0.3 is nominally SCL2, and the serial data line of P0.3 analog channel 2 is nominally SDA2. P0.0~P0.4 can be pulled up to 3.3V or 5V by jumper selection to be compatible with different logic level. in I 2 The circuit board where the C device is located does not need to 2 The C port is pulle...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 