Next: Enclosure, Previous: Choosing the Interface Pins, Up: The Controller [Contents][Index]
On most target hardware, the pins are arranged in a 3x2 pin 2.54mm header, similar to Figure 2.4. The pin-out is depicted below in Figure 2.3.
Pin 2 is signal ground. Pin 4 is the reset pin. Taking this pin to ground causes the target micro-processor to reset itself. Pin 1 is a bidirectional serial data pin through which all communication between the controller and target occurs. Pin 6 is the supply voltage from the micro-processor. It is not used by µPad.
Accordingly you will need a 3x2 IDC header connector, a length of 6-core ribbon cable and a connector appropriate for your chosen controller.
Write down a table describing the physical pin connections at each end of the cable. For example, if you have chosen the pins mentioned in Figure 2.2, then the table would look similar to that below.
Connection | Controller End | Target End |
GND | X1,24 | 2 |
RESET | X2,3 | 4 |
BKGD | X2,5 | 1 |
Now is the time for the practical work. Construct a cable according to the table you have recorded. At the target end, the IDC connector should be crimped to the cable as shown in Figure 2.5.
The connector at other end of the cable depends upon your chosen micro-controller. An typical example of how it might look is shown in Figure 2.6. As you will not need to change this connection very often, soldering the wires is also acceptable.
It is best if the length of the cable does not exceed 250mm.
Next: Enclosure, Previous: Choosing the Interface Pins, Up: The Controller [Contents][Index]