Motorola MC9S12DP256, CML12S-DP256 manual Mcuport, Analog Port

Page 16

C M L 1 2 S D P 2 5 6

0 7 / 1 7 / 0 2

The VDD supply is for reference or external 2.5V input only and should not be loaded by external circuitry or damage to the HCS12 device may occur.

MCU_PORT

+5V

60

59

PT7

58

57

PT5

56

55

PT3

54

53

PT1

52

51

**PK0 50 49

**PK2 48 47

**PK4 46 45 GND 44 43 PP1 42 41 PP3 40 39 PP5 38 37 PP7 36 35

**PM1 34 33 PM3 32 31 PM5 30 29 PM7 28 27 PJ1 26 25 PJ7 24 23

**PS7 22 21

**PS5 20 19

**PS3 18 17

**PS1 16 15 GND 14 13 GND 12 11

**PB7/D7 10 9

**PB5/D5 8 7

**PB3/D3 6 5

**PB1/D1 4 3 GND 2 1

GND

PT6

PT4

PT2

PT0 PK1 ** PK3 ** PK5 ** +5V PP0 PP2 PP4 PP6 PM0 ** PM2 PM4 PM6 PJ0 PJ6 PS6 ** PS4 ** PS2 ** PS0 ** +5V VREGEN PB6/D6 ** PB4/D4 ** PB2/D2 ** PB0/D0 ** +5V

The MCU_PORT provides access to the peripheral features and I/O lines of the HCS12.

**Note signals with alternate connections on the development board:

PB0 - 7 [D0 - 7] provide address / data on the expanded HCS12.

PK0 - 5 [XA14 - XA19] provide high order paged address lines on the expanded HCS12.

PM0 - 1 [CAN RXD0, TXD0] CAN channel 0 to CAN Port transceiver.

PS0 - 1 [COM Port RXD0, TXD0]

PS2 - 3 [JP3 Port RXD1, TXD2]

PS4 - 7 [SPI Port] provides LCD_PORT serial interface.

ANALOG PORT

PAD0/AN0

1

2

PAD8/AN8

PAD1/AN1

3

4

PAD9/AN9

PAD2/AN2

5

6

PAD10/AN10

PAD3/AN3

7

8

PAD11/AN11

PAD4/AN4

9

10

PAD12/AN12

PAD5/AN5

11

12

PAD13/AN13

PAD6/AN6

13

14

PAD14/AN14

PAD7/AN7

15

16

PAD15/AN15

VRH

17

18

VRL

VDDA

19

20

GND

The ANALOG port provides access to the Port AD0 and Port AD1 Analog-to-Digital input lines.

PAD0 – PAD15 HC12 Port AD0-15 is an input port or AN0 - AN15 A/D Converter inputs.

VRH / VRL HC12 A/D Converter Reference Pins. See HCS12 A/D User guide. To provide an external reference voltage, R3 and R4 need to be removed to apply external VRH or VRL respectfully. See schematic.

16

Image 16
Contents CML12S-DP256 Contents Getting Started Installing the Software Board StartupSupport Software Modc = Out, JP2 = do not care, see COM PortsSoftware Development TutorialCreating Source Code Assembling source code AS12 HELLO.ASM -L HelloRunning your application Programming HCS12 Flash EEprom AutoMON12 Operation MON12 operation notesMON12 Interrupt Support Mon12 Monitor CommandsMovw #IRQSRV,VIRQ Noice Operation MON12 and Noice Memory MapAutostart BDM OperationClock frequency = 24MHz Memen ECSModc Auto OFF / spareMode OscselPorts and Connectors TB1 and J1 PowerJP1 and JP2 CUT-AWAY Options 1Mcuport Analog PortBusport Keypad / Port HPCOM1 and PCOM2 6 connected and 7,8 connectedCan Port PCOM2 pin connectionsCAN-H CAN-LP1 P4 HCS12 Header Ring Lcdport ConnectorLcdport BDM Port Test PointsSee the HC12 Technical Reference Manual for complete Documentation of the BDMTroubleshooting Tips and Suggestions Command LCD Command and Character CodesCode Delay MON12 Interrupt Table