English
Language : 

C8051F970-A-GM Datasheet, PDF (447/454 Pages) Silicon Laboratories – Low Power Capacitive Sensing MCU with up to 32 kB of Flash
C8051F97x
34. C2 Interface
C8051F97x devices include an on-chip Silicon Labs 2-Wire (C2) debug interface to allow flash programming and
in-system debugging with the production part installed in the end application. The C2 interface uses a clock signal
(C2CK) and a bidirectional C2 data signal (C2D) to transfer information between the device and a host system.
Details on the C2 protocol can be found in the C2 Interface Specification.
34.1. 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. C2CK is shared with the RST pin, while the C2D signal is shared with a port I/O
pin. 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 and C2D pins. In most applications, external resistors are required to isolate C2 interface traffic from the
user application. A typical isolation configuration is shown in Figure 34.1.
C8051Fxxx
/Reset (a)
Input (b)
Output (c)
C2CK
C2D
C2 Interface Master
Figure 34.1. Typical C2 Pin Sharing
The configuration in Figure 34.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.
448
Rev 1.0