Hardware Details
This section of the manual lists various details of the Adapt9S12XDP module, such as jumper settings, connector pinouts, etc. Since the pinouts for SCI0 and SCI1 have already been provided, they will not be repeated here.
Jumper Settings
The following table lists all the jumpers on the board, their function, and their default setting.
Jumper | Function | Default Setting |
W1 | CAN1 termination resistor | Jumper On |
W2 | CAN0 termination resistor | Jumper On |
W3 | RxD2 to S12X | Wire In |
W4 | TxD2 to S12X | Wire In |
W5 | TxD0 in S12X | Wire In |
W6 | RxD0 in S12X | Wire In |
W7 | Connect SCI0 pin 4 to 6,1 | Open |
W8 | Connect SCI0 pin 8 to 7 | Open |
W9 | Connect SCI0 pin 6 to 1,4 | Open |
W10 | Connect SCI0 pin 1 to 6,4 | Open |
W11 | RS485 termination resistor | Jumper On |
W12 | Power to RS232 level translator | PCB Trace |
W13 | Power from regulator | Wire In |
W14 | Ground to Voltage ref Low | Wire In |
W15 | Power to voltage reference High | Wire In |
W16 | CAN0 RxD | PCB Trace |
W17 | CAN0 TxD | PCB Trace |
W18 | CAN1 RxD | PCB Trace |
W19 | CAN1 TxD | PCB Trace |
W20 | RxD1 to S12X | Wire In |
W21 | TxD1 to S12X | Wire In |
W22 | Vref on CAN0 biased to Ground | PCB Trace |
W23 | PE5 to RS485 read enable | Open |
W24 | Vref on CAN1 biased to Ground | Open |
W25 | Power to SCI2 connector | Open |
JB1 | ModA select | 0 Wire In |
ModB select | 0 Wire In | |
00=Single Chip mode | ||
JB2 | XCLK to Ground | Wire In |
JB3 | Dbug12 mode select; PAD0/1 | Open |
JB4 | XIRQ to Ground | Jumper Off |
SW1 | Reset | |
SW2 | Load/Run to PA6 | Load |
D1 | LED to PP7 | Installed |
Input/Output Connectors
The two I/O connectors each have 50 pins. The following table lists the signals for each pin. Several pins can have more than one function, depending on how the hardware registers are configured. Furthermore, some interfaces can be moved to different ports. Refer to the Freescale manual for the MC9S12XDP512 for details.
H1 Pin | Signal Name | H1 Pin | Signal Name | |
1 | PS4/MISO | 50 | GROUND | |
2 | PS5/MOSI | 49 | GROUND | |
3 | PS6/SCK | 48 | PS0/RXD0 | |
4 | PS7/SS* | 47 | +5VDC | |
5 | PS1/TXD0 | 46 | PE1/IRQ* | |
6 | PT7 | 45 | PE0/XIRQ* | |
7 | PT6 | 44 | RESET* | |
8 | PT5 | 43 | PE7/ECLKX2/XCLKS* | |
9 | PT4 | 42 | PH0/MISO1 | |
10 | PT3 | 41 | PH1/MOSI1 | |
11 | PT2 | 40 | PH2/SCK1 | |
12 | PT1 | 39 | PH3/SS1* | |
13 | PT0 | 38 | PH4/MISO2/RxD4 | |
14 | PP7/LED/PWM7/SCK2 | 37 | PH5/MOSI2/TxD4 | |
15 | PP6/PWM6/SS2* | 36 | PH6/SCK2/RxD5 | |
16 | PP5/PWM5/MOSI2 | 35 | PH7/SS2*/TxD5 | |
17 | PP4/PWM4/MISO2 | 34 | PS2/RXD1 | |
18 | PP3/PWM3/SS1* | 33 | PE4/ECLK | |
19 | PP2/PWM2/SCK1 | 32 | PS3/TXD1 | |
20 | PP1/PWM1/MOSI1 | 31 | VRL | |
21 | PP0/PWM0/MISO1 | 30 | VRH | |
22 | AN00 | 29 | AN04 | |
23 | AN01 | 28 | AN05 | |
24 | AN02 | 27 | AN06 | |
25 | AN03 | 26 | AN07 |
H2 Pin | Signal Name | H2 Pin | Signal Name | |
1 | PA7 | 50 | VCC (+5VDC) | |
2 | PA6 | 49 | GROUND | |
3 | PA5 | 48 | PE7/ECLKX2/XCLKS* | |
4 | PA4 | 47 | PK7 | |
5 | PA3 | 46 | PK5 | |
6 | PA2 | 45 | PK4 | |
7 | PA1 | 44 | PK3 | |
8 | PA0 | 43 | PK2 | |
9 | PB7 | 42 | PK1 | |
10 | PB6 | 41 | PK0 | |
11 | PB5 | 40 | PJ0/RxD2 | |
12 | PB4 | 39 | PJ7/SCL-I2C | |
13 | PB3 | 38 | PJ6/SDA-I2C | |
14 | PB2 | 37 | TxCAN3/PM7/TxD3 | |
15 | PB1 | 36 | RxCAN3/PM6/RxD3 | |
16 | PB0 | 35 | TxCAN2/PM5/SCK0 | |
17 | RW*/PE2 | 34 | RxCAN2/PM4/MOSI0 | |
18 | ECLK/PE4 | 33 | TxCAN1/PM3/SS0* | |
19 | LSTRB*/PE3 | 32 | RxCAN1/PM2/MISO0 | |
20 | IRQ*/PE1 | 31 | TxCAN0/PM1 | |
21 | PJ1/TxD2 | 30 | RxCAN0/PM0 | |
22 | AN08 | 29 | AN12 | |
23 | AN09 | 28 | AN13 | |
24 | AN10 | 27 | AN14 | |
25 | AN11 | 26 | AN15 |
Voltage Regulator Configuration
The Adapt9S12XDP512 module has an on board voltage regulator (LM2937ET-5) to provide stable power to the electronics. It can be seen mounted on the underside of the card. This takes the filtered DC voltage (6-12 VDC) applied to the J1 two pin connector on the board, and provides a smooth regulated 5 volts DC to the components. The advantage of the regulator chosen is that it does not need a driving voltage much above the target 5 volts to run. If the board is run as a standalone unit, the regulator will not require a heat sink to operate.
However, if you plan to use the on-board regulator to power your own circuits in addtion to the module, please be aware that the regulator is designed to only supply a maximum of 500 mA of current-- more with a heat sink. Check the manufacturer's specifications for the voltage regulator for more details. At room temperature, the regulator by itself will only be able to dissipate a few watts of heat. The amount of dissipation needed will depend both on the input voltage applied, and the current drawn to feed the electronics. So a power supply at 6 volts will not cause the regulator to heat up as much as a 12 volt supply will. If you need to dissipate more heat, you must add a heat sink to the regulator.
If your DC power supply connected to J1 is using a long cord to connect to the module, or is not well regulated DC, or is operating in a low temperature environment, then it is recommended that an additional capacitor be added on the board. You will need an electrolytic capacitor of 10uF at 25 VDC rating, with radial leads about 0.1 inch apart. This will be mounted on the board as C19, which is located directly behind the J1 power connector. Be sure to take standard electrostatic protection when soldering in the part. (i.e. grounded soldering iron, etc.) The capacitor will have to be oriented on the C19 mounting area so that the positive (+) lead is towards the center of the board. Inserting an electrolytic capacitor backwards is guaranteed to do bad things, so don't do it!
The final power option available is to disable the regulator completely. This is recommended if you need more than 500 mA for your circuits, and will therefore be supplying your own regulated 5 volt DC power to the system. To disable the regulator, cut the connection at W13 on the board. W13 is located next to the solder pads that connect to the regulator. This is a permanent change, and cutting the W13 connection will keep any power applied at J1 from reaching the board components. Your power supply can feed in 5 volts at the designated pins on either the H1 or H2 header connectors of the card.
Analog Voltage Reference
The module provides the option of adding a precision voltage reference for measuring analog voltages, instead of just using the default 5V supply. This will provide you with the capability of more precision, less noise, and using a reference voltage other than 5V (e.g. 4.096). You will need to obtain a suitable voltage reference chip in a TO92 package. This will be mounted onto the card as U8, which is located next to pin 22 of the H1 header socket. The flat part of the TO92 package will face towards the center of the board when it is installed. Referring to the schematic, make any changes to the resistor value or source voltage configuration that may be needed for the specific part which you are implementing. Standard electrostatic precautions are required during installation.
The following topics will be covered in detail in a future revision of this manual:
Implementing User Options:
- optional half-size oscillator:
- part number, orientation, resistors, installation procedure