Справочник Пользователя для Freescale Semiconductor Demonstration Board for Freescale MC9S12XHY256 Microcontroller DEMO9S12XHY256 DEMO9S12XHY256
Модели
DEMO9S12XHY256
D E M O 9 S 1 2 X H Y 2 5 6
J U L Y 1 5 , 2 0 1 0
U S E R G U I D E
6
MEMORY MAP
Figure 1 below shows the device register memory map. Refer to the MC9S12XHY256
Reference Manual (RM) for further information.
Reference Manual (RM) for further information.
Figure 1: Memory Map
Address
Module
Size
(Bytes)
0x0000
–0x0009
PIM (port integration module)
10
0x000A
–0x000B
MMC (memory map control)
2
0x000C
–0x000D
PIM (port integration module)
2
0x000E
–0x000F
Reserved
2
0x0010
–0x0017
MMC (memory map control)
8
0x0018
–0x0019
Reserved
2
0x001A
–0x001B
Device ID register
2
0x001C
–0x001F
PIM (port integration module)
4
0x0020
–0x002F
DBG (debug module)
16
0x0030
–0x0033
Reserved
4
0x0034
–0x003F
ECRG (clock and reset generator)
12
0x0040
–0x006F
TIM0 (timer module)
48
0x0070
–0x009F
ATD (analog-to-digital converter 10 bit 8-channel)
48
0x00A0
–0x00C7
PWM (pulse-width modulator 8 channels)
40
0x00C8
–0x00 D7
SCI[1:0] (serial communications interface)
16
0x00D8
–0x00DF
SPI (serial peripheral interface)
8
0x00E0
–0x00E7
IIC (Inter IC bus)
8
0x00E8
–0x00FF
Reserved
24
0x0100
–0x0113
FTMR control registers
20
0x0114
–0x011F
Reserved
12
0x0120-0x012F
INT (interrupt module)
1
0x0130
–0x013F
Reserved
31
0x0140
–0x017F
CAN0
64
0x0180
–0x01BF
CAN1
64
0x01C0
–0x01FF
MC(motor controller)
64
0x0200
–0x021F
LCD
32
0x0220
–0x023F
Stepper Stall Detector 0 (SSD[3:0])
32
0x0240
–0x029F
PIM (port integration module)
96
0x02A0
–0x02CF
TIM1(timer module)
48
0x02D0
–0x02EF
Reserved
32
0x02F0
–0x02F7
Voltage Regulator
8
0x02F8
–0x07FF
Reserved
1288
SOFTWARE DEVELOPMENT
Software development requires the use of a compiler or an assembler supporting the
HCS12(X) instruction set and a host PC operating a debug interface. CodeWarrior
Development Studio is supplied with this board for application development and debug. Refer
to the supporting CodeWarrior documentation for details on use and capabilities.
HCS12(X) instruction set and a host PC operating a debug interface. CodeWarrior
Development Studio is supplied with this board for application development and debug. Refer
to the supporting CodeWarrior documentation for details on use and capabilities.