English
Language : 

C8051F326 Datasheet, PDF (139/140 Pages) List of Unclassifed Manufacturers – Full Speed USB, 16 kB Flash MCU Family
C8051F326/7
15.2. C2 Pin Sharing
The C2 protocol allows the C2 pins to be shared with user functions so that in-system debugging and
Flash programming may be performed. This is possible because C2 communication is typically performed
when the device is in the halt state, where all on-chip peripherals and user software are stalled. In this
halted state, the C2 interface can safely ‘borrow’ the C2CK (/RST) and C2D (P3.0) pins. In most applica-
tions, external resistors are required to isolate C2 interface traffic from the user application. A typical isola-
tion configuration is shown in Figure 15.1.
C8051F326/7
/Reset (a)
Input (b)
Output (c)
C2CK
C2D
C2 Interface Master
Figure 15.1. Typical C2 Pin Sharing
The configuration in Figure 15.1 assumes the following:
1. The user input (b) cannot change state while the target device is halted.
2. The /RST pin on the target device is used as an input only.
Additional resistors may be necessary depending on the specific application.
Rev. 0.5
139