Week9_IODevices - jwfiéma i ' 'i ” '...

Info iconThis preview shows pages 1–21. Sign up to view the full content.

View Full Document Right Arrow Icon
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 8
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 10
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 12
Background image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 14
Background image of page 15

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 16
Background image of page 17

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 18
Background image of page 19

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 20
Background image of page 21
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: jwfiéma i ' 'i ” ' él'I/Mfiégééx} 335:? gig??? I 75 M was; fgwég? 2 l % i W mar _ H l. I : : i _ ‘ -. i @_//W, 52%,%_M& (é,_w)_% jimé’fé’; ifigflw’figg . ' . :flf‘flg/ flfiflf’! 41M 'égg/gg' é?“ 9m?ng mg a? i I ' W? . 37%? 5 . 595%ng 5% f5??? {Wig .flééyéimféfl .. ' _ . My}? 1 frigyiég , ? .:Wf£¥ Wng f 732%”??? Q _ @ _ f5? ffiifig Z fa? 5,3602% KEg/?%€f5 f 5.5% ékfi @é _ fiffl fl? 2459;; 3‘32; Wffiw/ ' -- f3? $5.5; zgssawg - j ' 2 é???" fééy‘ are wag/Ky. (2565?? g}; ' fflf’éfiffi ' ' fiffiflifi ' ' = 3 _i wwwimmmMmmmgflwiwwwmw 5" [ma 6?#@15.15G&5?§fi%“5f :' uigju flag 2%??? 'gzégé {We ‘ g‘ : = . ' .éé/f‘é’fifiw @FW/W/fi flay/66%. @625 i “MM gap; areal-4W6" Megfé‘zaytcT/zg; w, . " : ‘ ._ I " ' ‘I - A 1 1 , r § ? ? §¥f iét'?3é¥éwfifizfiim :-D.A653 ’ Win 5%“; : jam” 7w i 1 r/éfl ~ waif wage mm -‘ ‘ ~ r , aflé’ék‘W/P W mééér‘iéiiéé’fi - ; fay???” 654%; .m .fiéM“W;/WM ' : I I . . ‘ v . ,a . _ ‘ ,; Q &K.:azc/ff?¢ajfffifi _ rm: ’56,; :cmééw’ée/I gv/l -. Ma W’ée’yfi/Vfl ' ' __ ' M @ g “WV/947 WWWm Mm 90 f @fgfl..lgfl$§% .ffijx _ ' g u . .. . {Laxskxééafl . __ WW .%&fi@ SIR, {12:53.53‘w __ F" 1' m . . gomm . $.41)... I. . Haw AD 1 W Wm: M (WWW MCQS12DP2563 Device User Guide —— V0215 1.5 Device Memory Map Table 1-1 and Figure 1-2 show the device memory map of the MC9SIZDP256B after resat. Note that after reset the bottom 1k of the EEPROM ($0000 — $03FF) are hidden by the register space. Table 1—1 Device Memory Map « (Bytes) i« ‘0 ' $001A — $0018 Device ID register (PART! D) $0010 - $001!: CORE (MEMSIZ, IRQ, HPRIO) 0 0 $0028 - $002F CORE (Background Debug Mode) m m -a m m m -a '4 0 "03F '20" mm nmmmwmmmm VWWAWWWWW WMM; :wmmmmmrmmmmmmwmwsxmmmwwm;mWomm mm mmwgya use meets};mmnzfimrmmmrlr 22 ® MOTOROLA MCQS1ZDP2563 Device User Guide — V0235 $0040 - $007F ECT (Enhanced Capture Timer 16 Bit 8 Channeis) Address Name $0072 PASH . 3 $0073 PA2H $0074 PA1 H $0075 PAOH $0076 MCCNT (hi) $0077 MCCNT (I0) $0078 TCOH (hi) $0070 TCOH (lo) $007A T01 H (hi) $0078 TC‘I H (10) $0070 T02H (hi) $0070 TC2H (lo) $007E TCSH (hi) $007F TCSH (Io) $0080 - $009F Address Name $0080 ATDOCTLO $0081 ATDOCTU *% $0082 ATDUCTL2 $0083 ATDOCTLS $0084 ATDOCTL4 .ESRESS SMP1 SMP0 PRS4 PRSB P882 PRS1 PRSO $0085 ATDOCTLS . $0086 ATDOSTATO $0088 Reserved MCQS12DP256B Device User Guide m V0215 Figure 1-2 MCQS12DP2568 Memory Map $0000 $0400 REGESTERS (Mappabie to any 2k Block within the first 32K) 4K Bytes EEPROM $1000 (Mappabie to any 4K Block) 12K Bytes RAM (Mappable to any 16K and alignabEe to top or bottom) 16K Fixed Fiash Page $3E : 62 (This is dependant on the state of the HOMHM bit) $8000 16K Page Window 16 x 16K Flash EEPROM pages EXTEHN $0000 16K Fixed Fiash Page $3F = 63 BDM $FFOO VECTORS : (it active) $FFFF {02$2¢:¢2¢§:€ EXPANDED” NORMAL SPECIAL SINGLE CH1? SINGLE CHIP ‘ Assuming that a ‘D' was driven onto port K bit 7 during MCU «mama awbsnmimrmwrm xmsmcmmmmxmma mmgmfirfiv’: rmmz‘ww'a r'v 7%.“? lfifii - 5,9662%]? ' ' f .amégwmm f/‘gg’ffflffi'i . ' " ' _.flVi;/'5’ éflffé/ @fiffimf ; : .- wV/aeg g2; @rémg «52/ M/wra —-~-_;i,€€%m§ Efflyeféafi 5/69 593% ' 3; ~ ' éé’M 5&2 .rgfiéw 15/3455 mag Cwéffiy __ .. m? fififigwfi 1. 3 ' -. .I i * . 3 «4* idfl’é’waj éfiz‘mgg y_fi?€f£/”$/Q ? I .g = gym-mg : z:- gmg/M/ - MCQS12DP2568 Device User Guide — V02.15 1.6 Detailed Register Map The following tables Show the detailed register map of the MCQS 12DP256B. $0000 - $000F MEBI map 1 of 3 (Core User Guide) Address Name $0000 PORTA $0001 PORTB $0002 DDRA $0003 DDR8 $0004 Reserved $0005 Reserved $0006 Reserved $0007 Reserved $0008 FORTE $0009 DDRE % $000A PEAR . f “w NECLK LSTRE $0008 MODE . f MODC MODE \W $0000 PUCR $0000 RDRIV $000E EBICTL $000F Reserved $001 0 - $0014 Address Name $0010 lNiTRM $32: RAM15 RAM14 RAM13 RAM‘IE RAMH RAMHAL Read: $001 1 is reselihidwfiafial exparfielqtg. 24 ® mommm M We“ 3 1 .fi‘ éfeéfiggf' . : fizzy};ng 35 MW: '51? ggweéfirW/ ; . ./é}§ 7%??? : fig 74f£3§ @253; _ z - [421(34th f f cwfz’gfif m; Wyofiiwg I .5577/ 5 I. f/x/éfi’? I : I ' . . i M @nggf‘ "ff/flax? Eff. Q . i. _ ; mm w» WM 1 a; -: 2w ' I g? MW??? 7 i ‘ - 3 m" hul- AVA N MC9312DP2563 Device User Guide — V02.15 Section 5 Resets and Interrupts 5.1 Overview Consult the Exception Processing section of the HCSIZ Core User Guide for information on resets and interrupts. 5.2 Vectors 5.2.1 Vector Table Table 5-1 lists interrupt sources and vectors in default order of priority. Tabte 5-1 interrupt Vector Locations r, E _ F" None — — -E:-— m $EE w w m m We m SC‘ICR2 memrsemmmxmzm mam,me mmma m:an mmmwmwmwmmnmymwaemmmmmm mm; mem WNWIH mxmzaernmmm fifimé‘nk'simxfime rm: ® MOWROLA 77 ,"'"~‘. MCQS‘IZDPZSBB Device User Guide ~— V02.15 am $00 000 $00 000 002 000 $00 $00 000 000 000 m 000 m 000 m 00000000000000 $00 000 000 0000000000 000 $00 m 000 $00 l-Bit CAN1TIEF1(TXEIE2-TXEEEO) $A8 m m 000 000 m 000 m ' 0000000000 00000000000 000 m $FF80.$FF8D PWMSDN(PWMEE) sec $FF80 to $FFBB 5.3 Effects of Reset When a reset occurs, MCU'registers and control bits are changed to known start—up states. Refer to the respective module Block User Guides for register reset states. 5.3.1 1/0 pins Refer to the HCS 12 Core User Guides for mode dependent pin configuration of port A, B, E and K out of reset. Refer to the PIM Block User Guide for reset configurations of all peripheral module ports. mmwamwmmamxmwm 3w; :rkfimmmimmwammawmg:mwm‘mmmkmmwmzfié gram. wwwwmflmmwwmwika mmmaanww m. ® MOTOROLA .. 3 gag/m: . )5- ggwggg w/ Mgfmxwfig ‘ -§ WHO-#94 [7746 MW? 1/? fly: 1: i _:' 5&6; mama/{9v figfifiégfmg : g - ; . - WW w m I m ;__- i m“WWWaema__ - I j§3-;- . = ' i 779$}: _7IMe1/¥ 'I I _ 553:" {NilgfiffCfifigéflj _/';/H~'"(f‘7‘/:;{g;g ifiV§ :2 gag?" 73% a; 3:»? giwrggiég fyzfié ‘3 K? T i ' page; 525% ' 6/ 7'1“6 h/h'%gé_' - ' ; 32W“; .- a; 3/0 flJ/dgfé’fimg K I . MKMfl/y i I ' Mfr? _ .. ' = _ flea. m . 3"“.gmé‘éé _ 'zfgfiggg g W3. yaw wwgg/ = _ fl; WW em? 5kg Z Z I Q _- _ ' E bbKA_ Eau Dbmifli Eat)? (PQQTA ' 656(k): $0000 LDAA WM: . . §€ «1&4 i?" 9% ngé/a ; i z??? agffgzk? Mwmf wig fifng I . . P . vi; '. :fiigyggiggfi? ; - daM gws’éafififif ' . ' @9552; {5' féggzfifgfi flag, - . : Wm 5w- " : _.MWéng/' dag/w m miwéxf‘éé-‘i : ' W~. W figfi‘éwé.f¢fgé*??"x3 " I W3 ,W mtg/m3 _' . i ...
View Full Document

Page1 / 21

Week9_IODevices - jwfiéma i ' 'i ” '...

This preview shows document pages 1 - 21. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online