Home

user`s manual - Freescale Semiconductor

image

Contents

1. 144 For Release 1 3a More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information jt x x x x Wx jet FERE ETHER HERE THE THE THE H THE 0 2 THE 5 3 dog 2 5 WK KKK KKK KK KK KKK System Hard Reset Configuration
2. FlashEn DramEn EthEn InfRedEn FlashCfgEn CntRegEn RS232En PccEn PccVccOn PccVppO PccVppl HalfWord 143 PI PI PI PI PIN PI PI PI PI PI PI PI 44 55 46 59 25 13 48 40 39 is is is is is is is is is type type type type type type type type type reg buffer reg buffer reg buffer reg buffer reg buffer reg buffer reg buffer reg buffer reg buffer 5 istype reg buffer 3 istype 38 istype reg buffer reg buffer flash enable dram enable ethernet port enable infra red port enable flash configuration enable control register access enabl RS232 port enable PCMCIA port enable PCMCIA operation voltage select PCMCIA programming voltage select PCMCIA programming voltage select 32 16 bit dram operation select Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information
3. data buffers enable BUFFER DISABLI BUFFER ENABL 134 BUFFER DISABLED Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information CONTROL REG ENABLE ACTIVE 0 T FLASH CONFIG ENABLED ACTIVI ll O PCMCIA ENABLE ACTIVE 0 GPL ACTIVE 0 TEA ASSERTS TEA amp SyncTEA fb first clock of TEA asserted CONTROL REG ENABLED ContRegEn CONTROL REG ENABLE ACTIVE FLASH CONFIGURATION ENABLED FlashCfgEn FLASH CONFIG ENABLED ACTIVE PCC ENABLED PccEn PCMCIA ENABLE ACTIVE NO HOLD OFF 0 HOLD OFF CONSIDERED 1
4. System i f pins SYSCLK PIN 15 RGPORIn PIN 49 ResetConf PIN 16 142 Release 1 3a For More Information On This Product Go to www freescale com BrdContRegCs TA R_W A28 A29 DO D1 D2 D3 D4 D5 D6 D7 D8 D9 J oO ow NHN n CO Freescale Se micenductor Ing nual Support Information PT PI PE PI PI PI PI PI PI PI PI PI PI PI PI PI PI PI PI PI PI 50 a 20 Als 54 28 293 30 Joy 36 Board Control Pins Read Write
5. mx 4 T FERE ETHER LE THE 0 Ts 2 ud THE THE 5 E THE 3 T T Ht 2 eH THE 5 WK KKK kk KKK KKK KKK KK KKK KK KK Reset active Active when at least one of the reset sources is active x WK KKK KKK KKK KKK KKK KKK KKK KKK KK KK PrimReset NODE istype com Primary Reset Host initiated D PrimReset NODE istype com delayed Reset DD PrimReset NODE istype com double de
6. Config Reg definitions IN ERNAL ARBI EX ERNAL RA ARBI 148 RA ION ION 0 INTI ERNAL ARBITRATION Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information IP AT OxFFF00000 O active low IP AT 0x00000000 IP AT OxFFF00000 RSV2 ACTIVE 1 BOOT DISABLE 1 BOOT ENABLE BOOT DISABLE ET BOOT PORT 32 0 BOOT PORT 8 1 BOOT PORT 16 2 BOOT POR ESERVED 3 RSV6_ACTIVE 1 INT SPACE BASE 0x00000000 0 INT SPACE BASE 0x00F00000 1 INT SPACE BASE OxFF000000 2 2 INT SPACE BASE OxFFF00000 3 DEBUG PINS PCMCIA 2 0 DEBUG PINS WATCH POINTS 1 DEBUG
7. CntRegEnProtect 145 NODI E istype reg buffer Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information PREFE x HE dE db dE HE gt dHeHHE x HEHE x 2 x Wx HEHEHE dk Wx HEHEHE x dH og d d gt GHEE gt d gt d gt THE dk do Gk HE dE db dk THE T LE THEE THE T T THE THE THE THE S db Gk THE THE THE 3 db Gk dE dE db ok THE HEHEH T THE T THERE THE 3 THE H
8. Board Status Pins Read only FlashPD7 FlashPD6 FlashPD5 FlashPD4 FlashPD3 FlashPD2 FlashPD1 DramPdEdo DramPD4 DramPD3 DramPD2 DramPD1 ExtToolI0 ExtToolI1 ExtToolI2 ExtToolI3 PccVppG PIN PIN PIN PIN PIN PIN PIN PI PI PI PI PI Pali E PI PI PI 66 65 67 435 23 220 2 lr Ts 60 56 45 57 58 47 qoem 4 Flash presence detect lines Dram SIMM Identification pins External Tools Identification pins PCMCIA VPP GOOD indication Auxiliary Pins
9. Hy 3X C D U 1 0 Guy 7 ep 4117 KK KK KKK KKK KKK ck SIMULATION SLOW PLL LOCK DRAM 8 BIT OPI 1 1 ERATION 1 Signal groups ck Add Data ConfigReg 146 A28 A29 DO D15 ERB IP RSV2 BDIS BPSO BPS1 RSV6 ISBO ISB1 DBGCO DBGC1 DBPCO DBPC1 RSV13 RSV14 RSV15 For More Information On This Product Go to www freescale com Release 1 3a BPS ISB DBGC DBPC
10. state_diagram PccVpp state PCC_VPP_0 if PDA WRITE CONTROL REG1 amp PCC VPP DATA BIT pin PCC VPP 12 amp KA PON RES PCC VPP PON DEFAULT PCC VPP 0 KA PON RESET amp PCC VPP PON DEFAULT PCC VPP 12 then PCC VPP 12 else if PDA WRITE CONTROL REG1 amp PCC VPP DATA BIT pin PCC VPP 5 amp KA PON RESET PCC VPP PON DEFAULT PCC VPP 0 KA PON RESET amp PCC VPP PON DEFAULT PCC VPP 5 then PCC VPP 5 else if PDA WRITE CONTROL REG1 amp PCC VPP DATA BIT pin PCC VPP TS amp KA PON RESET PCC VPP PON DEFAULT PCC VPP 0 KA PON RESET amp PCC VPP PON DEFAULT PCC VPP TS then PCC VPP TS else PCC VPP 0 state PCC VPP 12 if PDA WRITE CONTROL REG1 amp 170 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information PCC VPP DATA BIT pin PCC VPP 0 amp KA PON RESET PCC VPP PON DEFAULT PCC VPP 12 KA PON RESET amp PCC VPP PON DEFAULT PCC VPP 0 then PCC VPP 0 else if PDA WRITE CONTR
11. sing 7 12007 6 D U C D U I gt gt k II III II I III IG Tx k Kok SLOW_32K_LOCK 1 Signal groups PdaAdd A9 A10 A19 A20 A30 DramAdd DramAdd10 DramAdd9 DramCS DramBank2Cs DramBank1Cs RAS Rasl Ras1DD Ras2 Ras2DD SD SizeDetect1 SizeDetect0 FlashCsOut FlashCs4 FlashCs3 FlashCs2 FlashCs1l Reset HardReset SoftReset
12. In This file 6 Al2 and All are removed from the flash selection equation since they can select only a 1 2 Mbyte of flash rather then 2Mbyte selection needed Therefore only one bank of 2 Mbyte flash may be used MCM29F020 The rest of the CS are driven high constantly In this file 7 Pon Reset Out is removed Pon Reset is driven directly to MPC Modck0 becomes Modck2 A9 and A10 replace A11 and A12 in flash bank selection Optional BufClose is removed DramEn becomes active low to support debug station support changes Added F PD 1 3 to support SMART Flash SIMMs Support for 32KHz crystal renewed
13. Data Bits Assignments WK KKK KKK KK ERB DATA BIT D0 IP DATA BIT D1 RSV2_DATA_BIT D2 BDIS_DATA_BIT D3 BPS_DATA_BIT D4 D5 RSV6_DATA_BIT D6 ISB DATA BIT D7 D8 DBGC DATA BIT D9 D10 DBPC DATA BIT D11 D12 RSV13 DATA BIT D13 RSV14 DATA BIT D14 RSV15 DATA BIT D15 Control Register 1 definitions 150 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information WK ck CC Ck KKK KKK KK KKK KK KK HALF WORD
14. IP BDIS RSV2 BPSO BPS1 RSV6 ISBO ISB1 DBGCO DBGC1 DBPCO DBPC1 RSV13 RSV14 RSV15 DataOe NODI NODI NODI NODI NODI NODI NODI NODI NODI NODI NODI NOD NODI E istype reg bu E istype reg bu E istype reg bu E istype reg bu E istype reg bu E istype reg bu E istype reg bu E istype reg bu E istype reg bu E istype reg bu E istype reg bu E istype reg bu E istype com ffer ffer ffer ffer ffer ffer ffer ffer ffer ffer ffer ffer External Arbitration Interrupt Prefix in MSR Boot Disable reserved config bit 2 Boot Port Size reserved config bit 6 Internal Space Base Debug pins Config Debug Port pins Config reserved config bit 13 reserved config bit 14 reserved config bit 15 data bus output enable on read Control Register Enable Protection
15. Power On Reset definitions FLASH_CFG_ENABLE K A PON RESET ACTIVE changed due RESET CONFIG ACTI Ty Ly Q5 RR RRR KK ee e e x to long lock delay of the pda ifndef SLOW_PLL_LOCK KA_PON_RESET 147 RGPORIn K A PON 1 ESET_ACTIV 1 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Qifdef SLOW PLL LOCK PON Di EFA KA PON RESET PonDefault PON DEFAULT ACTIVI ULT ACTIVE Support Information 1 end of change ET CONFIG DRIVI ResetConf RESET CONFIG ACTIVE amp FlashCfgEn FLASH CFG ENABLE
16. ModIn PIN 64 MODCK dip switch Modck2 PIN 60 istype com MODCK2 output Modck1 PIN 66 istype com MODCK1 output ModckOe NODE istype com enables MODCKs towards PDA during Hard Reset 129 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information Data Buffers Enables and Reset configuration support TA PIN 6 transfer Acknowledge EA PIN 47 Transfer Error Acknowledge FlashCfgEn PIN 17 flash configuration enable from control register PccEn PIN 4 PCMCIA channel enable from control reg PccCE1 PIN 16 PCCCE2 PIN 43 UpperHalfEn PIN 3 istype
17. Tx shift Register 8 bits shift register which either shifts data out MSB first or holds its data The edge in Clk4 terms upon which the above actions are taken is determined by TxClkSns The Tx shift register operates according to Clk2 The Tx shift register is 1 st written by the host data cycle and along with write being acknowledged to the host data is shifted out via DSDI x In order of saving logic the Tx shift register is shared with the Receive shift register this due to the fact that when a bit is shifted out a FF becomes available Since the Tx shift register is shifted MSB first its LSB FFs are gradually becoming available for received data To provide a 1 2 DSCK hold time for DSDI a single FF receive SR is used which is the source for the Tx shift register if 0 hold is required for DSDI this FF may be omitted WK CC CC KKK KK KK KK KKK equations TxReg clk 2 xReg ar Reset when HOST_WRITE_ADI_DATA amp BndTmrExp fb amp STATE_TX_ENABLED then TxReg7 TxRegl PD7 PD1 pin latching ADI data else when STATE TX ENABLED amp STATE
18. kk KKK KK KKK KK KK clock generator ck SYSCLK PIN 15 pda clkout WK ck KKK KK KKK KKK kk KKK KK KKK KK KK Dram Associated Pins 29 PIN 55 A10 PIN 39 A19 PIN 38 A20 PIN 2 127 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se mic
19. Register Access definitions CONFIG REG AD CON ROL REG_AI DD STA US PDA WRI PDA WRI PDA WRI PDA PDA PDA PDA PDA REA _REG1_AI DD E CONFIG REG E CON ROL REG E CON ROL REG REA D_CONFIG_REG REA D CONTROL REA D_STATUS_REG1 REA D_STATUS_REG2 1 2 BrdContRegCs 6 TA R_W A28 6 A29 CntRegEn BrdContRegCs amp TA R_W amp A28 6 A29 6 CntRegEn BrdContRegCs TA 6 R_W amp A28 amp A29 amp CntRegEn D BrdContRegCs amp R_W amp CntRegEn BrdContRegCs amp R W A28 6 A29 amp CntRegEn BrdContRegCs R_W amp A28 amp A29 amp CntRegEn BrdContRegCs amp R W amp A28 6 A29 amp CntRegEn BrdContRegCs 6 R W amp A28 6 A29 CntRegEn
20. gt Wx Wx gt gt gt Wx gt gt gt Wx AdsAck Host write to ads ack This state machine generates an automatic ADS_ACK during a host to ADS write When the host access the ADS data control register an automatic acknowledge is generated after data has been latched into either the tx shift register or the control register Acknowledge is released when the host removes its write control line HstReq The machine steps through these states 0 ADS ACK ACTIVI 1 ADS ACK ACTIVI WK KKK equations AdsAck clk C1k2 AdsAck ar Reset AdsAck oe ADS IS SELECTED S HstReq clk Clk2 DS HstReq clk Clk2 S HstReq HstReq DS HstReq S HstReq fb amp HstReq double synced S D C clk C1k2 synchronizing D C selector SD C D Ces state_diagram AdsAck 116 state ADS ACK ACTIVI EH if HOST WRITE ADI CONTROL HOST WRITE ADI DATA amp PdaRst fb amp BndTmrExp fb then ADS ACK ACTIVE else ADS ACK ACTIVI BJ ET state ADS ACK ACTIVE if DS_HstRe
21. ck ckckckckckckckckckck equations odck oe ModckOe odckOe DRIVE MODCK TO PDA odck2 L ifndef SLOW 32K LOCK Modck2 ModIn support for 1 513 32KHz crystal or Modck1 ModIn 1 5 5MHz clock gen via CLK4IN ifdef SLOW 32K LOCK Modck2 ModIn support for 1 1 or 1 5 from CLK4IN only Modckl H no support for 32K oscillator 136 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information WK ck CK KKK KK KK KKK Hard reset configuration equations ResetConfig oe 1 zm DriveConfig oe T Configuration hold counter Since the rise time of the HARD RESET signal is relatively slow there is a need to provide a hold time for reset configuration ConfigHold cl
22. 0 4 0 5 2 9 ER RE HM DX Dd DA e P6 eo v 7 0 1 Pd Dd D X 40 35 DX bd DX A E lt lt 0 3 S 4 lt ot Y 1 8 Mu P10 pg a m Recommended Hole for MPC Socket Access N im 1 N
23. local data buffers enable Wk KKK KKK KKK KKK KKK KK KKK KK KKK KK KK equations 137 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information SyncHardReset clk SYSCLK DSyncHardReset clk SYSCLK SyncHardReset HardReset DSyncHardReset SyncHardReset fb SyncTEA clk SYSCLK SyncTEA TEA LocDataBufEn oe 3 UpperHalfEn DramBanklCs 6 DRAM ENABLED i DramBank2Cs amp SIMM36200 4 SIMM36800 amp DRAM ENABLED FlashCs amp FLASH ENABLED ContRegCs amp CONTROL REG ENABLED i IPccCEl1 6 PCC ENABLED PccCE2 6 PCC ENABLED ConfigHoldEnd fb amp STATE_HOLD_OFF_CONSIDERED amp HOLD_OFF_PERIOD STATE NO HOLD OFF LowerHalfEn DramBanklCs amp DRAM ENABLED 6 IS HALF WORD DramBank2Cs amp SIMM36200 4 SIMM36800 IS HALF WORD 6 DRAM ENABLED FlashCs 6 FLASH ENABLED ConfigHoldEnd fb amp FLASH CONFIGURATION ENABLED amp STATE HOLD O
24. PdaHardReset PIN 40 Pda s hard reset input I O o d PdaSoftReset PIN 65 Pda s soft reset output I O o d VFLSO 1 PIN 10 11 Debug Trap mode report IN DSCK PIN 48 istype com Pda s debug port clock Out DSDI PIN 47 istype com Pda s debug serial data in Out DSDO PIN 4 Pda s debug serial data output In Mach to ADI data bus x PD7 PD6 PD5 PDA PD3 PD2 PD1 PDO PIN 66 60 67 59 58 57 56 55 ADI data bus I O
25. E 2 4 2 Debug Port Controller For Target System This configuration resembles the previous but here the local MPC is removed from its socket while the ADS is connected via a 10 lead Flat Cable between P5 and a matching connector on a target system 12 For More Information On This Product Go to www freescale com Release 1 3a Freescale Se migonducton Ing Hardware Preparation and Installation WARNING When connecting the ADS to a target system via P5 and a 10 lead flat cable the MPC MUST be REMOVED from its SOCKET U18 Otherwise PERMANENT DAMAGE might be inflicted to either the Local MPC or to the Tar get MPC With this mode of operation all on board modules are disabled and can not be accessed in anyway except for the debug port controller Also all indications except for 5V power 3 3V power and RUN are darkened All debugger commands and debugging features are available in this mode including s w download breakpoints etc The target system may be reset or interrupted by the debug port or reset by the ADS s RESET switches It is the responsibility of the target system designer to provide Power On Reset and HARD Reset configurations while SOFT Reset configuration is provided by the debug port controller See also 4 015 1 MPC821 860ADS As Debug Port Controller For Target System on page 56 FIGURE 2 8 Deb
26. KKK KKK KK KK KK KKK equations WideContReg clk DrivenContReg oe SYSCLK hfff State diagram FlashEn State FLASH ENABLED if PDA WRITE CONTROL 01 amp FLASH ENABLE DATA BIT pin FLASH ENABLED amp KA PON RES FLASH ENABLE PON DEFAULT FLASH ENABLED KA PON RESET amp FLASH ENABLE PON DEFAULT FLASH ENABLED IFLASH ENABLED else FLASH ENABLED state FLASH ENABLED if PDA WRITE CONTROL REG1 amp FLASH ENABLE DATA BIT pin FLASH ENABLED amp KA PON RESET FLASH ENABLE PON DEFAULT FLASH ENABL KA PON RESET amp FLASH ENABLE PON DEFAULT FLASH ENABLED FLASH ENABLED else FLASH ENABLED ED then d then 165 For More Information On This Product Go to www freescale com Rele
27. CNT REG EN PROTECT DATA BIT pin CNT REG EN PROTECT amp KA PON RESET CNT REG EN PROTECT PON DEFAULT CNT REG EN PROTECT KA PON RESET amp CNT REG EN PROTECT PON DEFAULT CNT REG EN PROTECT then CNT REG EN PROTECT else CNT REG EN PROTECT state CNT REG EN PROTECT if PDA WRITE CONTROL REG2 amp CNT REG EN PROTECT DATA BIT pin CNT REG EN PROTECT amp KA PON RESET CNT REG EN PROTECT PON DEFAULT CNT REG EN PROTECT KA PON RESET amp CNT REG EN PROTECT PON DEFAULT CNT REG EN PROTECT PDA WRITE CONTROL REG1 then any write to control reg 1 CNT REG EN PROTECT else CNT REG EN PROTECT VE ck ck CC CK KK KK KK KKK protected by CntRegEnProtect to prevent from inadvertant write ck sta
28. kk Ck KKK KK kk 50 PDA debug port gated serial clock equations DSCK oe ADS IS SELECTED when ADS IS SELEC I D amp PdaSoftReset then DSCK H debug mode enable else when ADS IS SELECTED 6 TxEn fb 6 PdaSoftReset then DSCK DebugEntry fb debug mode direct entry else when ADS IS SELECTED 6 TxEn fb 6 STATE TX ON RISING then DSCK Clk4 debug port clock else when ADS IS SELECTED amp TxEn fb amp STATE TX ON FALLING then DSCK Clk4 debug port inverted clock else when ADS IS SELECTED then DSCK H default value infact X DSDI Debug Port Ser
29. pcc data buffers direction KK KK KKK Ck KK KK VE ck ck equations 139 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information PccR_W oe H PccR_W R W Dram Address lines These lines are connected to the dram high order address lines A9 and A10 if available These lines change value according to the dram size and port size The dram size is encoded from the presence detect lines s definitions above and the port size is determined by the control register
30. Auxiliary functions Wk KKK Ck KKK KKK KKK ckckckckckckckckckck equations KeepPinsConnected TA KAPORIn end brd ct19 141 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information 3 U11 Board Control amp Status Register In this file 6 Added board revision at BCSR3 0 ENG E 1 nx 2 A Flash Presence detect lines added FlashPD 7 5 Changed polarity of Power On Reset now active high DramEn becomes active low to enhance debug station support changes module cnt reg6 title MPC821ADS Board Control and Status Register VE ck ck kk KK KKK KK KKK KKK KKK KKK KK KK KK x Device declar
31. CC VE ck ck state diagram 2 RSV2 ACTIVE state if PDA_WRI G amp _ CONFIG RI E RSV2 DATA BIT pin RSV2 ACTIVE amp then RSV2 ACTIVI PON RES FAULT T RSV2 PON DI EFAU KA PON RESET amp RSV2 PON DI T RSV2 ACTIVE RSV2 ACTIVI EN else RSV2 ACTIV state RSV2_ACTIVE LE E G PDA WRITI amp _ CONFIG RI RSV2 ACTIV RSV2_DATA_BIT pin amp iT KA_PON_RES PFAU RSV2_AC ET RSV2 PON DI RSV2 AC then KA PON RES amp RSV2 PON DEFAULT RSV2 ACTIV LH else RSV2 ACTIVI 3 KK KKK KK KK KKK KKK state diagram 5 state BOOT_ENABLE if PDA_WRITE_CONFIG_REG amp BDIS_DATA_BIT pin BOOT_DISABLE amp KA_PON_RESET B
32. U07 device mach220a 102 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information VE ck ck ck CC kk KK KKK KK 3 usd PRHE RRHH n x EREHE LE THE e LE T x 44 THE LE THE THE THE VE ck kk CC KKK Ck Ck KK KKK KK KK Pins declaration WK ck KKK KKK KKK KKK KKK KK KK ADI Port pins HstReq PIN 20 H
33. Pin No Signal Name Description 8 CTS Clear To Send output from the MPC821ADS 9 Not connected 5 1 4 PCMCIA Port Connector The PCMCIA port connector P4 is a 68 pin Male 90 PC Card type signals of which are presented in TABLE 5 4 TABLE 5 4 4 PCMCIA Connector Interconnect Signals Pin No Signal Name Attribute Description 1 GND Ground 2 PCCD3 1 0 PCMCIA Data line 3 3 PCCD4 I O PCMCIA Data line 4 4 PCCD5 MO PCMCIA Data line 5 5 PCCD6 0 PCMCIA Data line 6 6 PCCD7 IO PCMCIA Data line 7 7 BCE1A 0 PCMCIA Chip Enable 1 Active low Enables EVEN numbered address bytes 8 PCCA10 0 PCMCIA Address line 10 9 OE 0 PCMCIA Output Enable signal Active low Enables data outputs from PC Card during memory read cycles 10 PCCA11 0 PCMCIA Address line 11 11 PCCA9 0 PCMCIA Address line 9 12 PCCA8 0 PCMCIA Address line 8 13 PCCA13 O PCMCIA Address line 13 14 PCCA14 0 PCMCIA Address line 14 15 WE PGM 0 PCMCIA Memory Write Strobe Active low Strobes data to PC Card during memory write cycles 16 RDY Ready Busy signal from PC Card Allows PC Card to stall access from the host in case a previous access s processing is not completed 17 PCCVCC 0 5V VCC for the PC Card Switched by the MPC821ADS via BCSR1 18 PCCVPP O 12V 5V VPP for the PC Card programming 12V available only if12V is applied to P8 Controlled by the MPC821ADS via BCSR1 19 PCCA16 O PCMCIA Address line 16 2
34. RS232 ENABLE PON DEFAULT RS232 ENABLE PCC ENABLE PO iw EFAULT PCC_ENABLE PCC_VCC_PON_DEFAUL PCC VCC OFF PCC VPP PON DEFAUL PCC VPP TS FLASH ENABLE PON DEFAULT FLASH ENABLED INF RED ENABLE PON DEFAULT INF RED ENABLE FLASH CFG ENABLE PON DEFAULT FLASH CFG ENABLE CNT REG EN PROTECT PON DEFAULT CNT REG EN PROTECT Data Bits Assignments WK KKK KKK KKK KKK KK FLASH ENABLE DATA BIT DO DRAM ENABLE DATA BIT D1 For More Information On This Product Go to www freescale com Release 1 3a Freescale Se micenductor Ing nual Support Information ETH ENABLE DATA BIT D2 INF RED ENABLE DATA BIT D3 FLASH CFG ENABLE DATA BIT D4 CNT REG EN PROTECT DATA BIT D5 CONT REG ENABLE DATA BIT D6 RS
35. In this file 8 Added protection against data contention for write cycles after TX Flash read cycle This is achieved using a state machine which identifies x end of flash read and a chain of internal gates serving as a delay line T This kind of solution guaranties a fixed delay over the data buffer enable T signal that is only after a flash read cycle WK KKK KKK KKK KK KKK KK KK In this file 9 126 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information The addressing scheme of the flash is changed so that the bank does Ts not occupy a space bigger than its real size I e A9 and A10 use TW is conditioned with the module type WK CC CC KK KK KK KKK module 5209 title MPC821ADS Board Misc Control Functions WK ck ck CC Ck ck
36. KK KKK KK KK Reset amp Interrupt Logic Pins RstDeb1 NODE AbrDeb1 NODE HardResetEn NODE SoftResetEn NODE ConfigHold2 ConfigHoldl ConfigHoldQ NODE ConfigHoldEnd istype reset push button debouncer istype com abort push button debouncer istype com enables T S hard reset pin istype com enables T S soft reset pin istype reg buffer supplies data hold time for NODI istype hard reset configuration com VE ck ck kk KKK KKK KK KKK KK KK data buffers enable VE ck ck SyncHardReset NODE istype reg buffer synchronized hard reset DSyncHardReset NODE istype reg buffer double synchronized hard reset SyncTEA NODE istype reg buffer needed since TEA is O D
37. KKK KK KKK KK gt 1 4 gt gt 4 1 4 1 4 1 gt so HHEH 2 HEHE x x x x x HEHE x mx gt d gt HEHHE gt d gt d THE de deo dE dk HH HEHEHE THE LE T T T THE THEE Th THE TRO THE THE T THE THE THE EEEH THE THE THE LE THE VE ck KK Ck CC Ck KKK KK KKK KK KK H L C 107 For More Information On This Product Go to www freescale com Release 1 3a Freescale Se micenductor Ing nual Support Information Since all state machines operate at 1 2 system clock Clk2 there is no need to have SYSCLK driven during simulation it will double the number of vectors required
38. KKK KKK KK KKK KK KK TxClkSns Transmit Clock Sense Since Host req is synced acc to 0112 and may be detected active when 0114 is either 1 or 0 DSCK and the clock according to which DSDI is sent and DSDO is sampled should be changed When TxClkSns is 0 DSCK will be Clk4 while transmit will be done nes according to 0114 and receive by Clk4 When TxClkSns is 1 DSCK will be 01 4 while transmit will be done mx according to Clk4 and receive by 0114 KK KKK KKK kk VE ck ck ck equations TxClkSns clk 2 TxClkSns ar Reset State diagram TxClkSns state TX ON RISING if HOST WRITE ADI DATA amp BndTmrExp fb amp Clk4 then TX ON FALLING else TX ON RISING state TX ON FALLING if HOST WRITE ADI DATA amp BndTmrExp fb amp Clk4 then TX ON RISING else TX ON FALLING 118 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information
39. KKK KK KK KK KK x Device declaration 5 KK KKK KK KK ck 010 device mach220a 3 y e PER HERE LE THE usd A EREE LE THE THE 2 Tx LE THE 5 d Ht A 4 THE PET 5 ck Pins declaration d VE ck ck CC
40. KK KKK KKK CC CK VE ck ck gt gt gt Wx gt 261101 This bit of the status register is set 1 when the pda internally resets during data transmission over the debug port When this bit is written 1 by the adi port control the status bit is cleared Writing 0 has no influence on that bit equations X Error clk 0112 X Error ar Reset state diagram TxError state TX DO OK if STATE_TX_ENABLED amp PdaRst fb then X_INTERRUPTED else X_DONE_OK state TX_INTERRUPTED I if HOST WRITE ADI CONTROL amp BndTmrExp fb amp PD6 pin HOST WRITE ADI DATA amp BndTmrExp fb amp PdaRst fb then X DONE OK else X INTERRUPTED end dbg prt6 125 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se m
41. INF RED ENABLE state INF RED ENABLE if PDA WRITE CONTROL REG1 amp INF RED ENABLE DATA BIT pin INF RED ENABLE amp KA PON RESET 4 INF RED ENABLE PON DEFAULT INF RED ENABLE KA PON RESET amp INF RED ENABLE PON DEFAULT INF RED ENABLE then INF RED ENABLE else INF RED ENABLE state_diagram FlashCfgEn state FLASH CFG ENABLE if PDA WRITE CONTROL REG1 amp FLASH CFG ENABLE DATA BIT pin FLASH CFG ENABLE amp LKA PON RESET 4 FLASH CFG ENABLE PON DEFAULT FLASH CFG ENABLE KA PON RESET amp FLASH CFG ENABLE PON DEFAULT FLASH CFG ENABLE then FLASH CFG ENABLE else FLASH CFG ENABLE state FLASH CFG ENABLE if PDA WRITE CONTROL REG1 amp FLASH CFG ENABLE DATA BIT pin FLASH CFG ENABLE amp
42. KA PON RESET amp DBPC PON DEFAULT DEBUG PORT RESERVED then DEBUG PORT RESERVED else if PDA WRITE CONFIG REG amp T DBPC_DATA_BIT pin DEBUG_PORT_ON_DEBUG_PINS amp KA PON RESET DBPC PON DEFAULT DEBUG PORT ON JTAG KA PON RESET amp DBPC PON DEFAULT DEBUG PORT ON DEBUG PINS then EBUG PORT ON DEBUG PINS else J Ww UG_PORT_ON_JTAG state DEBUG_PORT_NON_EXISTANT if PDA_WRITE_CONFIG_REG amp DBPC_DATA_BIT pin DEBUG_PORT_ON_JTAG amp KA_PON_RESET DBPC PON DEFAULT DEBUG PORT NON EXISTANT KA PON RESET amp DBPC PON DEFAULT DEBUG PORT ON JTAG then DEBUG PORT ON JTAG else if PDA WRITE CONFIG REG amp DBPC DATA BIT pin DEBUG PORT RESERVED amp 1KA PON RESET 4 DBPC PON DEFAULT DEBUG PORT NON EXISTANT KA PON RESET amp DBPC PON DEFAULT DEBUG PORT RESERVED then DEBUG PORT RESERVED else if PDA WRITE CONFIG REG amp T DBPC_DATA_BIT pin DEBUG_PORT_ON_D 1 BUG_PINS 8 KA PON RESET 4 DBPC PON DEFAULT DEBU
43. equations DramAdd oe 3 when IS HALF WORD IS HALF WORD amp SIMM36400 SIMM36800 then DramAdd9 A20 else DramAdd9 A30 when SIMM36400 4 SIMM36800 IS HALF WORD then DramAdd10 A19 else when SIMM36400 SIMM36800 amp IS HALF WORD then DramAdd10 A30 else DramAdd10 0 WK CC Ck kk KKK KK kk RAS generation Since the dram simm requires RAS signals to be split due to high capacitive load and to allow 16 bit operation When working with 16 bit port size the double drive RAS signals are disabled equations RAS oe hf Rasl DramBanklCs 8 DramBank2Cs amp DRAM ENABLED 140 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information IRas2 DramBank2Cs amp DramBanklCs 6 DRAM ENABLED amp SIMM36200 SIMM36800 IRaslDD
44. Clock gen pins SYSCLK PIN 15 System clock IN Clkout2 PIN 12 istype reg buffer System clock divided by 2 Clk4 PIN 14 istype reg buffer System clock divided by 4 Out Out for testing may be node Clk2 PIN 16 Connected to Clkout externally In x Misc Run PIN 23 istype external indication 104 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information
45. KKK kk Ck KKK KKK KK KK KKK KK TX_ON_RISING 0 TX_ON_FALLING 1 n STA X ON RISING TxClkSns fb TX ON RISING STA n X ON FALLING TxClkSns fb TX ON FALLING AdsReq machine definitions WK Ck KKK KKK KKK KK KKK KK KK ADS REQ ACTIVE 1 The other state is ADS ACTIVE HOST READ ADI AdsSelect fb BOARD IS SELECTED amp DS HstAck fb HOST ACK ACTIVE amp AdsReq ADS REQ ACTIVE amp HstReq HOST REQ ACTIVE HOST READ ADI DATA HOST R 111 EAD ADI CONTROL DS HstAck fb HOST AC AdsSelect fb BOARD IS 5 HstReq HOST AdsReq ADS REQ ACTIVI D_C DATA AdsSelect fb BOAR
46. T RB_PON_DEFAULT INTERNAL_ARBITRATION then KA PON RESET INTERNAL ARBITRATION else EXTERNAL ARBITRATION state_diagram IP state IP 7 2 if PDA_WRITE_CONFIG_REG amp IP _DATA_BIT pin IP_AT_0x00000000 amp KA_PON_RESET IP _PON_DEFAULT IP AT OxFFF00000 KA PON RESET amp IP PON DEFAULT IP AT 0x00000000 then IP AT 0x00000000 else IP AT OxFFF00000 state IP AT 0x00000000 if PDA WRITE CONFIG REG amp IP DATA BIT pin IP AT OxFFF00000 KA PON RESET 4 IP PON DEFAULT IP AT 0x00000000 KA PON RESET amp IP PON DEFAULT IP AT OxFFF00000 then IP AT OxFFF00000 else IP AT 0x00000000 154 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information KK KKK kk KKK CC
47. DBGC DATA BIT pin DEBUG PINS PCMCIA 2 amp PON RESET DBGC PON DEFAULT DEBUG PINS RESREVED KA PON RESET amp DBGC PON DEFAULT DEBUG PINS PCMCIA 2 then DEBUG PINS PCMCIA 2 else if PDA WRITE CONFIG REG amp DBGC DATA BIT pin DEBUG PINS WATCH POINTS amp KA PON RESET DBGC PON DEFAULT DEBUG PINS RESREVED KA PON RESET amp DBGC PON DEFAULT DEBUG PINS WATCH POINTS then DEBUG PINS WATCH POINTS else if PDA WRITE CONFIG REG amp DBGC DATA BIT pin DEBUG PINS FOR SHOW amp KA PON RESET DBGC PON DEFAULT DEBUG PINS RESREVED KA PON RESET amp DBGC PON DEFAULT DEBUG PINS FOR SHOW then DEBUG PINS FOR SHOW DEBUG PINS RESREVED state DEBUG_PINS_FOR_SHOW if PDA WRITE_CONFIG_REG amp DBGC_DATA_BIT pin DEBUG_PINS_PCMCIA 2 amp KA PON RESET DBGC PON DEFAULT DEBUG PINS FOR SHOW KA PON RESET amp DBGC PON DEFAULT DEBUG PINS PCMCIA 2 then DEBUG PINS PCMCIA 2 T else if PDA WRITE CONFIG REG 6 DBGC DATA BIT pin DEBUG PINS WATCH POINTS amp 1KA PON RESET 4 DBGC PON DEFAULT DEBUG PINS FOR SHOW
48. VE ck ck AdsReq Host from ads read acknowledge This state machine generates an automatic ADS read request from the host when either a byte of data is received in the Rx shift register or the status request bit in the control register is active during a previous host write to the control register When the host detects AdsReq asserted it asserts HstAck in return HstAck 120 Release 1 3a For More Information On This Product Go to www freescale com gt gt Wx gt gt Wx gt Freescale Se micenductor Ing nual Support Information double synchronized from the ADI port and delayed using the bundle delay compensation timer to negate AdsReq When the host detects AdsReq negated it knows that data is valid to be read After the host reads the data it negates HstAck The machine steps through these states 0 ADS REO ACTIVE 1 ADS REQ ACTIVE equations AdsReq clk 7 AdsReq ar Reset AdsReq oe ADS IS SELECTED S_HstAck clk C1k2 DS_HstAck clk C1k2 S_HstAck HstAck DS HstAck HstAck amp S HstAck
49. DsdiEn NODE istype reg enables dsdi towards 106 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information VE ck ck ck KKK Ck KKK KK KKK KK KK ADI control 8 status register bits StatusRequest DebugEntry DiagLoopBack Delayl Delay0 InDebugMode TxError NODE istype NODE istype NODE istype NODE istype NODE istype NODE istype reg reg buffer buffer reg buffer reg buffer reg buffer reg buffer Status request Debug nabl after reset L diagnostic loopback mode L bundle delay field sync VFLSs became pin L tx interrupted by pda internal reset VE ck ck CC KKK Ck ck
50. AdiCtrlReg d PD4 pin PD3 pin PD2 pin PDl pin PDO pin else AdiCtrlReg d AdiCtrlReg fb 122 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information ADI Data Bus The Adi data bus is driven towards the host when the host reads the i f When D_C line is high data the Rx shift register contents is driven If D C is low control the status register contents is driven The status register contains all control register s bits 4 0 with the addition of the following x InDebugMode Bit 5 When this bit is active H the pda is in debug mode i e VFLS 0 1 lines are driven high TxError Bit 6 When this bit is active H it signals that the pda was reset internally during data transmission i e data received during that transmission is corrupted This bit is reset L when either happens 1 The interface is reset by the host both AdsHardReset and AdsSoftReset are asserted H by the host while the board is selected 2 The host writes the interface with
51. Control amp Status register definitions WK KKK KKK KKK KKK KKK KK KKK KK KK STATUS_R EQUEST DEBUG_EN IN DEBUG TRY 0 DIAG LOOP BACK ODE X DONE OK 0 0 X INTERRUPTED IS STATU IS IN DEBUG MODE DEBUG MODE S REQUES ENTRY IN DIAG 1005 BAC K TX DONE OK StatusRequest fb STATUS REQUEST EBUG ENTRY DebugEntry fb DiagLoopBack fb DIAG_LOOP_BACK InDebugMode fb IN_DEBUG_MODE 5521 ENABLE Logic definitions ck DSDI_ENABLED 1 DSDI_DISABLED
52. Count starts when either HstReq or HstAck are detected asserted after proper synchronization The value upon which the terminal count is asserted is in the control register When the interface is reset by the host this value defaults to its upper bound Using the diagnostic loop back mode this value may be re established for optimal performance by means of test amp error equations BndDly ar Reset BndDly clk 7 when HOST WRITE ADI CONTROL HOST READ ADI CONTROL I HOST WRITE ADI DATA HOST READ ADI DATA amp PdaRst fb amp BndTmrExp fb then BndDly BndDly fb 1 else BndDly 0 BndTmrExp BndDly fb 3 BundleDelayField fb amp AdsAck delay field active low 115 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information
53. MPC8XX ADI Address Selection lt HRESET cm ADI Handshake Logic lt SRESET amp Port Control 4 VFLS1 4 VFLSO Control Status Register Data Register gt DSDI DSCK Ly Parallel lt gt Serial Converter lt DSDO To allow for an external debug port controller to be incorporated with the MPCADS and to allow target system debug by the ADS a standard 10 pin debug port connector P5 is provided and the local debug port controller may be disabled by removing the ADI bundle from the its connector P1 When the ADI s 37 lead cable is disconnected from either the ADI connector or from the MPCADS s 37 pin connector the debug port controller is disabled allowing either the connection of an external debug port controller or independent s w run i e the MPC boots from the flash memory to run user s application without debug port controller intervention This feature becomes especially handy regarding demo s The ADI I F supports upto 8 boards connected on the same bundle Address selection is done via DS1 See 2 3 1 ADI Port Address Selection on page 9 The debug port I F has two registers a control status register and a data register The control status register hold I F related control status functions while the data register serves as the parallel side of the Transmit Receive shift register The control status register is accessed when D C bit is low while the data register is acc
54. 50 ov TE D 8 DX Dd Dd Dd CD P12 y NP 24 0 7 0 4 TABLE 5 6 P6 Interconnect Signals Pin No Signal Name Attribute Description Al VCC MPC821ADS 5V VCC plane A2 VCC A3 VCC A4 VCC A5 TEA I O L Transfer Error Acknowledge Pulled up not driven on board O D A6 GND MPC821ADS Ground plane 69 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 6 P6 Interconnect Signals Pin No Signal Name Attribute Description A7 GPL5B O L General Purpose Line 5 of UPMB Not used within the ADS A8 GPL4B O L General Purpose Line 4 of UPMB Not used within the ADS AQ GND A10 CE1A O L PC Card Enable 1 for PCMCIA slot A Enables the EVEN address bytes Used by on board PCMCIA port My be used off board when PCMCIA port in disabled A11 CE2A O L PC Card Enable 2 for PCMCIA slot A Enables the ODD address bytes Used by on board PCMCIA port My be used off board when PCMCIA port in disabled A12 GND A
55. KA PON RESET amp DBGC PON DEFAULT DEBUG PINS WATCH POINTS then DEBUG PINS WATCH POINTS else if PDA WRITE CONFIG REG amp DBGC DATA BIT pin DEBUG PINS RESREVED amp KA PON RESET DBGC PON DEFAULT DEBUG PINS FOR SHOW KA PON RESET amp DBGC PON DEFAULT DEBUG PINS RESREVED then DEBUG PINS RESREVED 161 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information else DEBUG PINS FOR SHOW VE ck ck CC KK KK KKK KK KK state_diagram DBPC state DEBUG_PORT_ON_JTAG if PDA_WRITE_CONFIG_REG amp DBPC_DATA_BIT pin DEBUG_PORT_NON_EXISTANT amp KA_PON_RESET DBPC_PON_DEFAULT DEBUG_PORT_ON_JTAG KA PON RESET amp DBPC PON DEFAULT DEBUG PORT NON EXISTANT then DEBUG PORT NON EXISTANT else if PDA WRITE CONFIG REG amp DBPC DATA BIT pin DEBUG PORT RESERVED amp KA PON RESET DBPC PON DEFAULT DEBUG PORT ON JTAG
56. STATE HOLD OFF CONSIDERED HoldOffConsidered fb HOLD OFF CONSIDERED STATE NO HOLD OFF HoldOffConsidered fb NO HOLD OFF END OF FLASH READ TA FlashCs R W end of flash read cycle END OF OTHER CYCLE TA amp FlashCs f another access or R W flash write FlashCs gt HOLD OFF PERIOD R_W amp PD_FlashOe fb Equations state diagrams WK ck kk CC kk KK KKK KK KK x 24 T HEEE T THE Fett THE 5 T Tog d tt EREHE THE x me d PtH ERE 2 Tx Tod dg TRO 2 x C GHHHEHEE FR THE THE ig x VE ck ck 135 R
57. 9 12 EXTTOLI 0 3 External Tolls Identification These lines which are available at the R expansion connectors are intended to serve as tools identifier or as S W option selection On board s w may check these lines to detect The presence of various tools h w expansions at the expansion connectors or the state of DS2 see FIGURE 3 1 DS2 Description on page 17 or a combination of both Half of the available combinations are reserved while the other half is available to users applications For the external tools codes and their associated combinations see TABLE 4 12 EXTOOLI 0 3 Assignment on page 53 13 31 Reserved Un implemented TABLE 4 9 Flash Presence Detect 4 1 Encoding FLASH_PD 4 1 FLASH TYPE SIZE 0 5 Reserved MCM29080 8 MByte SIMM by Motorola MCM29040 4 MByte SIMM by Motorola MCM29020 2 MByte SIMM by Motorola SM732A1000A 4 Mbyte SIMM by SMART Modular Technologies 6 7 8 9 Reserved A B SM732A2000 8Mbyte SIMM by SMART Modular Technologies C F Reserved 52 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Functional Description TABLE 4 10 DRAM Presence Detect 2 1 Encoding DRAM_PD 2 1 DRAM TYPE SIZE 00 MCM36100 by Motorola or MT8D132X by Micron 4 MByte SIMM 01 MCM36800 by Motorola or MT16D832X by Micron 32 MByte
58. ContReg ReadContRegl DrivenContReg 20817 PccVpp WideContReg StatRegIn FlashPdHigh FlashEn DramEn FlashEn DramEn FlashEn DramEn FlashEn DramEn Freescale Se micenductor Ing nual Support Information BPSO BPS1 boot port size ISBO ISB1 Initial Internal Space Base DBGCO DBGC1 Debug Pins Configuration DBPCO DBPC1 Debug port location EthEn InfRedEn FlashCfgEn CntRegEnProtect CntRegEn RS232En PccEn PccVccOn PccVpp0 607001 HalfWord EthEn InfRedEn FlashCfgEn CntRegEnProtect fb CntRegEn RS232En PccEn PccVccOn PccVpp0 607001 HalfWord 0 0 0 EthEn InfRedEn FlashCfgEn CntRegEn RS232En PccEn PecVccOn PccVpp0 607001 HalfWord PccVccOn PccVppO 607001 EthEn InfRedEn FlashCfgEn CntRegEnProtect CntRegEn RS232En PccEn PccVccOn PccVpp0 PccVppl HalfWord FlashPD4 FlashPD3 FlashPD2 FlashPD1 DramPdEdo DramPD4 DramPD3 DramPD2 DramPD1 ExtToolI0 ExtToolIl1 ExtToolI2 ExtToolIl3 PccVppG FlashPD7 FlashPD6 FlashPD5
59. D C signal low control and with data bit 6 high 3 a new data word is written to the Tx shift register I e error is not kept indefinitely PdaRst Bit 7 When this bit is active H it means that either SRESET or HRESET or both are driven by the pda The host have to wait until this bit negates so that data may be written to the debug port equations PDOe DATA_BUFFERS_ENABLE PD oe PDOe when READ DATA WORD ON ADI BUS then PD RxReg fb elsewhen STATUS WORD ON ADI BUS then PD PdaRst fb TxError fb InDebugMode fb Delayl fb Delay0 fb StatusRequest fb DiagLoopBack fb DebugEntry fb InDebugMode clk C1k2 InDebugMode VFLS1 8 VFLSO synchronized Run oe H Run IS IN DEBUG MODE when 1 lits a led 123 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information VE ck ck ck CC
60. ETH ENABLED ETH LOOP PSQEL 0 TP_FULL_DUP 0 DRAM ENABLED 0 ded to be defined arli n inadvertant write protect CONT REG ENABLE 0 25232 ENABLE 0 PCC ENABLE 0 PCC VCC ON 0 PCC VCC OFF PCC VCC ON PCC VPP_0 0 PCC_VPP_12 2 PCC_VPP_5 1 PCC_VPP_TS 3 FLASH ENABLED 0 INF RED ENABLE 0 FLASH CFG ENABLE 0 DRAM 5V 0 DRAM 3V DRAM 5V CNT REG EN PROTECT 0 For More Information On This Product Go to www freescale com Release 1 3a Freescale Se micenductor Ing nual Support Information VE ck ck kk Sk KKK KKK KKK Power On Defaults Assignments ifdef DRAM 8 BIT OPERATION HALF WORD PON DEFAULT HALF WORD ifndef DRAM 8 BIT OPERATION HALF WORD PON DEFAULT HALF WORD ETH ENABLE PON DEFAULT ETH ENABLED DRAM ENABLE PON DEFAULT DRAM ENAB 0 CONT REG ENABLE PON DEFAULT CONT REG ENABLE
61. 4 FLASH CFG EN Flash Configuration Enable When this bit is asserted low A the 1 RW Hard Reset configuration held in BCSRO is NOT driven on the data bus during Hard Reset and B configuration data held at the 1 st word of the flash memory is driven to the data bus during Hard Reset P 5 CNT REG EN P Control Register Enable Protect When this bit is active low the 0 R ROTECT BCSR EN bit in that register can not be written When in active BCSR EN may be written to remove the BCSR from the memory map After any write to BCSR1 this bit becomes active again This bit is a read only bit on that register 6 BCSR EN BCSR Enable When this bit is active low the Board Control amp Status 0 RW Register is enabled on the local memory map When inactive the BCSR may not be read or written and its associated CS1 is available for off board use via the expansion connectors This bit may be written with 1 only if CNT REG EN PROTECT bit is negated 1 When the BCSR is disabled it still continues to configure the board according the last data held in it even during Hard Reset 7 RS232EN RS232 port Enable When asserted low the RS232 transceiver is 1 RW enabled When negated the RS232 transceiver is in standby mode and SMC1 pins are available for off board use via the expansion connectors A Provided that BCSR is not disabled 50 Release 1 3a For More Information On This Product Go to w
62. BOOT PORT RESERVED amp KA PON RESET BPS PON DEFAULT BOOT PORT 32 KA PON RESET amp BPS PON DEFAULT BOOT PORT RESERVED then BOOT PORT RESERVED else BOOT PORT 32 state BOOT PORT 8 if PDA WRITE CONFIG REG amp BPS DATA BIT pin BOOT PORT 32 amp KA PON RESET BPS PON DEFAULT BOOT PORT 8 KA PON RESET amp BPS PON DEFAULT BOOT PORT 32 then BOOT PORT 32 else if PDA WRITE CONFIG REG amp BPS DATA BIT pin BOOT PORT 16 amp KA PON RESET BPS PON DEFAULT BOOT PORT 8 KA PON RESET amp BPS PON DEFAULT BOOT PORT 16 then BOOT PORT 16 else if PDA WRITE CONFIG REG amp BPS DATA BIT pin BOOT PORT RESERVED amp KA PON RESET BPS PON DEFAULT BOOT PORT 8 KA PON RESET amp BPS PON DEFAULT BOOT PORT RESERVED then BOOT PORT RESERVED else BOOT PORT 8 state BOOT PORT 16 if PDA WRITE CONFIG REG amp BPS DATA BIT pin BOOT PORT 32 amp KA PON RESET BPS PON DEFAULT BOOT PORT 16 KA PON RESET amp BPS PON DEFAULT BOOT PORT 32 then BOOT PORT 32 156 Release 1 3a For More Information On T
63. ResetEn HardResetEn SoftResetEn 132 Release 1 3a For More Information On This Product Go to www freescale com Est Abr Debounce DramCs Cs PECES LocDataBuf J3 PccDataBuf LH 5 ModuleEn SyncReset RstCause Stp Modck ConfigHold F_PD Freescale Se micenductor Ing nual Support Information Rst1 Rst0 Abr1 Abr0 3562601 AbrDeb1 DramBank2Cs DramBank1Cs ContRegCs FlashCs DramBanklCs DramBank2Cs PccCE1 PccCE2 UpperHalfEn LowerHalfEn l En ContRegEn PccEvenEn PccOddEn DramEn FlashEn Pcc Js SyncHardReset DSyncHardReset Rstl RstO Abrl Abr0 KAPORIn RegPORIn TA odck2 Modck1 ConfigHold2 6025180101 ConfigHold0 F PD3 F PD2 F PD1 WK ck CC CK KKK KKK KK KK KK KKK Dram Declarations WK KKK KKK KKK KKK KKK KK KK KK DRAM ENABLE ACTIVE 0 DRAM ENABLED DramEn DRAM ENABLE ACTIVE SIMM36100 SD
64. to gain 1 2 clock resolution transmission length TxWordEnd NODE istype com Terminal count sets transmission length xEn NODE istype reg buffer Transmit Enable TxClkSns NODE istype reg buffer transmit clock polarity Rx Shift Register 5 KKK KK KK KKK KKK RxRegO NODE istype reg buffer receive shift register and latch WK CK CC KK KK KK KKK KK KK Rx Control Logic 5
65. 0 SIMM36200 SD 3 SIMM36400 SD 2 SIMM36800 SD 1 IS_HALF_WORD HalfWord 0 Flash Declarations FLASH_ENABLE_ACTIVE 0 FLASH ENABLED FlashEn FLASH ENABLE ACTIVE MCM29020 F PD 0 MCM29040 F PD 7 MCM29080 F PD 6 SM732A1000A F PD 2 133 Release 1 3a For More Information On This Product Go to www freescale com SM732A2 000 FLASH_BANK1 FLASH_BANK2 FLASH_BANK3 FLASH _BANK4 F_P A9 A9 Freescale Se micenductor Ing nual Support Information D 3 CM29020 SM732A1000A CM29040 amp A10 0129080 amp A9 amp A10 SM732A2000 amp A9 CM29040 amp A10 CM29080 amp A9 amp A10 SM732A2000 amp A9 A10 a
66. 1 Address amp strobe buffers are driven towards the PCMCIA card 2 Data buffers may be driven to from the PCMCIA card depending on the CE1A and CE2A signals and transfer direction 3 Card status lines are driven towards the MPC from the PCMCIA card When it is dark it indicates that all the above buffers are tri stated and the pins associated with PCMCIA channel A may be used off board via the expansion connectors 3 02020 5V Indicator LD14 The yellow 5V led indicates the presence of the 5V supply at P7 3 2 24 3 3V Indicator 5 The yellow 3 3V led indicates that the 3 3V power bus is powered 19 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing OPERATING INSTRUCTIONS 3 3 MEMORY MAP All accesses to MPC821ADS s memory slaves are controlled by the MPC s memory controller Therefore the memory map is reprogrammable to the desire of the user After Hard Reset is performed by the debug station the debugger checks to see the size delay and type of the DRAM and FLASH memory mounted on board and initializes the chip selects accordingly The DRAM and the FLASH memory respond to all types of memory access i e user supervisory program data and DMA TABLE 3 1 MPC821ADS Main Memory Map ADDESS RANGE Memory Type Device Type 07 00000000 003FFFFF DRAM SIMM MCM36100 MCM36200 MCM36400 MCM36800
67. Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 9 P12 Interconnect Signals Pin No Signal Name Attribute Description B25 PCCVPPO 0 PCMCIA Card VPP control 0 Connected to 205701 See 493 BCSR1 Board Control Register on page 49 C1 GND C2 GND C3 GND C4 GND C5 GND C6 GND C7 D7 1 0 MPC s data line 7 C8 GND C9 D1 1 0 MPC s data line 1 C10 D23 y o MPC s data line 23 C11 GND C12 D17 I O MPC s data line 17 C13 D15 IO MPC s data line 15 C14 GND C15 D9 1 0 MPC s data line 9 C16 D31 IO MPC s data line 31 C17 GND x C18 D26 IO MPC s data line 26 C19 ETHEN O L Ethernet Port Enable Connected to BCSR1 5089 93 BCSR1 Board Control Register on page 49 C20 DRAMEN O H DRAM Enable Connected to BCSR1 See 401403 BCSR1 Board Control Register on page 49 C21 PCCEN O L PCMCIA port Enable Connected to BCSR1 5989 3 BCSR1 Board Control Register on page 49 C22 GND C23 DRMPD5 0 Dram Presence Detect line 5 Connected to 20502 See 44 BCSR2 Board Status Register 1 on page 51 C24 DRMPD4 0 Dram Presence Detect line 4 Connected to 20502 See 44 BCSR2 Board Status Register 1 on page 51 C25 DRMPD3 0 Dram Presence Detect line 3 Connected to 20502 See 4 BCSR2 Board Status Register 1 on page 51 D1 GND 86 Rele
68. PI PI PT PI PI PL PAI 7 65 41 49 flash bank chip select 50 flash enable from control reg 12 istype 22 istype 57 istype 24 istype com Flash bank1 chip select com Flash bank2 chip select com Flash bank3 chip select com Flash bank4 chip select Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information FlashOe PIN 58 istype com Flash output enable KKK KKK kk CC VE ck ck Control Register pins kk VE ck ck ContRegCs PIN 59 control register cs from pda ContRegEn PIN 56 control register enable from control register Reset amp Interrupt Log
69. TABLE 5 12 P11 Interconnect Signals Pin No Signal Name Attribute Description 1 SHIFT_C VO LCD Shift Clock Not used on the ADS 2 GND 3 GND 4 GND 5 LOE Output Enable for TFT displays or Passive panels LCD_AC signal Not used on the ADS 6 GND 7 HSYNC IO Display Line beginning mark Not used on the ADS 8 GND 9 VSYNC VO New Frame beginning mark Not used on the ADS 10 GND 11 GND 12 GND 13 LDO IO LCD Data Line 0 Not used on the ADS 14 GND z 15 LD1 IO LCD Data Line 1 Not used on the ADS 16 GND 17 LD2 1 0 LCD Data Line 2 Not used on the ADS 18 GND 19 LD3 0 LCD Data Line 3 Not used on the ADS 20 GND 21 LD4 y o LCD Data Line 4 Not used on the ADS 22 GND 23 LD5 y o LCD Data Line 5 Not used on the ADS 24 GND 3 25 LD6 IO LCD Data Line 6 Not used on the ADS 26 GND 27 LD7 LCD Data Line 7 Not used on the ADS 28 GND 29 LD8 I O LCD Data Line 8 Not used on the ADS 89 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 12 P11 Interconnect Signals Pin No Signal Name Attribute Description 30 GND 5 01 010 P13 QUADS Compatible Communication Connector The QUADS compatible Communication connector P13 is for the benefit of those who developed commu nication tools for the M68360QUADS or M68360QUADS 040 boards All SCC pins are routed to the same 90
70. double synced state_diagram AdsReq state ADS REO ACTIVE if TxEn fb amp TxWordEnd end of data shift to PDA ADS SEND STATUS then end of control write and status required ADS REQ ACTIVE else ADS REO ACTIVI EN ET state ADS REQ ACTIVE if HOST READ ADI amp BndTmrExp fb then ADS REO ACTIVE else ADS REO ACTIVI IE ET KK KKK CC C VE ck ck ck Wx Wx gt Wx 121 ADI control register The ADI control register is written upon host to ADI write with a D_C line is in control mode It also may be read when StatusRequest bit is active Control register bits description Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information DebugEntry Bit 0 When this bit is active L the pda will enter debug Wn mode immediately after reset i e DSCK will be held high TE after the rising edge of SRESET When negated DSCK will be di held low after the rising edge of SRESET so the pda will start noe running instantly DiagLoopBack Bit 1 When active L th
71. AC IVE 0 ECTED 0 ADS IS SEL ECTED HstEn HOST_ HOST IS ON Support Information AdsSelect fb BOARD IS SEL EN ACTIVE 6 ECTED Data Cntrl line levels DATA CONTROL 1 IDATA HostVcc HOST VCC ACTIVI VE ck Ck ck CC CC KKK KKK KK KK KKK Reset Logic definitions WK KKK KKK KKK KKK KK KKK KK KK ADS HARD 1 ESET ACTIVE ADS SOFT 1 ESET ACTIVE 1 t AdsAck Logic definitions HOST_REQ
72. DramBank1Cs 6 DramBank2Cs amp DRAM ENABLED Ras2DD DramBank2Cs 6 DramBanklCs amp DRAM ENABLED amp SIMM36200 SIMM36800 Flash Chip Select equations FlashCsOut oe hf FlashCsl FLASH ENABLED amp FlashCs amp FLASH_BANK1 FlashCs2 FLASH ENABLED amp FlashCs amp FLASH BANK2 FlashCs3 FLASH ENABLED amp FlashCs amp FLASH BANK3 FlashCs4 FLASH ENABLED FlashCs amp FLASH BANKA FlashOe oe H FlashOe FLASH ENABLED 6 R W
73. Freescale Se migonducton Ing OPERATING INSTRUCTIONS TABLE 3 8 Memory Controller Initializations For 25Mhz Register Device Type Init Value hex Description MAMR MCM36100 60 70 MCM36200 60 70 60A21114 30A21114 refresh clock divided by 60 periodic timer enabled type 2 address multiplexing scheme 1 cycle disable timer GPL4 disabled for data sampling edge flexibility 1 loop read 1 loop write 4 beats refresh burst refresh clock divided by 30 periodic timer enabled type 2 address multiplexing scheme 1 cycle disable timer GPL4 disabled for data sampling edge flexibility 1 loop read 1 loop write 4 beats refresh burst MCM36400 60 70 MT8D432X 6 7 MCM36800 60 70 MT16D832 6 7 60B21114 30B21114 refresh clock divided by 60 periodic timer enabled type 3 address multiplexing scheme 1 cycle disable timer GPL4 disabled for data sampling edge flexibility 1 loop read 1 loop write 4 beats refresh burst refresh clock divided by 30 periodic timer enabled type 3 address multiplexing scheme 1 cycle disable timer GPL4 disabled for data sampling edge flexibility 1 loop read 1 loop write 4 beats refresh burst a BR3 is not initialized for 36100 or 36400 DRAM SIMMs 29 Release 1 3a For More Information On This Product Go to www freescale com TABLE 3 9 UPMA Initializations for 600566 DRAMs 25MHz Freescale Se migonducton Ing OPERATING INST
74. HoldOffConsideredNODE istype reg buffer data drive hold off state machine D FlashOe NODE istype com delayed flash output enable DD FlashOe NODE istype com double delayed flash output enable TD FlashOe NODE istype com triple delayed flash output enable OD FlashOe NODE istype com quad delayed PD FlashOe NODE istype com penta delayed KeepPinsConnected NODE istype 131 Peon Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information WK ck KK Ck KK KKK KK KK gt HHEH gt og toO HH HHO HHE dH HHEH gt og o H gt 4 HH Fr gt og 1 HEHH 1 gt og E E 1 GHEE 8 HH x HEHE x POPR HHH H HH x 1 1 x 4444 LLL x 1 HERR HE x 1 gt 4444 4 WEEER GHAR HEH 1 x dH HH HH d gt d i gt HEHEHE gt d MEE HH
75. KA PON RESET FLASH CFG ENABLE PON DEFAULT FLASH CFG ENABLE KA PON RESET amp FLASH CFG ENABLE PON DEFAULT FLASH CFG ENABLE then FLASH CFG ENABLE else FLASH CFG ENABLE To avoid in advertant write to the Control Register Enable bit which might result in a need to re power the board protection logic is provided In order of writing the Control Register Enable this bit in the status register must be negated After any write to the control register this bit asserts again to protected mode equations 167 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information CntRegEnProtect clk SYSCLK state_diagram CntRegEnProtect state CNT_REG_EN_PROTECT if PDA WRITE CONTROL REG2 amp
76. P5 External Debug Port Controller Input Interconnect P6 P9 P10 8 P12 Expansion and Logic Analyzer Connectors Connecting Application Boards to the Expansion Connectors P7 5V Power Connector P8 12V Power Connector P11 LCD Connector P13 QUADS Compatible Communication Connector MPC821ADS Part List Programmable Logic Equations U7 Debug Port Controller U10 Auxiliary Board Control U11 Board Control amp Status Register ADI I F ADI Port Signal Description ADI Installation INTRODUCTION IBM PC XT AT to MPC821ADS Interface ADI Installation in IBM PC XT AT SUN 4 to MPC821ADS Interface ADI Installation in the SUN 4 Release 1 3a For More Information On This Product Go to www freescale com FIGURE 1 1 FIGURE 2 1 FIGURE 2 2 FIGURE 2 3 FIGURE 2 4 FIGURE 2 5 FIGURE 2 6 FIGURE 2 7 FIGURE 2 8 FIGURE 2 9 FIGURE 2 10 FIGURE 2 11 FIGURE 2 12 FIGURE 2 13 FIGURE 2 14 FIGURE 3 1 FIGURE 4 1 FIGURE 4 2 FIGURE 4 3 FIGURE 4 4 FIGURE 4 5 FIGURE 4 6 FIGURE 4 7 FIGURE 4 8 FIGURE A 1 FIGURE A 1 FIGURE A 2 FIGURE A 3 Freescale Semiconductor Inc MPCS 21ADS Revision A User s Manual LIST OF FIGURES MPC821ADS Block Diagram MPC821ADS Top Side Part Location diagram Configuration Dip Switch 1 U17 Power Sources Power On Reset Source Selection VDDL Source Selection Keep Alive Power Source Selection Host Controlled Operation Scheme Debug Port Controller For Target System Operation Scheme
77. PCC VPP PON DEFAULT PCC VPP TS KA PON RESET amp PCC VPP PON DEFAULT PCC VPP 0 then PCC VPP 0 171 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information else if PDA WRITE CONTROL REG1 amp PCC VPP DATA BIT pin PCC VPP 12 amp KA PON RESET PCC VPP PON DEFAULT PCC VPP TS KA PON RESET amp PCC VPP PON DEFAULT PCC VPP 12 then PCC VPP 12 else if PDA WRITE CONTROL 301 PCC VPP DATA BIT pin PCC VPP 5 amp KA PON RESET PCC VPP PON DEFAULT PCC VPP TS KA PON RESET amp PCC VPP PON DEFAULT PCC VPP 5 then PCC VPP 5 else PCC VPP TS WV ck ck Ck Ck Ck Ck Ck Ck Ck Ck Ck ck kk ck kckckokckckckckck state_diagram HalfWord state HALF_WORD if PDA_WRITE_CONTROL_REG1 HALF_WORD_DATA_BIT pin HALF_WORD amp IKA_PON RESET 4 HALF WORD PON DEFAULT HALF WORD KA PON RESET amp HALF WORD PON DEFAULT HALF WORD then HALF WORD else HALF_WORD state HALF_WORD if PDA WRITE CONTROL REG1 amp
78. STATE_DSDI_ENABL 110 DsdiEn fb DSDI_ENABLED For More Information On This Product Go to www freescale com Release 1 3a Freescale Se micenductor Ing nual Support Information Tx enable state machine X_ENABLED 1 TX DISABLED 0 STATE TX ENABLED TxEn fb TX ENABLED STATE TX DISABLED TxEn fb TX DISABLED TX WORD LENGTH 14 In 1 2 Clk2 clocks TxClkSns state machine WK
79. Therefore an alternative clock generator was built with which the 1 2 clock is the 1 st in the chain This alternative clock is compiled in if the SIMULATION variable is defined If not the original clock generator design is compiled however simulation will not pass then SIMULATION 1 VE ck ck ck Signal groups WK KKK KKK KKK KKK KKK KKK KK KKK KK KK AdsSel AdsSel2 AdsSell AdsSel0 AdsAddr AdsAddr2 AdsAddr1 AdsAddr0 AdsRst AdsHardReset AdsSoftReset Rst PdaHardReset
80. state FIGURE 3 1 DS2 Description EXTOLIO Pulled to EXTOLIO Driven to 0 EXTOLI1 Pulled to 1 EXTOLI1 Driven to 0 EXTOLI2 Pulled to EXTOLI2 Driven to 0 EXTOLIS Pulled to 1 EXTOLIS Driven to 0 DS2 A 1 6 detached from a debug station 17 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing OPERATING INSTRUCTIONS 3225 4 Power Bridge is a soldered jumper which is in series with the 3 3V power bus This jumper may be removed if current 4 measurements on the 3 3V bus are to be held Warning There are also GND bridges on board which physically resemble J4 Do not mistake J4 to be a GND jumper oth erwise permanent damage might be inflicted to the MPC821ADS 3 2 6 GND Bridges There are 4 GND bridges on the MPC821ADS They are meant to assist general measurements and logic analyzer connection Warning When connecting to a GND bridge use only INSULATED GND clips Failure in doing so might result in perma nent damage to the MPC821ADS 3 2 7 RUN Indicator LD1 When the green RUN led LD1 is lit it indicates that the MPC is not in debug mode i e VFLSO amp VFLS1 0 It is important to remember that if the VFLS 0 1 pins are programmed for alternative use rather than function as VFLS lines this indication is meaningless 3 2 8 FLASH ON
81. 18 20 30 3C Contents 0 8FFFCC24 8FFFCC24 8FAFCC24 8FAFCC24 EOFFCC84 33FFCC07 ore 1 OFFFCCO4 OFFFCC04 OFAFCC04 OFAFCCOA OOFFCC04 X 2 OCFFCC04 OCFFCC04 OCAFCCOO OCAFCCOO OOFFCC04 X 3 OOFFCC04 OOFFCC04 11BFCC47 O3AFCC4C OFFFCC04 X 4 OOFFCCOO OOFFCC08 X OCAFCCOO 7FFFCCO6 5 7 OCFFCC44 X OSAFCCAC FFFFCC85 6 X OOFFECOC X OCAFCCOO FFFFCCO05 7 X 03FFEC00 X O3AFCCAC X 8 OOFFEC44 OCAFCCOO X 9 OOFFCC08 33BFCC47 X A OCFFCC44 X X B OOFFEC04 X X 0 0 0 X D 3FFFEC47 X E X X F X X 25 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing OPERATING INSTRUCTIONS TABLE 3 6 UPMA Initializations for 60nsec EDO DRAMs 50MHz Cycle Type Single Read Burst Read Single Write Burst Write Refresh Exception Offset in UPM 0 8 18 20 30 3C Contents 0 8FFBEC24 8FFFEC24 8FFFCC24 8FFFCC24 COFFCC84 33FFCC07 ore 1 OFF3EC04 OFFBEC04 OFEFCC04 OFEFCC04 OOFFCC04 X 2 OCF3EC04 OCF3EC04 OCAFCCOO OCAFCCOO 07FFCC04 X 3 00F3EC04 OOF3ECOC 11BFCC47 03AFCC4C 3FFFCC06 X 4 00F3EC00 OCF3ECOO X OCAFCCOO FFFFCC85 5 7 00F3EC4C X 03AFCC4C FFFFCC05 6 X OCF3ECOO X OCAFCCOO X 7 X OOF3EC4C X O3AFCCAC X 8 OCF3ECOO OCAFCCOO X 9 O0F3EC44 33BFCC4F X A 03F3EC00 X X B 3FF7EC47 X X C X X D X X E X X F X X 26 Release 1 3a For More Information On This Product Go to www freescal
82. 1uF are provided between the devices power leads and GND located as close as possible to the power leads Special care is taken for PLL power leads which has isolated clean ground and filtered VDD 60 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Functional Description 4 16 1 5V Bus All of the MPCADS peripherals reside on the 5V bus Since the MPC is 5V friendly it may operate with 5V levels on its lines with no damage The 5V bus is connected to an external power connector via a fuse 1 of 5A fast blow To protect against reverse voltage or over voltage being applied to the 5V inputs a set of high current diodes and zener diode are connected between the 5V bus GND When either over or reverse voltage is applied to the MPCADS the protection logic will blow the fuse while limiting the momentary effects on board 4 16 2 3 3V Bus The MPC itself is powered by the 3 34 bus which is produced from the 5V bus using a special low voltage drop linear voltage regulator made by Linear Technology the LT1086 which is capable of driving upto 1 5A Since the local 3 3V current consumption might be around 1 5A no power should be drawn from the 3 3V bus via the expansion connectors 4 16 3 2V Bus To support evaluation of the MPC operating with two supply levels i e internal logic is powered with 2V and the I O is powered with 3 3 a dedicated 2V voltage regulator LM317 is p
83. 232 Serial Port Connector CD TX RX DTR GND DSR RTS CTS N C art WD gt ON NOTE The RTS line pin 7 is not connected on the MPC821ADS 219 Memory Installation The MPC821ADS is supplied with two types of memory SIMM e Dynamic Memory SIMM Flash Memory SIMM To avoid shipment damage these memories are packed aside rather than being installed in their sockets Therefore they should be installed on site To installa memory SIMM it should be taken out of its package put diagonally in its socket no error can be made here since the Flash socket has 80 contacts while the DRAM socket has 72 and then twisted to a vertical position until the metal lock clips are locked See FIGURE 2 14 Memory SIMM Installation below CAUTION The memory SIMMs have alignment nibble near their 1 pin It is important to align the memory correctly before itis twisted otherwise damage might be inflicted to both the memory SIMM and its socket FIGURE 2 14 Memory SIMM Installation 1 2 Memory SIMM Metal Lock Clip SIMM Socket 16 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing OPERATING INSTRUCTIONS 3 OPERATING INSTRUCTIONS 3 1 INTRODUCTION This chapter provides necessary information to use the MPC821ADS in host controlled and stand alone configurations This includes controls and indicators memory map details and software initializa
84. ADI I F address line 0 LSB 9 HOST_REQ HOST Request input signal from the host 10 ADS_REQ ADS Request output signal from the MPC821ADS to the host 11 ADS_ACK ADS Acknowledge output signal from the MPC821ADS to the host 12 Not connected with this application 13 Not connected with this application 14 Not connected with this application 15 Not connected with this application 16 PD1 Bit 1 of the ADI port data bus 17 PD3 Bit 3 of the ADI port data bus 62 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 1 P1 ADI Port Interconnect Signals Pin No Signal Name Description 18 PD5 Bit 5 of the ADI port data bus 19 PD7 Bit 7 of the ADI port data bus 20 25 GND Ground 26 Not connected with this application 27 29 HOST_VCC HOST VCC input from the host Used to qualify ADS selection by the host When host is off the debug port controller is disabled 30 HOST_ENABLE HOST Enable input signal from the host Active low Indicates that the host computer is connected to ADS Used in conjunction with HOST_VCC and ADS_SEL 2 0 to qualify ADS selection by the host 31 33 GND Ground 34 PDO Bit 0 of the ADI port data bus 35 PD2 Bit 2 of the ADI port data bus 36 PD4 Bit 4 of the ADI port data bus 37 PD6 Bit 6 of the ADI port data bus 5 1 2 P2 Ethernet Port Connector The Ethernet connector on the
85. Address line 14 C21 A13 O T S MPC s Address line 13 C22 GND C23 A10 O T S MPC s Address line 10 C24 A17 O T S MPC s Address line 17 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 6 P6 Interconnect Signals Pin No Signal Name Attribute Description C25 GND C26 A26 O T S MPC s Address line 26 C27 A24 O T S MPC s Address line 24 C28 GND C29 A2 O T S MPC s Address line 2 C30 Al O T S MPC s Address line 1 D1 VCC MPC821ADS VCC plane D2 VCC MPC821ADS VCC plane D3 VCC MPC821ADS VCC plane D4 BB VO L Bus Busy Pulled up Not used on the ADS D5 BR VO L Bus Request Pulled Up Not used on the ADS D6 GND D7 BG VO L Bus Grant Pulled Up Not used on the ADS D8 R_W O T S Read Write Used to change data buffers direction D9 GND D10 CS7 O L CS7 CE2_B Chip Select 6 or PCMCIA slot B CE2 Not used on the ADS D11 F_CS O L In fact 050 Used as a main chip select for the Flash memory from which the individual banks chip selects are derived May be used off board when the Flash is disabled via BCSR1 D12 GND D13 CS4 O L Chip select 4 Not used on the ADS D14 WE3 WE3 BS3_B PCWE GPCM Write Enable 3 or UPMB Byte Select 3 or PCMCIA Write Enable signal Used as WE3 for the Fl
86. B 1 1995 A U13 U14 1 5 18 15 20 25 30 B C 0 U18 A B C D 1 1 10 A Ba P9 SV 3 3Y T1 5 5 POWER L014 PS Ui 5y T2 GND GND 07 10 10 GND MPC821 LCD VPP 1 2 42V PB Uf 15 P11 GND 9 10 20 U25 19 20 1 SP1 1 DATA amp CONTROL 25 P12 COMMUNICATION m FLASH COMM PORTS EXPANSION DREM B 1 5 10 5 20 29 30 6 8 P13 a 1 5 18 15 20 25 Release 1 3a For More Information On This Product Go to www freescale com Freescale miconductor Ing nual Hardware Preparation and Installation 2 3 1 ADI Port Address Selection The MPC821ADS can have eight possible slave addresses set for its ADI port enabling up to eight MPC821ADS boards to be connected to the same ADI board in the host computer The selection of the slave address is done by setting switches 1 2 amp 3 in the Dip Switch DS1 Switch 1 stands for the most significant bit of the address and switch 3 stands for the least significant bit If the switch is in the ON state it stands for logical 1 In FIGURE 2 2 DS1 is shown to be configured to address 0 FIGURE 2 2 Configuration Dip Switch 1 ADR2 ADR2 ADRI ADR1 ADRO ADRO 3 5 MHz Generator via CLK4IN 32 678 KHz Crystal Resonator DS1 Table 2 1 describes the switch settings for each slave address Table 2 1 ADI Address Selection ADDRESS Switch 1 Switch 2 Switch 3 OFF OFF OFF NIO
87. BASE 0x00000000 then INT SPACE BASE 0x00000000 else if PDA WRITE CONFIG REG amp ISB DATA BIT pin INT SPACE BASE OxFF000000 amp KA PON RESET 4 ISB PON DEFAULT INT SPACE BASE 00800000 0 KA PON RESET amp ISB PON DEFAULT INT SPACE BASE OxFF000000 then 158 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information INT SPACE BASE OxFF000000 else if PDA WRITE CONFIG REG amp ISB DATA BIT pin INT SPACE BASE OxFFF00000 amp KA PON RESET ISB PON DEFAULT INT SPACE BASE 0x00F00000 KA PON RESET amp ISB PON DEFAULT INT SPACE BASE OxFFF00000 then INT SPACE BASE OxFFF00000 else INT SPACE BASE 0x00F00000 state INT SPACE BASE OxFF000000 if PDA WRITE CONFI
88. CLSN 1 0 H Ethernet Port Collision indication signal In fact PC11 CTS1 When the ethernet port is disabled via BCSR1 may be used off board for any alternate function C12 E_RENA 1 0 H Ethernet Receive Enable In fact PC10 CD1 TGATE1 Active when there is network activity When the ethernet port is disabled via BCSR1 may be used off board for any alternate function C13 GND C14 PC9 0 PC9 CTS2 Not used on the ADS C15 PC8 0 PC8 CD2 TGATE2 Not used on the ADS C16 PC7 0 PC7 L1TSYNCB SDACK2 Not used on the ADS C17 C18 C19 GND ETHLOOP TPFLDL 1 0 H I O L Ethernet port Diagnostic Loop Back In fact PC4 L1RSYNCA When active the MC68160 EEST is configured into diagnostic Loop Back mode where the transmit output is internally fed back into the receive section Since after hard reset this line wakes up tri stated it should be initialized as output and given the desired value When the ethernet port is disabled via BCSR1 may be used off board for any alternate function Twisted Pair Full Duplex In fact PC5 L1TSYNCA SDACK1 When active the MC68160 EEST is put into full duplex mode where simultaneous receive and transmit are enabled Since after hard reset this line wakes up tri stated it should be initialized as output and given the desired value When the ethernet port is disabled via BCSR1 may be used off board for any altern
89. For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Functional Description region avoiding possible contention over data lines The MPC s chip selects assignment to the various memories registers on the MPCADS are as follows 1 CS0 Flash memory CS1 BCSR CS2 DRAM Bank 1 CS3 DRAM Bank 2 if exists CS 4 7 Unused user available RO Im 5 4 7 DRAM The MPC821ADS is supplied with 4 MBytes of DRAM with access time of 60 or 70 nsec Support is given to memory capacity from 4 MByte with no parity upto 32MByte with parity Support is given to and only to the following devices made by Motorola MCM36100AS60 MCM36100AS70 MCM36100ASG60 MCM36100ASG70 MCM36100ASH60 MCM36100ASH70 MCM36100ASHG60 MCM36100ASHG70 MCM36200AS60 MCM36200AS70 MCM36200ASG60 MCM36200ASG70 MCM36400AS60 MCM36400AS70 MCM36400ASG60 MCM36400ASG70 MCM36400ASH60 MCM36800S60 MCM36800S70 MCM36800SG60 MCM36800SG70 MCM36100ASH70 MCM36100ASHG60 MCM36100ASHG70 Also supported are 5V EDO memory SIMMs made by Micron MT8D132M 6X 4 MByte MT16D232M 6X 8 MByte MT8D432M 6X 16Mbyte MT16D832M 6X 32 MByte MT8D432M 7X and MT16D832M 6X All dram configurations are supported via the Board Control amp Status Register BCSR i e DRAM size 4M to 32M and delay 60 70 nsec are read from BCSR2 and the associated registers including the UPM are programmed accordingly Dram timing contro
90. LD2 When the yellow FLASH ON led is lit it indicates that the FLASH module is enabled in the BCSR1 register l e any access done to the CSO address space will hit the flash memory When it is dark the flash is disabled and CSO may be used off board via the expansion connectors 2029 DRAM ON LD3 When the yellow DRAM ON led is lit it indicates the DRAM is enabled in BCSR1 Therefore any access made to CS1 or CS2 will hit on the DRAM When it is dark it indicates that either the DRAM is disabled in BCSR1 enabling the use of CS1 and CS2 off board via the expansion connectors 3 2 10 ETHON LD4 When the yellow ETH ON led is lit it indicates that the ethernet port transceiver the MC68160 EEST connected to SCC1 is active When it is dark it indicates that the EEST is in power down mode enabling the use of SCC1 pins off board via the expansion connectors 3 211 Ethernet RX Indicator LD5 The green Ethernet Receive LED indicator blinks whenever the EEST is receiving data from one of the Ethernet port 3 2 12 Ethernet TX Indicator 6 The green Ethernet Receive LED indicator blinks whenever the EEST is transmitting data via the Ethernet port 3 2 13 Ethernet JABB Indicator LD7 The red Ethernet TP Jabber LED indicator JABB lights whenever a jabber condition is detected on the TP ethernet port 3 2 14 IRD ON LD8 A By a skilled technician only 18 Release 1 3a For More Information On This Product Go to
91. MHz operation l e registers programming is based on 50 MHZ timing calculation except for refresh timer which is initialized to 16 67Mhz the lowest frequency at which the ADS may wake up Since the ADS may be made to wake up at 25MHzA as well the initializations are not efficient since there are too many wait states inserted Therefore additional set of initialization is provided to support efficient 25MHz operation The reason for initializing the ADS for 50Mhz is to allow proper although not efficient ADS operation through all available ADS clock operation frequencies A The only parameter which is initialized to the start up frequency is the refresh rate which would have been inad equate if initialized to 50Mhz while board is running at a lower frequency Therefore for best bus bandwidth avail ability refresh rate should be adapted to the current system clock frequency 21 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing OPERATING INSTRUCTIONS Warning Due to availability problems with few of the supported memory components the below initializations were not tested with all parts Therefore the below initializations are liable to CHANGE throughout the testing period TABLE 3 3 Memory Controller Initializations For 50Mhz Register Device Type Init Value hex Description BRO All Flash SIMMs 02200
92. MPCADS P2 is a Twisted Pair 10 Base T compatible connector Use is done with 90 8 pin RJ45 connector signals of which are described in TABLE 5 1 TABLE 5 2 P2 Ethernet Port Interconnect Signals Pin No Signal Name Description 1 TPTX Twisted Pair Transmit Data positive output from the MPC821ADS 2 TPTX Twisted Pair Transmit Data negative output from the MPC821ADS 3 TPRX Twisted Pair Receive Data positive input to the MPC821ADS 4 Not connected 5 Not connected 6 TPRX Twisted Pair Receive Data negative input to the MPC821ADS 7 Not connected 8 Not connected 3 P3 35232 Port Connector The RS232 port connector P3 is a 9 pin 90 female D Type connector signals of which are presented in TABLE 5 1 TABLE 5 3 P3 Interconnect Signals Pin No Signal Name Description 1 CD Carrier Detect output from the MPC821ADS 2 TX Transmit Data output from the MPC821ADS 3 RX Receive Data input to the MPC821ADS 4 DTR Data Terminal Ready input to the MPC821ADS 5 GND Ground signal of the MPC821ADS 6 DSR Data Set Ready output from the MPC821ADS 7 RTS N C Request To Send This line is not connected in the MPC821ADS 63 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 3 P3 Interconnect Signals
93. PINS if PDA WRITE CONFIG REG amp DBPC DATA BIT pin DEBUG PORT ON JTAG amp KA PON RESET DBPC PON DEFAULT DEBUG PORT ON DEBUG PINS KA PON RESET amp DBPC PON DEFAULT DEBUG PORT ON JTAG then DEBUG PORT ON JTAG else if PDA WRITE CONFIG REG amp DBPC DATA BIT pin DEBUG PORT NON EXISTANT amp 1KA PON RESET 4 DBPC PON DEFAULT DEBUG PORT ON DEBUG PINS 4 KA PON RESET amp DBPC PON DEFAULT DEBUG PORT NON EXISTANT then DEBUG PORT NON EXISTANT else if PDA WRITE CONFIG REG amp DBPC DATA BIT pin DEBUG PORT RESERVED amp KA PON RESET 4 DBPC PON DEFAULT DEBUG PORT ON DEBUG PINS KA PON RESET amp DBPC PON DEFAULT DEBUG PORT RESERVED then DEBUG PORT RESERVED else jS UJ UG PORT ON UG PINS J 163 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information KK KKK KKK KKK CC CK VE ck ck s
94. PINS RESREVED 2 DEBUG PINS FOR SHOW 3 DEBUG PORT ON JTAG 0 DEBUG PORT NON EXISTANT 1 DEBUG PORT RESERVED 2 DEBUG PORT ON DEBUG PINS 3 RSV13 ACTIVE 1 RSV14 ACTIVE 1 RSV15 ACTIVE 1 Power On Defaults Assignments ERB PON DEFAULT INTERNAL ARBITRATION 149 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information IP PON DEFAULT IP AT 0x00000000 RSV2 PON DEFAULT RSV2 ACTIVE BDIS PON DEFAULT BOOT ENABLE BPS PON DEFAULT BOOT PORT 32 RSV6 PON DEFAULT 6 ACTIVE 3 ISB PON DEFAULT INT SPACE BASE OxFF000000 DBGC PON DEFAULT 5 EBUG PINS FOR SHOW DBPC PON DEFAULT DEBUG PORT ON JTAG RSV13 PON DEFAUL RSV13 ACTIVE RSV14 PON DEFAUL IRSV14 ACTIVE RSV15 PON DEFAUL RSV15 ACTIVE
95. PdaSoftReset ClkOut Clkout2 Clk4 PD PD7 PD6 PD5 PD4 PD3 PD2 PD1 PDO VFLS VFLSO VFLS1 BndDly BundleDelayl BundleDelay0 bundle delay compensation timer TxReg TxReg7 TxReg0 RxReg xReg6 TxReg5 TxReg4 TxReg3 TxReg2 TxReg1 TxReg0 283600 AdiCtrlReg Delayl Delay0 StatusRequest DiagLoopBack DebugEntry AdiStatReg PdaRst TxError InDebugMode Delayl DelayO StatusRequest DiagLoopBack DebugEntry BundleDelayField Delayl Delay0 TxWordLen TxWordLen3 TxWordLen2 TxWordLenl TxWordLen0 PortEn AdsSel2 AdsSell AdsSel0 AdsAddr2 20520011 20520070 HostVcc HstEn Select Logic definitions WK ck ck ck ck kk KKK KKK KKK KK KK KK KKK 108 Release 1 3a For More Information On This Product Go to www freescale com HOST_VCC_ACTIVE Freescale Se micenductor Ing nual 1 HOS HOST IS ON HOST IS OFF BOARD IS SEL EN
96. Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Functional Description 3 The AM bits in OR2 register should be set to 1 2 of the nominal single bank DRAM simm vol ume or to 1 4 of the nominal dual bank DRAM simm volume If a Dual Bank DRAM simm is being used 4 The Base Address bits in BR3 register should be set to DRAM_BASE 1 4 Nominal_Volume that is if a contiguous block of memory is desired 5 The AM bits of OR3 register should be set to 1 4 Nominal_Volume If the above is executed out of running code than this code should not reside on the DRAM while execut ing otherwise erratic behavior is likely to be demonstrated resulting in a system crash 47 2 DRAM Performance Figures The performance figures for the dram as reflected from the initializations given in 3 4 1 Memory Controller Registers Programming on page 21 are shown in TABLE 4 1 Regular DRAM Performance Figures on page 39 and in TABLE 4 2 EDO DRAM Performance Figures on page 39 TABLE 4 1 Regular DRAM Performance Figures Number of System Clock Cycles System Clock Frequency MHz 50 25 DRAM Delay nsec 60 70 60 70 Single Read 6 6 3 4 Single Write 4 4 3 3 Burst Read 6 2 3 2 6 3 2 3 3 2 2 2 4 2 2 2 Burst Write 4 2 2 2 4 2 2 2 3 1 2 2 3 2 2 2 Refresh 2136 2526 139 1398 a Four beat refresh burst b Not including arbitrati
97. Reset will be generated to the MPC along with the Soft Reset configuration applied during that sequence HOST ENABLE F This line is always driven low by the ADI board When an ADI is connected to the MPCADS this signals enabled the operation of the debug port controller Otherwise the debug port controller is disabled and its outputs are tri stated ADS HRESET When a host is connected this line is used in conjunction with the addressing lines to generate a Hard Reset to the MPC821ADS board When this signal is driven in conjunction with the ADS SRESET signal the ADI I F state machines and registers are reset HOST REQ l This signal initiates a host to MPC821ADS write cycle ADS ACK O This signal is the MPC821ADS response to the HOST REQ signal indicating that the board has detected the assertion of HOST REQ ADS REQ O This signal initiates an MPC821ADS to host write cycle HST ACK l This signal serves as the host s response to the ADS REQ signal HOST VCC l three lines These lines are power lines from the host computer In the MPC821ADS these lines are used by the hardware to determine if the host computer is powered on PD 0 7 l O These eight I O lines are the parallel data bus This bus is used to transmit and receive data from the host computer 175 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information APPENDIX C
98. SIMM 10 MCM36400 by Motorola or MT8D432X by Micron 16 MByte SIMM 11 MCM36200 by Motorola or MT16D832X by Micron 8 MByte SIMM TABLE 4 11 DRAM Presence Detect 4 3 Encoding DRAM PD 4 3 DRAM DELAY 00 Reserved 01 Reserved 10 70 nsec 11 60 nsec TABLE 4 12 EXTOOLI 0 3 Assignment EXTTOOLI 0 3 External Tool 0000 0111 Reserved 1000 1110 User Available 1111 Non Existent WARNING Since EXTOLI 0 3 lines may be DRIVEN LOW 0 by DS2 OFF BOARD tools should NEVER DRIVE them HIGH Failure in doing so might result in PERMANENT DAMAGE to the ADS and or to OFF BOARD logic 4 14 5 BCSR3 Auxiliary Control Status Register BCSR3 is an additional control status register which may be accessed at offset OxC from BCSR base address BCSR3 gets its defaults during Power On reset and may be read or written at any time The de 53 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Functional Description scription of BCSR3 is shown in TABLE 4 13 BCSR3 Description on page 54 TABLE 4 13 BCSR3 Description PON BIT MNEMONIC Function ATT DEF 0 4 Reserved Un Implemented 5 CNT REG EN P Control Register Enable Protect When this bit is active low the 0 Ww ROTECT BCSR EN bit in that register can not be written When in active 0050 EN may be written to remove the BCSR from the memory ma
99. SMD SIEMENS B37872 K5393J 1206 Ceramic C75 C79 Capacitor 10pF 50V 10 COG AVX AV12065A100KATOOJ SMD 1206 Ceramic C85 Capacitor 5000pF 50V 10 AVX AV12065C 502K A700J SMD 1206 Ceramic C86 Capacitor 0 680 20V 10 SIEMENS B45196 E4684 K9 SMD Size A Tantalum D1 D2 D3 D4 Diode SMD Motorola LL4004G D5 Zener Diode 5V SMD Motorola 1SMC5 0AT3 D6 D7 Diode Pair common cathode Motorola MBRD620CT D8 Zener Diode 12V SMD Motorola 1SMC12AT3 DS1 2 Dip Switch 4 X SPST SMD GRAYHILL 90HBW04S F1 Fuse 5A 250V Miniature 5 X 20mm Fast blow F2 Fuse 1A 250V Miniature 5 X 20mm Fast blow H1 H2 H3 H4 Gnd Bridge Gold Plated PRECIDIP 999 11 112 10 J1 J2 J3 Jumper Header 3 Pole with Fabricated Jumper J4 Jumper Soldered L1 Inductor 8 2 mH BOURNS PT12133 LD1 LD5 LD6 LD14 LD15 Led Green SMD SIEMENS LG T670 HK 96 For More Information On This Product Go to www freescale com Release 1 3a Freescale Se migonducton Ing Support Information TABLE 5 14 MPC821ADS Part List Reference Designation Part Description Manufacturer Part LD2 LD3 LD4 LD8 LD11 LD12 Led Yellow SMD SIEMENS LY T670 HK LD13 LD7 LD9 LD10 Led Red SMD SIEMENS LS T670 HK P1 Connector 37 pin Male DType KCC DN 37 P RCZ 909 P2 Connector 8 pin RJ45 KCC 90015 8P8C Receptacle 909 P3 Connector 9 pin Female DType KCC DN 09 S RCZ 909 P4 Connect
100. The male part is soldered to the pcb 87 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information while the receptacle is connected to the power supply That way fast connection disconnection of power is facilitated and physical efforts are avoided on the solders which therefore maintain solid connection over time TABLE 5 10 P7 Interconnect Signals REN Signal Name Description 1 5V 5V input from external power supply 2 GND GND line from external power supply 3 GND GND line from external power supply 58 P8 12V Power Connector The 12V power connector P8 is a two lead 2 part terminal block connector identical in type to the 5V connector P8 supplies when necessary programming voltage to the PCMCIA slot TABLE 5 11 P8 Interconnect Signals Pin PR Number Signal Name Description 1 12V 12V input from external power supply 2 GND GND line from external power supply 5 1 9 P11 LCD Connector The LCD connector P11 is a 30 pin Male Header SMD connector meant to ease connection to LCD s 88 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information to their various types All P11 signals exist also at P10 and P13
101. Write Active low Strobes data to the PC Card during I O Card write cycles 46 PCCA17 O PCMCIAAddress line 17 47 PCCA18 0 PCMCIA Address line 18 48 PCCA19 O PCMCIA Address line 19 49 PCCA20 0 PCMCIA Address line 20 65 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 4 4 PCMCIA Connector Interconnect Signals Pin No Signal Name Attribute Description 50 PCCA21 0 PCMCIA Address line 21 51 PCCVCC 0 5V VCC for the PC Card Switched by the MPC821ADS via BCSR1 52 PCCVPP O 12V 5V VPP for the PC Card programming 12V available only if12V is applied to P8 Controlled by the MPC821ADS via BCSR1 53 PCCA22 0 PCMCIA Address line 22 54 PCCA23 0 PCMCIA Address line 23 55 PCCA24 0 PCMCIA Address line 24 56 PCCA25 0 PCMCIA Address line 25 57 VS2 Voltage Sense 2 from PC Card Indicates in conjunction with VS1 the operation voltage for the PC Card 58 RESET 0 Reset signal for PC Card 59 WAITA Cycle Wait from PC Card Active low 60 INPACK Input Port Acknowledge Active low Indicates that the Pc Card can respond to I O access for a certain address 61 PCREG 0 Attribute Memory or I O Space Select Active low Used to select either attribute card configuration memory or I O space 62 BVD2 Battery Voltage Detect 2 Used in conjunction with BVD1
102. by an internal PDA reset source This bit is updated for each byte sent 5 InDebug In Debug Mode When this status only bit is active high it indicates that R the MPC is in debug mode A Remember that the location of DSDI and DSCK is determined by the HARD Reset configuration B Normal i e boot via CSO 57 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Functional Description TABLE 4 16 Debug Port Control Status Register VF BIT MNEMONIC Function Pa ATT DEF 4 3 Reserved Should be always written with 00 00 R W 2 StatusRequest Status Request When the host writes this bit active low the I F will issue 0 R W a status read request to the host by asserting ADS_REQ line to the host When the host writes the control register with this bit negated no status read request is issued Upon I F reset this bit wakes up active 1 DiagLoopBack Diagnostic Loopback Mode When this control bit is active low the I F is 0 R W placed in Diagnostic Loopback Mode l e DSDI is connected internally to DSDO DSDl is tri stated and each data byte sent to the I F data register is sampled back into the receive shift register Using this bit allows to check the I F upto transmit and receive shift registers Upon I F reset this bit wakes up active 0 DebugEntry Debug Mode Entry When this bit is active low the MPC will enter debug 0 R W m
103. by main 3 3V bus J1 Release 1 3a For More Information On This Product Go to www freescale com Freescale miconductor Inge nual General Information Sh 3 9 9 BA9 and 210 are connected to U10 ENG U9 instead of BA11 and BA12 for flash bank se lection Bug correction Sh 3 10 Renewed support for 32Khz crystal e CLKAIN is gated UA38 so when working with 32768 Hz crystal CLK4IN is driven constantly to 0 This to avoid clock jitter with this mode of operation Parallel resistor increased to 20MQ Sh 7 11 PLL s XFC capacitors were changed to react for formula change Lower MF range capacitor is changed to 5nF to cover 1 5 to 1 10 MF range while higher MF range capacitor was changed to 0 68uF to cover 1 458 to 1 12208 MF range Sh 7 12 PCMCIA power controller is changed to LTC1315 by Linear Technologies e PCCVPPG signal and indication are removed not supported by this device e VPP selection code is changed DRAMEN no longer controls power to the dram Old 12V voltage pump remains as contingency for possible unavailability of the device although the device switching outputs drive 12V R55 R56 amp R59 are therefore not as sembled Sh 3 9 Added ADS board revision tag in BCSR 14 Added signals RS EN and ETHEN to P13 Quads Compatible connector for tool designer benefit Sh 16 15 Added 4 switches dip switch DS2 connected over EXTOLI 0 3 lines to provid
104. com enables hard reset buffer PdaSoftReset NOD 5 istype com enables soft reset buffer WK CC CK CC KK KKK KK kk Tx Shift Register ck Ck Ck 4 Ck Ck Ck Ck Ck Wk ck xReg7 xReg6 xReg5 xReg4 xReg3 xReg2 xRegl xReg0O NODI istype reg buffer Transmit latch and shift register Tx Control Logic 5 WK KK KKK KK KK KK TxWordLen3 TxWordLen2 TxWordLenl TxWordLen0 NODE istype reg buffer Counter counts on fast clock
105. com invert pits 0 15 data buffer enable LowerHalfEn PIN 5 istype com invert bits 16 31 data buffer enable PccEvenEn PIN 14 istype com invert upper byte data buffer enable PccOddEn PIN 37 istype com invert pcc lower byte data buffer enable PccR W PIN 62 istype com pcmcia data buffers direction mx dj Te FERE ETHER HEHEE LE THE 5 T 4 us THE THE x T THE 2 ud dog eH THE TO HIERHER PET ui 130 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information VE ck Ck ck CC CC KKK KKK KKK
106. disabled via BCSR1 may be used off board for any alternate function B5 GND B6 RSTXD 5232 port Transmit Data In fact PB25 SMTXD1 When the RS232 port is disabled via BCSR1 may be used off board for any alternate function B7 RSRXD I O RS232 port Receive Data In fact PB24 SMRXD1 When the RS232 port is disabled via BCSR1 may be used off board for any alternate function B8 RSDTR 5232 port DTR signal In fact PB23 SMSYN1 SDACK1 When the RS232 port is disabled via BCSR1 may be used off board for any alternate function B9 GND B10 PB20 PB20 SMRXD2 L1CLKOA Not used on the ADS 80 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 8 P10 Interconnect Signals Pin No Signal Name Attribute Description B11 PB21 PB21 SMTXD2 L1CLKOB Not used on the ADS B12 PB22 PB22 SMSYN2 SDACK2 Not used on the ADS B13 GND B14 PB17 I O PB17 L1RQB L1ST3 Not used on the ADS B15 PB18 PB18 RTS2 L1ST2 Not used on the ADS B16 E_TENA Ethernet port Transmit Enable In fact PB19 RTS1 L1ST1 When active transmit is enabled via the MC68160 EEST When the ethernet port is disabled via BCSR1 may be used off board for any alternate function B17 GND B18 PB16 IO PB16 L1RQA L1ST4 Not used on t
107. the received data word is composed of the Rx shift register LSB concatenated with the 7 LSBs of the Tx shift register nx The edge in Clk4 terms upon which data is shifted in is determined by TxClkSns as with the Tx shift register but on opposite edges i e data is shifted Out from the Tx shift register on the Falling edge of DSCK while is shifted In to the Rx shift register on the Rising edge DSCK DSCK terms are constant in that regard WK ck kk kk CK KKK KKK KK KK kk equations RxReg0 clk C1k2 RxReg0 ar Reset when STATE TX ENABLED amp STATE TX ON RISING amp Clk4 STATE TX ENABLED amp STATE TX ON FALLING amp Clk4 amp IN DIAG LOOP BACK then RxReg0 d DSDO shift in ext data else when STATE TX ENABLED amp STATE TX ON RISING amp Clk4 STATE TX ENABLED amp STATE TX ON FALLING amp Clk4 amp IN DIAG LOOP BACK then RxReg0 d TxReg7 fb shift in from transmit reg else RxReg0 d RxRegQ fb hold value KK KKK KKK CK KKK CC
108. this register may be written with new values to become active for the next hard reset The state machines are built in a way that its power on value is changed in one plac the declarations area equations ifdef SLOW PLL LOCK PonDefault ResetConf RGPORIn 153 For More Information On This Product Go to www freescale com Release 1 3a Freescale Se micenductor Ing nual Support Information ConfigReg clk SYSCLK state_diagram ERB state INTERNAL_ARBITRATION if PDA WRITE CONFIG REG amp RB DATA BIT pin EXTERNAL ARBITRATION amp KA_PON_RESET ERB PON DEFAULT INTERNAL ARBITRATION T RB_PON_DEFAULT EXTERNAL_ARBITRATION then KA_PON_RESET amp EXTERNAL_ARBITRATION else INTERNAL_ARBITRATION state EXTERNAL_ARBITRATION if PDA WRITE_CONFIG_REG amp RB DATA BIT pin INTERNAL ARBITRATION 8 KA PON RESET ERB PON DEFAULT EXTERNAL ARBITRATION
109. to indicate the condition of the PC Card s battery 63 BVD1 Battery Voltage Detect 1 Used in conjunction with BVD2 to indicate the condition of the PC Card s battery 64 PCCD8 PCMCIA Data line 8 65 PCCD9 PCMCIA Data line 9 66 PCCD10 0 PCMCIA Data line 10 67 CD2 Card Detect 2 Active low Indicates in conjunction with CD1 that a PC Card is placed correctly in socket 68 GND Ground 525 P5 External Debug Port Controller Input Interconnect The debug port connector P5 is a 10 pin Male header connector signals of which are described in 66 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 5 TABLE 5 5 P5 Interconnect Signals Pin No Signal Name Attribute Description 1 VFLSO 0 Visible history FLushes Status 0 Indicates in conjunction with VFLS1 the number of instructions flushed from the core s history buffer Indicates also whether the MPC is in debug mode If not using the debug port may be configured for alternate function 2 SRESET 1 0 Soft Reset line of the MPC Active low Open Drain 3 GND Ground 4 DSCK Debug Serial Clock Over the rising edge of which serial date is sampled by the MPC from DSDI signal Over the falling edge of which DSDI is driven towards the MPC and DSDO is driven by the MPC Configured on the MPC s JTAG port When th
110. to www freescale com Freescale Se migonducton Ing Functional Description address It may be read or written at any timeA BCSR1 gets its defaults upon Power On reset Most of BCSR1 pins are available at the expansion connectors providing visibility towards external logic BCSR1 fields are described in TABLE 4 6 BCSR1 Description on page 50 TABLE 4 6 BCSR1 Description PON BIT MNEMONIC Function ATT DEF 0 FLASH EN Flash Enable When this bit is active low the Flash memory module is 0 RW enabled on the local memory map When in active the Flash memory is removed from the local memory map and CSO to which the Flash memory is connected may be used off board via the expansion connectors 1 DRAM EN Dram Enable When this bit is active low the DRAM module is enabled 1 RW on the local memory map When in active the DRAM is removed from the local memory map and CS2 and CS3 to which the DRAM is connected may be used off board via the expansion connectors 2 ETHEN Ethernet Port Enable When asserted low the EEST connected to SCC1 1 RW is enabled When negated high that EEST is in standby mode while all its System i f signals are tri stated 3 IRDEN Infra Red Port Enable When asserted low the Infra Red transceiver 1 RW connected to SCC2 is enabled When negated the Infra Red transceiver is put in shutdown mode And SCC2 pins are available for off board use via the expansion connectors
111. www freescale com Freescale Se migonducton Ing OPERATING INSTRUCTIONS When the yellow IRD ON led is lit it indicates that the Infra Red transceiver the TFDS3000 connected to SCC2 is active and enables communication via that medium When it is dark the I R transceiver is in shutdown mode enabling the use of SCC2 pins off board via the expansion connectors 3 2 15 Ethernet CLSN Indicator LD9 The red Ethernet Collision LED indicator CLSN blinks whenever a collision condition is detected on the ethernet port i e simultaneous receive and transmit 3 2 16 Ethernet PLR Indicator LD10 The red Ethernet TP Polarity LED indicator PLR lights whenever the wires connected to the receiver input of the ethernet port are reversed The LED is lit by the EEST and remains on while the EEST has automatically corrected for the reversed wires 3 2 17 Ethernet LIL Indicator LD11 The yellow Ethernet Twisted Pair Link Integrity LED indicator LIL lights to indicate good link integrity on the TP port The LED is off when the link integrity fails 3 2 18 RS232 ON LD12 When the yellow RS232 ON led is lit it designates that the RS232 transceiver connected to SMC1 is active and communication via that medium is allowed When dark it designates that the transceiver is in shutdown mode so SMC1 pins may be used off board via the expansion connectors 3 2 19 PCMCIA ON LD13 When the yellow PCMCIA ON led is lit it indicates the following
112. 0 PCCA15 O PCMCIA Address line 15 64 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 4 4 PCMCIA Connector Interconnect Signals Pin No Signal Name Attribute Description 21 PCCA12 0 PCMCIA Address line 12 22 PCCA7 0 PCMCIA Address line 7 23 PCCA6 O PCMCIAAddress line 6 24 PCCA5 0 PCMCIA Address line 5 25 PCCA4 0 PCMCIA Address line 4 26 PCCA3 0 PCMCIA Address line 3 27 PCCA2 0 PCMCIA Address line 2 28 PCCA1 0 PCMCIA Address line 1 29 PCCAO 0 PCMCIA Address line 0 30 PCCDO I O PCMCIA Data line 0 31 PCCD1 0 PCMCIA Data line 1 32 PCCD2 1 0 PCMCIA Data line 2 33 WP Write Protect indication from the PC Card 34 GND Ground 35 GND Ground 36 CD1 Card Detect 1 Active low Indicates in conjunction with CD2 that a PC Card is placed correctly in socket 37 PCCD11 1 0 PCMCIA Data line 11 38 PCCD12 1 0 PCMCIA Data line 12 39 PCCD13 I O PCMCIA Data line 13 40 PCCD14 0 PCMCIA Data line 14 41 PCCD15 1 0 PCMCIA Data line 15 42 BCE2A 0 PCMCIA Chip Enable 2 Active low Enables ODD numbered address bytes 43 VS1 Voltage Sense 1 from PC Card Indicates in conjunction with VS2 the operation voltage for the PC Card 44 IORD 0 Read Active low Drives data bus during l O Cards read cycles 45 IOWR 0 l O
113. 001 Base at 2200000 32 bit port size no parity GPCM supported ORO MCM29F020 90 FFE00D34 2MByte block size all types access CS early negate 6 w s Timing relax MCM29F040 90 FFC00D34 4MByte block size all types access CS early negate SM732A1000A 9 6 w s Timing relax MCM29F080 90 FF800D34 8MByte block size all types access CS early negate SM732A2000 9 6 w s Timing relax MCM29F020 12 FFE00D44 2MByte block size all types access CS early negate 8 w s Timing relax MCM29F040 12 FFC00D44 4MByte block size all types access CS early negate SM732A1000A 12 8 w s Timing relax MCM29F080 12 FF800D44 8MByte block size all types access CS early negate SM732A2000 12 8 w s Timing relax BR1 BCSR 02100001 Base at 2100000 32 bit port size no parity GPCM 081 BCSR FFFF8110 32 KByte block size all types access CS early negate 1 w s BR2 All Dram SIMMs 00000081 Base at 0 32 bit port size no parity UPMA Supported OR2 MCM36100 200 60 70 FFC00800 4MByte block size all types access initial address multiplexing according to AMA MCM36400 800 60 70 FF000800 16MByte block size all types access initial address MT8 16D432 832X 6 7 multiplexing according to AMA BR3 MCM36200 60 70 00400081 Base at 400000 32 bit port size no parity UPMA MCM36800 60 70 01000081 Base at 1000000 32 bit port size no parity UPMA MT16D832X 6 7 OR3 MCM36200 60 70 FFC00800 4MByte block size all types access initial address multiplexing accordin
114. 11 for convenient LCD connection C20 LOE y o MPC821 s PD6 LCD AC LOE or MPC860 s PD6 RTS4 Not used on the ADS Appears also at P11 for convenient LCD connection C21 VCC C22 HRESET VO L MPC Hard Reset Driven by on board logic and may be driven by off board logic with Open Drain gate only 94 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 13 P13 Interconnect Signals Pin No Signal Name Attribute Description C23 SRESET VO L MPC Soft Reset Driven by on board logic and may be driven by off board logic with Open Drain gate only C24 N C Not Connected C25 VCC C26 SHIFT_C IO MPC821 s PD3 SHIFT CLK or MPC860 s PD3 RRJECT4 Not used on the ADS Appears also at P11 for convenient LCD connection C27 VPPIN 12V input for PCMCIA flash programming Parallel to P8 C28 VPPIN 12V input for PCMCIA flash programming Parallel to P8 C29 GND C30 HSYNC y o MPC821 s PDA LOAD HSYNC or MPC860 s PD4 RRJECT3 Not used on the ADS Appears also at P11 for convenient LCD connection C31 GND C32 VSYNC IO MPC821 s PD5 FRAME VSYNC or MPC860 s PD5 RRJECT2 Not used on the ADS Appears also at P11 for convenient LCD connection 5 2 MPC821ADS Part List In this section the MPC821ADS s bill of material is listed according to their reference designation Reference Designa
115. 13 GPL2 O L In fact GPL2A GPL2B CS2DD General Purpose Line 2 for UPMA or UPMB May also be used as Chip Select 2 Double Drive Not used within the ADS A14 WE1 O L In fact WE1 BS_B1 IOWR GPCM Write Enable1 or UPMB Byte Select 1 or PCMCIA I O Write Used to qualify write cycles to the Flash memory and as I O Write for the PCMCIA channel A15 GND A16 BS0A O L Byte Select 0 for UPMA Used for Dram access A17 BS3A O L Byte Select 3 for UPMA Used for Dram access A18 GND A19 A21 O T S MPC s Address line 21 A20 A7 O T S MPC s Address line 7 A21 GND A22 A11 O T S MPC s Address line 11 A23 A9 O T S MPC s Address line 9 A24 GND A25 A27 O T S MPC s Address line 27 A26 A25 0 1 5 MPC s Address line 25 A27 GND A28 A23 0 1 5 MPC s Address line 23 A29 A5 O T S MPC s Address line 5 A30 GND B1 VCC MPC821ADS VCC plane B2 VCC MPC821ADS VCC plane B3 VCC MPC821ADS VCC plane 70 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 6 P6 Interconnect Signals Pin No Signal Name Attribute Description B4 DRM_W O L In fact GPLOA GPLOB General Purpose Line 0 for UPMA or UPMB Used as a Write signal for the Dram B5 GND B6 TA VO L Transfer Acknowledge Not driven by on board logic B7 T
116. 23 V3 3 A24 V3 3 A25 V3 3 81 GND B2 GND B3 GND B4 IRQ3 LL CR IRQ3 Cancel Reservation input or Interrupt Request line 3 Pulled up but otherwise unused on the ADS B5 IRQ2 l O L RSV IRQ2 Reservation output or Interrupt Request line 2 input Pulled up but otherwise unused on the ADS B6 GND B7 VF1 I O IP_B5 LWP1 VF1 Input Port B 5 or Load Store Watchpoint 1 output or Visible Instruction Queue Flushes Status 1 Configured on the ADS as VF1 May be used for alternate function B8 ATO IP_B6 DSDI ATO Input Port B 6 or Debug Serial Data Input or Address Type 0 Configured on the as ATO May be used for alternate function B9 GND B10 MODCK1 I O OP2 MODCK1 STS PCMCIA Output Port 2 or Mode Clock 1 input or Special Transfer Start output Used at Power On reset as MODCK1 and configured afterwards as a STS May be used with alternate function 75 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 7 P9 Interconnect Signals Pin No Signal Name Attribute Description B11 N C Not Connected B12 GND B13 GND B14 CLK4IN External Clock Input Driven by on board 4MHz clock generator B15 GND B16 HRESET I O L MPC Hard Reset Driven by on board logic and may be driven by O D off board logic with Open Drain gate only
117. 232 ENABLE DATA BIT D7 PCC ENABLE DATA BIT D8 PCC VCC DATA BIT D9 PCC VPP DATA BIT D10 D11 HALF WORD DATA BIT D12 Equations state diagrams WK KKK KKK KKK KK KKK KKK KK KK KK KKK gt 3 me HEEE T THE mx ig ot F EREE T ta od PtH ERE T 0 dg x 4 Ft O gt THE dE dE HE dE dE dk THE THE THE THE Configuration Register Gets its default pon reset values which are driven to the data bus when during hard reset configuration If other values are required
118. 3 A22 GND A23 GND A24 IRQ7 LL Interrupt Request 7 The lowest priority interrupt request line Not used on the ADS A25 IRQ6 0 FRZ IRQ6 Freeze debug mode indication or Interrupt Request 6 Configured on the ADS as IRQ6 Not by ADS logic may be configured to alternate function if IRQ6 is not required A26 ETHEN O L Ethernet Port Enable Connected to BCSR1 5889 3 BCSR1 Board Control Register on page 49 A27 IRQ3 CR IRQ3 Cancel Reservation input or Interrupt Request line 3 Pulled up but otherwise unused on the ADS A28 IRQ2 VO L RSV IRQ2 Reservation output or Interrupt Request line 2 input Pulled up but otherwise unused on the ADS A29 IRQ1 LL Interrupt Request 1 Pulled up but otherwise not used on the ADS A30 NMI LL Non Makable Interrupt In fact IRQO of the MPC Driven by on board logic by O D gate May be driven off board by O D gate only A31 RS EN O L RS232 Port Enable Connected to BCSR1 See 4 14 3 BCSR1 Board Control Register on page 49 A32 GND B1 PB31 0 PB31 SPISEL RRJECT1 Not used on the ADS B2 PB30 I O PB30 SPICLK Not used on the ADS B3 PB29 I O PB29 SPIMOSI Not used on the ADS B4 PB28 PB28 SPIMISO BRGO4 Not used on the ADS B5 PB27 1 0 PB27 I2CSDA BRGO Not used on the ADS B6 PB26 0 PB26 I2CSCL BRGO2 Not used on the ADS B7 RSTXD I O RS232 port Transmit Data In fact PB25 SMTXD1 When the RS232 port is disabled via BCSR1 may be used off board for
119. 32 00400000 007FFFFF DRAM SIMM MCM36200 MCM36400 MCM36800 32 00800000 OOFFFFFF DRAM SIMM MCM36400 MCM36800 32 01000000 01 FFFFFF DRAM SIMM MCM36800 32 02000000 020FFFFF Empty Space 02100000 02103FFF BCSR 0 3 8 325 02104000 021FFFFF Empty Space 02200000 02207FFF MPC Internal 32 MAPS 02208000 027FFFFF Empty Space 02800000 029FFFFF Flash SIMM MCM29F020 MCM29F040 MCM29F080 32 SM732A1000A SM732A2000 02800000 O2BFFFFF MCM29F040 MCM29F080 32 SM732A1000A SM732A2000 02000000 O2FFFFFF MCM29F080 32 SM732A2000 a The device appears repeatedly in multiples of its size E g BCSRO appears at memory locations 2100000 2100010 2100020 while BCSR1 appears at 2100004 2100014 2100024 and so on b Only upper 16 bit are in fact used c Refer to the MPC821 User s Manual for complete description of the MPC internal memory map 3 4 Programming The MPC Registers The MPC provides the following functions on the MPC821ADS 1 DRAM Controller af O Inm 6 20 Chip Select generator Ethernet controller Infra Red Port Controller General Purpose I O signals UART for terminal or host computer connection Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing OPERATING INSTRUCTIONS The internal registers of the MPC must be programmed after Hard reset as described in the following paragraphs The addresses and programmin
120. ACTIVE ADS ACK ACTIVE HOST ACK ACTIVE HOST WRITI HOST WRITI 109 1 ds The other state is 1 E ADI AdsSelect fb BOARD IS SELECTED 8 DS HstReq fb HOST REQ ACTIVE amp AdsAck ADS ACK ACTIVE amp HstAck HOST ACK ACTIVE E ADI CONTROL AdsSelect fb BOARD IS S HstAck HOST_ACK_ACTIVI ADS ACK ACTIVI EIL ECT DS HstReq fb HOST REO ACTIVE AdsAck ADS ACK ACTIVE D_C CONTROL amp S D C fb CONTROL 6 LH amp For More Information On This Product Go to www freescale com Release 1 3a HOST_WRI TE ADI D ATA HOST WRI IE COMPL Freescale Se micenductor Ing nual Support Information DS HstReq fb HOST REO ACTIVI AdsAck ADS ACK ACTIVE amp D_C DATA amp S D C fb DATA amp HstAck HOST ACK ACTIVE DS HstReq fb HOST REO ACTIVE AdsAck ADS ACK ACTIVE AdsSelect fb BOARD IS SELECTED 1 Qh AdsSelect fb BOARD_IS_SELECTED
121. ACTIVE amp HstReq HOST REQ ACTIVE STATUS WORD ON ADI BUS AdsSelect fb BOARD IS SELECTED amp HStACk HOST ACK ACTIVE amp HstReq HOST REQ ACTIVE amp D_C CONTROL READ DATA WORD ON ADI BUS AdsSelect fb BOARD IS SELECTED amp HsStACk HOST ACK ACTIVE amp HstReq HOST REQ ACTIVE amp D_C DATA We Equations state diagrams x 11 4 T TES d T HEHEH THE THE 5 T d tt EREHE THE x me od EREE 2 Tx Tod dg TRO 2 gt 4 FR Fett THE ig x KK ck 112 For More Information On This Product Go to www
122. ADI Installation C 1 INTRODUCTION This appendix describes the hardware installation of the ADI board into various host computers The installation instructions cover the following host computers 1 IBM PC XT AT 2 SUN 4 SBus interface 02 IBM PC XT AT to MPC821ADS Interface The ADI board should be installed in one of the IBM PC XT AT motherboard system expansion slots A single ADI can control up to eight MPC821ADS boards The ADI address in the computer is configured to be at I O memory addresses 100 102 hex but it may be reconfigured for an alternate address space CAUTION BEFORE REMOVING OR INSTALLING ANY EQUIPMENT IN THE IBM PC XT AT COMPUTER TURN THE POWER OFF AND REMOVE THE POWER CORD C 2 1 ADI Installation in IBM PC XT AT Refer to the appropriate Installation and Setup manual of the IBM PC XT AT computer for instructions on removing the computer cover The ADI board address block should be configured at a free I O address space in the computer The address must be unique and it must not fall within the address range of another card installed in the computer The ADI board address block can be configured to start at one of the three following addresses e 100 This address is unassigned in the IBM PC 200 This address is usually used for the game port e 300 This address is defined as a prototype port The ADI board is factory configured for address decoding at 100 102 hex in the IBM PC XT AT I O address m
123. B17 RSTCNF IL Hard Reset Configuration Input Driven during Hard Reset to sample Hard Reset configuration from the data bus B18 GND B19 BCD1 LL Buffered PCMCIA slot A Card Detect 1 In fact IP A4 Input Port 4 of PCMCIA slot A Used as Card Detect indication in conjunction with BCD2 When the PCMCIA port is disabled via BCSR may be used off board B20 BCD2 LL Buffered PCMCIA slot A Card Detect 2 In fact IP A3 Input Port 4 of PCMCIA slot A Used as Card Detect indication in conjunction with BCD1 When the PCMCIA port is disabled via BCSR may be used off board B21 GND B22 DP1 I O DP1 IRQ4 Data Parity line1 or Interrupt Request 4 Generates and receives parity data for D 8 15 bits May not be configured as IRQ4 B23 N C Not Connected B24 N C Not Connected B25 N C Not Connected C1 GND C2 SYSCLK 0 System Clock In fact the CLKOUT of the MPC Should be used carefully off board otherwise might disrupt proper operation of the ADS C3 GND C4 GND C5 IRQ6 I O FRZ IRQ6 Freeze debug mode indication or Interrupt Request 6 Configured on the ADS as IRQ6 Not by ADS logic may be configured to alternate function if IRQ6 is not required 76 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 7 P9 Interconnect Signals Pin No Signal Name Attr
124. B29 0 PB29 SPIMOSI Not used on the ADS D7 GND D8 PB28 0 PB28 SPIMISO BRGO4 Not used on the ADS D9 PB27 0 PB27 I2CSDA BRGO Not used on the ADS D10 PB26 y o PB26 I2CSCL BRGO2 Not used on the ADS D11 GND D12 SPARE2 MPC spare pin 2 D13 DSDO 0 DSDO TDO Debug Port Serial Data Output or JTAG port Data Output Used on the ADS as debug port serial data If the ADI bundle is not connected to the ADS may be used by an external debug JTAG port controllers D14 GND D15 DSCK 0 DSCK TCK Debug Port Serial Clock input or JTAG port serial clock input Used on the ADS as debug port serial clock driven by the debug port controller If the ADI bundle is not connected to the ADS may be driven by an external debug JTAG port controller D16 GND D17 DSDI DSDI TDI Debug Port Serial Data Input or JTAG port serial Data Input Used on the ADS as debug port serial data driven by the debug port controller If the ADI bundle is not connected to the ADS may be driven by external debug JTAGP port controller D18 TMS JTAG port Test Mode Select input Used to select test through the JTAG port Pulled up but otherwise not used on the ADS D19 TRST LL JTAG port Reset Pulled down with a zero ohm resistor so that the JTAG logic is constantly reset D20 GND D21 HSYNC MPC821 s PD4 LOAD HSYNC Not used on the ADS Appears also at P11 for convenient LCD connection D22 LD5 0 MPC821 s PD12 LD5 Not used on
125. CIA card When the PCMCIA port is disabled via BCSR1 may be used off board D20 GND D21 BBVD2 Buffered PCMCIA slot A Battery Voltage Detect 2 In act IP_A5 Used in conjunction with BBVD1 to determine the battery status of a PC Card When the PCMCIA port is disabled via BCSR1 may be used off board D22 DP2 DP2 IRQ5 Data Parity line 2 or Interrupt Request 5 Generates and receives parity data for D 16 23 bits May not be configured as IRQ5 D23 V2 2V Power Rail Optional for driving MPC VDDL D24 V2 7 D25 V2 TABLE 5 8 P10 Interconnect Signals Pin No Signal Name Attribute Description Al GND A2 PA11 VO PA11 L1TXDB Not used on the ADS Appears also at P13 A3 PA10 0 PA10 L1RXDB Not used on the ADS Appears also at P13 A4 GND A5 PA9 0 PA9 L1TXDA Not used on the ADS Appears also at P13 A6 PA8 PA8 L1RXDA Not used on the ADS Appears also at P13 A7 GND A8 ETHTCK Ethernet Port Transmit Clock In fact PA7 CLK1 TIN1 L1RCLKA BRGO1 When the Ethernet port is disabled via BCSR1 may be used off board for any alternate function Appears also at P13 AQ ETHRCK Ethernet Port Receive Clock In fact PA7 CLK2 TOUT1 BRGCLK1 When the Ethernet port is disabled via BCSR1 may be used off board for any alternate function Appears also at P13 A10 GND A11 PA5 IO PA5 CLK3 TIN2 L1TCLKA BRGOUT2 Not used on the ADS Appears also at P13 A12 PA4 PA4 CLK4 TOUT2 Not u
126. Chip Select lines so they do not float when the MPC is removed from its socket avoiding possible contention over data bus lines 4 15 1 1 Debug Port Connection Target System Requirements In order for a target system may be connected to the ADS as a debug port controller few measures need to be taken on the target system 1 A 10 header connector should be made available with electrical connections matching TA BLE 5 5 P5 Interconnect Signals on page 67 2 Pull down resistors of app 2KQ should be connected over DSDI and DSCK signals These resistors are to provide normal operation when a debug port controller is not connected to the target system 3 The debug port should be enabled and routed to the desired pins See the DBGC and DBPC fields within the HARD RESET configuration word 415 2 Debug Port Control Status Register The control status register is an 8 bit register bit 7 stands for MSB For the description of the ADI control status register see TABLE 4 16 Debug Port Control Status Register on page 57 TABLE 4 16 Debug Port Control Status Register VF BIT MNEMONIC Function js ATT DEF 7 MpcRst Mpc Reset When this status only bit indicates when active high that R either a SOFT or a HARD reset is driven by the MPC 6 TxError Transmit Error When this status only bit is active high it indicates that R the last transmission towards the MPC was cut
127. D IS S DS HstAck fb HOST AC HstReq HOST AdsReq ADS RI D_C CONTROL ELECTED amp K ACTIVE amp EQ ACTIVE amp E amp i ELECTED amp K_ACTIVE amp EQ ACTIVE amp EQ ACTIVE amp Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information ADS SEND STATUS AdsSelect fb BOARD IS SELECTED amp DS HstReq fb HOST REO ACTIVE amp D_C CONTROL amp AdsACk ADS ACK ACTIVI i 1 IS STATUS R EQUEST ADI Data Bus definitions DATA_BUFFERS_ENABLE AdsSelect fb BOARD IS SELECTED amp HsCACk HOST ACK
128. D8 TXD4 Not used on the ADS Appears also at P11 for convenient LCD connection A9 ETHTCK IO Ethernet Port Transmit Clock In fact PA7 CLK1 TIN1 L1RCLKA BRGO1 When the Ethernet port is disabled via BCSR1 may be used off board for any alternate function Appears also at P13 A10 ETHRCK 0 Ethernet Port Receive Clock In fact PA7 CLK2 TOUT1 BRGCLK1 When the Ethernet port is disabled via BCSR1 may be used off board for any alternate function Appears also at P13 A11 PA5 PA5 CLK3 TIN2 L1TCLKA BRGOUT2 Not used on the ADS Appears also at P13 A12 PA4 PA4 CLK4 TOUT2 Not used on the ADS Appears also at P13 A13 PA3 I O PA3 CLK5 TIN3 BRGOUT3 Not used on the ADS A14 PA2 IO PA2 CLK6 TOUT3 L1RCLKB BRGCLk2 Not used on the ADS A15 PA1 IO PA1 CLK7 TIN4 BRGO4 Not used on the ADS A16 PAO y o PAO CLK8 TOUT4 L1TCLKB Not used on the ADS A17 VCC A18 PA11 0 PA11 L1TXDB Not used on the ADS Appears also at P13 A19 PA10 0 PA10 L1RXDB Not used on the ADS Appears also at P13 A20 9 0 PA9 L1TXDA Not used on the ADS Appears also at P13 91 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 13 P13 Interconnect Signals Pin No Signal Name Attribute Description A21 PA8 PA8 L1RXDA Not used on the ADS Appears also at P1
129. DIS_PON_DEFAULT BOOT_ENABLE KA PON RESET amp BDIS PON DEFAULT BOOT DISABLE then BOOT DISABLE else BOOT ENABLE state BOOT DISABLE if PDA WRITE CONFIG REG amp BDIS DATA BIT pin BOOT ENABLE amp KA PON RESET BDIS PON DEFAULT BOOT DISABLE KA PON RESET amp BDIS PON DEFAULT BOOT ENABLE then BOOT ENABLE else BOOT DISABLE state_diagram BPS state BOOT_PORT_32 if G amp 3 PDA WRITE CONFIG RI 155 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information BPS DATA BIT pin BOOT PORT 8 amp KA PON RESET BPS PON DEFAULT BOOT PORT 32 KA PON RESET amp BPS PON DEFAULT BOOT PORT 8 then BOOT PORT 8 else if PDA WRITE CONFIG REG amp BPS DATA BIT pin BOOT PORT 16 amp KA PON RESET BPS PON DEFAULT BOOT PORT 32 KA PON RESET amp BPS PON DEFAULT BOOT PORT 16 then BOOT PORT 16 else if PDA WRITE CONFIG REG amp BPS DATA BIT pin
130. FF CONSIDERED amp HOLD OFF PERIOD STATE NO HOLD OFF local data buffers disable data contention protection equations HoldoffConsidered clk SYSCLK D FlashOe FlashOe DD FlashOe D FlashOe fb TD FlashOe DD FlashOe fb OD FlashOe TD FlashOe fb PD FlashOe QD FlashOe fb 138 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information ifdef DEBUG equations HoldOffConsidered HOLD OFF CONSIDERED ifndef DEBUG state diagram HoldOffConsidered state NO HOLD OFF if END OF FLASH READ amp DSyncHardReset fb then HOLD OFF CONSIDERED else O HOLD OFF state HOLD OFF CONSIDERED if END OF OTHER CYCLE D
131. G PORT NON EXISTANT f KA PON RESE amp DBPC PON DEFAULT EBUG PORT ON DEBUG PINS then DEBUG PORT ON DEBUG PINS else 162 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information Jg EBUG PORT NON EXISTANT state DEBUG PORT RESERVED if PDA WRITE CONFIG REG amp DBPC DATA BIT pin DEBUG PORT ON JTAG amp KA PON RESET DBPC PON DEFAULT DEBUG PORT RESERVED KA PON RESET amp DBPC PON DEFAULT DEBUG PORT ON JTAG then DEBUG PORT ON JTAG else if PDA WRITE CONFIG REG amp DBPC DATA BIT pin DEBUG PORT NON EXISTANT amp 1KA PON RESET 4 DBPC PON DEFAULT DEBUG PORT RESERVED KA PON RESET amp DBPC PON DEFAULT DEBUG PORT NON EXISTANT then DEBUG PORT NON EXISTANT I else if PDA WRITE CONFIG REG amp DBPC DATA BIT pin DEBUG PORT ON DEBUG PINS amp 1KA PON RESET 4 DBPC PON DEFAULT DEBUG PORT RESERVED KA PON RESET amp DBPC PON DEFAULT DEBUG PORT ON DEBUG PINS then EBUG PORT ON DEBUG PINS else J Ww UG PORT RESERVED state DEBUG PORT ON DEBUG
132. G REG amp ISB DATA BIT pin INT SPACE BASE 0x00000000 amp KA PON RESET ISB PON DEFAULT INT SPACE BASE OxFF000000 KA PON RESET amp ISB PON DEFAULT INT SPACE BASE 0x00000000 then INT SPACE BASE 0x00000000 else if PDA WRITE CONFIG REG amp ISB DATA BIT pin INT SPACE BASE 0x00F00000 amp KA PON RESET ISB PON DEFAULT INT SPACE BASE OxFF000000 KA PON RESET amp ISB PON DEFAULT INT SPACE BASE 0x00F00000 then INT SPACE BASE 0x00F00000 else if PDA WRITE CONFIG REG amp ISB DATA BIT pin INT SPACE BASE OxFFF00000 amp KA PON RESET ISB PON DEFAULT INT SPACE BASE OxFF000000 KA PON RESET amp ISB PON DEFAULT INT SPACE BASE OxFFF00000 then INT SPACE BASE OxFFF00000 else INT SPACE BASE OxFF000000 state INT SPACE BASE OxFFF00000 if PDA WRITE CONFIG REG amp ISB DATA BIT pin INT SPACE BASE 0x00000000 amp KA PON RESET ISB PON DEFAULT INT SPACE BASE OxFFF00000 KA PON RESET amp ISB PON DEFAULT INT SPACE BASE 0x00000000 then INT SPACE BASE 0x00000000 else if PDA WRITE CONFIG REG amp ISB DATA BIT pin INT SPACE BASE 0x00F00000 amp KA PON RESET ISB PON DEFAULT INT SPACE BASE OxFFF00000 KA PON RESET amp ISB PON DEFAULT INT SPACE BASE 0x00F00000 then INT SPACE BASE 0x00F00000 else if PDA WRITE CONFIG REG amp 159 Release 1 3a For More Information On This Product Go to www freescale com else Freescale Se micen
133. HALF WORD DATA BIT pin HALF WORD amp KA PON RESET HALF WORD PON DEFAULT HALF WORD 4 KA PON RESET amp HALF WORD PON DEFAULT HALF WORD then HALF WORD else HALF WORD Read Registers All registers have read capabilty equations DataOe PDA_READ RESET_CONFIG_DRIVEN Data oe when PDA READ CONFIG REG 172 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information RESET CONFIG DRIVEN then Data ERB fb IP fb RSV2 fb BDIS fb BPSO fb BPS1 fb RSV6 fb ISBO fb ISBl fb DBGCO fb DBGCl1 fb DBPCO fb DBPCl fb RSV13 fb RSV14 fb RSV15 fb else when PDA READ CONTROL REG1 then Data ReadContRegl1 e
134. Interconnect Signals on page 67 in TABLE 5 5 P5 Interconnect Signals on page 67 in TABLE 5 8 P10 Interconnect Signals on page 79 and in TABLE 5 9 P12 Interconnect Signals on page 84 5 1 6 1 Connecting Application Boards to the Expansion Connectors The expansion connectors P6 P9 P10 amp P12 are arranged in a way that allows for wire wrap boards to be connected to it i e connectors pins are located on a 0 1 snap grid as shown in FIGURE 5 1 Any board that is to be attached to these connectors should have a rectangle hole in its center so that the MPC 67 Release 1 3a For More Information On This Product Go to www freescale com 68 Freescale Se migonducton nt nual Support Information socket may be accessed The recommended hole size is shown in FIGURE 5 1 as well Connecting an application board to the expansion connectors requires the following connectors to match the ADS s connectors e 6 units of Socket strip double row Wire Wrap 50 pin 25 X 2 rows female straight E g SSQ12524GD by Samtec e 2units of Socket strip double row Wire Wrap 60 pin 30 X 2 rows female straight E g SSQ13024GD by Samtec Using WW connectors even on a printed card retains logic analyzer connection capability Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information FIGURE 5 1 Expansion Connector Assembly
135. J oO AJ ON ON ON 2 3 2 Clock Source Selection Switch 4 on DS1 selects the clock source for the MPC When it is in the ON position while the ADS is powered up the on board 32 768 KHz crystal resonator becomes the clock source and the PLL multiplication factor becomes 1 513 When switch 4 is in the OFF position while the ADS is powered up the on board 4 MHz clock generator U17 becomes the clock source while the PLL multiplication factor becomes 1 5 2 3 2 1 Clock Generator Replacement 7 When replacing U17 with another clock generator it should be noticed that there are 2 supply level available at U17 1 5V supply at pin 14 A A 5MHz clock generator is provided as well Release 1 3a For More Information On This Product Go to www freescale com Freescale miconductor Ing nual Hardware Preparation and Installation 2 3 3V supply available at pin 11 FIGURE 2 3 U17 Power Sources 3 3V U17 From looking at FIGURE 2 3 U17 Power Sources above we see that 5V oscillator may be used with 14 pins only form factor while 3 3V oscillators may be used with 8 pins only form factor WARNING IF A 14 Pin Form Factor 3 3V Clock Generator is insert ed to U17 PERMANENT DAMAGE Might Be Inflicted To The Device WARNING Since the MPC clock input is NOT 5V FRIENDLY any clock generator inserted to U17 MUST BE 3 3V compat ible If a 5V output clock generator is inserted to U17 PERMANEN
136. J3 selects the Keep Alive power source of the MPC When a jumper is placed between positions 1 2 of J3 the Keep Alive power is fed from the main 3 3V bus When an external power source is to be connect ed to the Keep Alive power rail it should be connected between positions 2 the positive pole and position 3 GND of J3 A E g a battery 11 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Hardware Preparation and Installation F IGURE 2 6 Keep Alive Power Source Selection J3 33V 1 E 3 3V 1 x KAPWR 4 KAPWR z o BR KAPWR From 3 3V KAPWR From Ext Ext Power Supply Power Supply 2 4 INSTALLATION INSTRUCTIONS When the MPC821ADS has been configured as desired by the user it can be installed according to the required working environment as follows e Host Controlled Operation 2 4 1 Debug Port Controller for Target System Stand Alone Host Controlled Operation F In this configuration the MPC821ADS is controlled by a host computer via the ADI through the debug port IGURE 2 7 Host Controlled Operation Scheme This configuration allows for extensive debugging using on host debugger 5V Power Suppl
137. LED KA PON RESET amp ETH ENABLE PON DEFAULT ETH ENABLED then ETH ENABLED ETH ENABLED state ETH ENABLED if PDA WRITE CONTROL REG1 amp ETH ENABLE DATA BIT pin ETH ENABLED amp KA PON RES ETH ENABLE PON DEFAULT ETH ENABLED 4 KA PON RESET amp ETH ENABLE PON DEFAULT ETH ENABLED then ETH ENABLED else ETH ENABLED state diagram InfRedEn state INF_RED_ENABLE if PDA_WRITE_CONTROL_REG1 amp 166 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information INF RED ENABLE DATA BIT pin INF RED ENABLE amp KA PON RESET INFE RED ENABLE PON DEFAULT INF RED ENABLE KA PON RESET amp INF RED ENABLE PON DEFAULT INF RED ENABLE then INF RED ENABLE else
138. M29F040 M29F040 M29F040 F CS4 M29F040 M29F040 M29F040 M29F040 y DATA MCM29F020 MCM29F040 MCM29F080 SM732A1000A SM732A2000 The access time of the Flash memory supplied with the ADS is 120 nsec however 90 nsec devices may 42 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Functional Description be used Reading the delay section of the Flash SIMM Presence Detect lines the debugger establishes via ORO the correct number of wait states considering 50MHz system clock frequency The Motorola parts which are built of MC29F0XO0 devices are 5V programmable i e there is no need for external programming voltage and the flash may be written almost as a regular memory The SMART parts however require 12V 0 596 programming voltage to be applied If on boards program ming of such device is required a 12V supply needs to be connected to the ADS See 2 4 5 P8 12V Power Supply Connection on page 14 The control over the flash is done using the GPCM and a dedicated CSO region controlling the whole bank During hard reset initializations the debugger reads the Flash Presence Detect lines via BCSR2 and decided how to program BRO amp ORO in which the size and the delay of the region are determined The performance of the flash memory is shown in TABLE 4 4 Flash Memory Performance Figu
139. MCIA 2 KA PON RESET amp DBGC PON DEFAULT DEBUG PINS RESREVED then DEBUG PINS RESREVED else if PDA WRITE CONFIG REG amp DBGC DATA BIT pin DEBUG PINS FOR SHOW amp KA PON RESET 4 DBGC PON DEFAULT DEBUG PINS PCMCIA 2 KA PON RESET amp DBGC PON DEFAULT DEBUG PINS FOR SHOW then DEBUG PINS FOR SHOW else DEBUG PINS PCMCIA 2 DEBUG PINS WATCH POINTS if PDA WRITE CONFIG REG amp DBGC DATA BIT pin DEBUG PINS PCMCIA 2 amp KA PON RESET DBGC PON DEFAULT DEBUG PINS WATCH POINTS KA PON RESET amp DBGC PON DEFAULT DEBUG PINS PCMCIA 2 then DEBUG PINS PCMCIA 2 else if PDA WRITE CONFIG REG amp DBGC DATA BIT pin DEBUG PINS RESREVED amp KA PON RESET 4 DBGC PON DEFAULT DEBUG PINS WATCH POINTS KA PON RESET amp DBGC PON DEFAULT DEBUG PINS RESREVED then DEBUG PINS RESREVED else if PDA WRITE CONFIG REG amp DBGC DATA BIT pin DEBUG PINS FOR SHOW amp Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information KA PON RESET DBGC PON DEFAULT DEBUG PINS WATCH POINTS KA PON RESET amp DBGC PON DEFAULT DEBUG PINS FOR SHOW then 0 EBUG PINS FOR SHOW else Jg EBUG PINS WATCH POINTS state DEBUG PINS RESREVED if PDA WRITE CONFIG REG amp
140. OL REG1 amp PCC VPP DATA BIT pin PCC VPP 5 amp KA PON RESET PCC VPP PON DEFAULT PCC VPP 12 KA PON RESET amp PCC VPP PON DEFAULT PCC VPP 5 then PCC VPP 5 else if PDA WRITE CONTROL REG1 amp PCC VPP DATA BIT pin PCC VPP TS amp KA PON RESET PCC VPP PON DEFAULT PCC VPP 12 KA PON RESET amp PCC VPP PON DEFAULT PCC VPP TS then PCC VPP TS else PCC VPP 12 state PCC VPP 5 if PDA WRITE CONTROL REG1 amp PCC VPP DATA BIT pin PCC VPP 0 amp KA PON RES 4 PCC VPP PON DEFAULT PCC VPP 5 KA PON RESET amp PCC VPP PON DEFAULT PCC VPP 0 then PCC VPP 0 else if PDA WRITE CONTROL REG1 amp PCC VPP DATA BIT pin PCC VPP 12 amp KA PON RESET PCC VPP PON DEFAULT PCC VPP 5 KA PON RESET amp PCC VPP PON DEFAULT PCC VPP 12 then PCC VPP 12 else if PDA WRITE CONTROL REG1l amp PCC VPP DATA BIT pin PCC VPP TS amp KA PON RESET PCC VPP PON DEFAULT PCC VPP 5 KA PON RESET amp PCC VPP PON DEFAULT PCC VPP TS then PCC VPP TS else PCC VPP 5 state PCC VPP TS if PDA WRITE CONTROL REG1 amp PCC VPP DATA BIT pin PCC VPP 0 amp KA PON RES 4
141. OMMUNICATIONS amp ADVANCED CONSUMER TECHNOLOGY GROUP Ad MOTORGIS Scale Semi RAIAS tani Auctor Israel Ltd C MPC821 APPLICATION DEVELOPMENT SYSTEM ADS USER S MANUAL Board Revision A Issue 0 1 Draft 8 24 95 ENG Issue 1 1a 2 9 96 ENG Revision Issue 1 2a 5 6 96 PILOT Revision Issue 1 3a 6 26 96 A Revision SIX SIGMA For More Information On This Product R woTOROLA Go to www freescale com 2 3 1 2 3 2 2 3 2 1 2 3 3 2 3 4 2 3 5 2 4 1 2 4 2 2 4 3 2 4 4 2 4 5 2 4 6 2 4 7 2 4 8 2 4 9 3 1 3 2 1 3 2 2 3 2 3 3 2 4 25 3 2 6 3e2 7 3 2 8 3 2 9 3 2 10 3 2 11 3 2 12 3 2 13 3 2 14 3 2 15 3 2 16 3 2 17 Freescale Semiconductor Inc MPCS 21ADS Revision A User s Manual TABLE OF CONTENTS General Information Introduction Abbreviations List Related Documentation SPECIFICATIONS MPC821ADS Features Revision Pilot to Revision A Changes Revision ENG to Revision PILOT Changes Hardware Preparation and Installation INTRODUCTION UNPACKING INSTRUCTIONS HARDWARE PREPARATION ADI Port Address Selection Clock Source Selection Clock Generator Replacement U17 Power On Reset Source Selection VDDL Source Selection Keep Alive Power Source Selection INSTALLATION INSTRUCTIONS Host Controlled Operation Debug Port Controller For Target System Stand Alone Operation 5V Power Supply Connection P8 12V Power Supply Connection ADI Installation Host computer t
142. OS levels U18 MPC821 19 X 19 BGA Motorola PPC821ZP25 or PPC821ZP40 or PPC821ZP50 U20 Variable Output Voltage regulator Motorola LM317MDT U21 3 3V Voltage regulator 1 5A Linear LT1086 output U22 Quad CMOS buffer with individual Motorola 74ACT125D Output Enable U23 Schmitt Trigger Hex Inverter Motorola 74AC14D U25 U26 U39 U40 U41 U42 Octal CMOS Bus Transceiver Motorola 74ACT245D U36 Voltage level detector Range Seiko S 8051HN CD X 1 795V to 2 005V O D output U38 Dual CMOS 4 gt 1 MUX Motorola 74ACT158D UA38 Quad CMOS AND Gate Motorola 74AC08D 99 Release 1 3a Freescale Se migonducton Ing Support Information TABLE 5 14 MPC821ADS Part List Reference Designation Part Description Manufacturer Part Y1 Crystal resonator 20 MHz MEC Modern 3 Fundamental Oscillation mode Enterprise Frequency tolerance 50 ppm Corporation Drive level 1mW 0 2 mW Shunt capacitance 7pF Max Load capacitance 32pF Equivalent Series Resistance 50Q Max Insulation Resistance 500 MQ at 100 VDC Y2 Crystal resonator 32 768 KHz RALTRON RSM 200 32 768 KHZ Frequency tolerance 30 ppm Drive level 10uW Max Shunt capacitance 2pF Max Load capacitance 12 5pF Max Equivalent Series Resistance 35 KQ Max 3 X Socket 68 Pin PLCC AMP 822279 1 14 pin PC Socket PD 110 93 314 72 pin SIMM Socket AMP 822032 4 80 pin SIMM Socket AMP 822032 5 357 pin 19 X 19 BGA Socke
143. PC may be used for alternate function 4 12 1 PCMCIA Power Control To support hot insertion the socket s power is controlled via a dedicated PCMCIA power controller the LTC1315 made by LINEAR TECHNOLOGY This device controlled by BCSR1 switches 12V VPP for card programming and controls gates of external MOSFET transistors through which the PC Card VCC is switched When a card is inserted and the channel is enabled via BCSR1 i e both of the CD 1 2 Card Detect lines are asserted low the status of the voltage select lines VS 1 2 should be read to determine the PC Card s operation voltage level and then if the PC Card is found to be 5V operated the BCSR1 may be written to turn on power 5V only to the PC Card s VCC If a 3 3V card is inserted power should never be switched on When a card is being removed from the socket while the channel is enabled via BCSR1 the negation of CD1 and CD2 is sensed by the MPC and power supply to the card may be cut WARNNING Any application S W handling the PCMCIA channel must check the Voltage Sense lines before Power is applied to the PC Card Otherwise if power is applied to a 3 3V Only card permanent damage might be inflicted to the PC Card The LTC1315 may control power and VPP for 2 PC Cards Since there is only one PCMCIA socket on the ADS the power control lines for the 2 nd socket are used for optional 3 3V supply to the DRAM simm When the DRMPD5 signal is connected to GND th
144. PC6B of the MPC and should be driven to 1 during normal operation A A manufacturer specific dedicated programming algorithm should be implemented during flash programming B After Hard reset this line wakes up as Tri state For proper operation it should be initialized as Output 43 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing Functional Description 2 TPFLDL Twisted Pair Full Duplex Mode Select This active low signal allows simultaneous transmit and receive over the twisted pair lines without indicated collision This signal is connect ed to PC5 of the MPC and should be driven to 0 during normal operation 3 ETHLOOP Diagnostic Loopback This active high signal puts the EEST in diagnostic loopback mode regardless of the I F type it is configured to This line is connected to PC4 of the MPC and should be driven to 0 during normal operation For additional information on the EEST refer to the MC68160 Technical Data document 4 10 Infra Red Port An infra red communication port is provided with the MPCADS the Temic s TFDS 3000 integrated trans ceiver which incorporates both the receiver and transmitter optical devices with the translating logic This port resides on SCC2 of the MPC This device conforms to the IRDA standard which is supported by the MPC allowing for glueless connection between the TFDS3000 and the MPC To allow SCC2 s o
145. PdaHardResetEn ADS IS SELECTED amp AdsHardReset ADS HARD RESET ACTIVI 1 PdaSoftReset H PdaSoftReset oe PdaSoftResetEn needs to be open drain PdaSoftResetEn ADS IS SELECTED 6 AdsSoftReset ADS_SOFT_RESET_ACTIVE ck KKK KKK 4 KKK KKK KKK Wk Clock generator Divides the system clock and generates 2 clocks Clkout2 which is used for all state machines connected to Clk2 1 2 0114 which is used to generate DSCK and for shift registers control VE ck ck ck kk CC CK CC KKK KKK KK KKK KK KK ifndef SIMULATION equations ClkOut clk SYSCLK ClkOut oe 37 Clkout2 Clkout2 amp HOST_IS_ON divide by 2 0114 Clkout2 01 4 HOST IS ON divide by 4 For s
146. RED Sealed C amp K KS12R22 CQE SW2 SPDT push button BLACK C amp K KS12R23 CQE Sealed T1 T2 T3 Transistor TMOS Dual 3A Motorola MMDFSNOSHD U1 Infra Red Transceiver Telefunken TFDS3000 98 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 14 MPC821ADS Part List For More Information On This Product Go to www freescale com Reference Designation Part Description Manufacturer Part U2 Buffer Schmitt Trigger Motorola MC74LS244D U3 10 Base T Filter network Pulse PE 68026 Engineering U4 RS232 Transceiver 3 X 3 Motorola MC145707DW U5 Voltage level detector Range Seiko S 8052ANY NH X 2 595V to 2 805V O D output U6 Schmitt Trigger Hex Inverter Motorola 74ACT14D U7 U10 U11 MACH220 programmable logic AMD MACH220 12JC device U8 Clock generator 20MHz Jauch VX 3A 100ppM 5V HCMOS output SMD U9 Enhanced Ethernet Serial Motorola MC68160FB Transceiver U12 Dual Channel PCMCIA Power Linear LTC1315cG Controller Technology U13 U19 U24 U29 U30 U32 U33 Octal CMOS Buffer Motorola 74ACT541D U34 U35 U37 U14 U27 U28 U31 Octal CMOS Latch Motorola 74ACT373D U15 2 MByte Flash SIMM Motorola MCM29020 U16 4 MByte DRAM SIMM organized Motorola MCM36100 70 as 1 M X 4 70 nsec delay U17 4 MHz Clock generator 3 3V MGR Tech MH14FAD 3 3V 4 00MHz CM
147. RS232En state RS232_ENABLE if PDA WRITE CONTROL REG1 6 RS232 ENABLE DATA BIT pin RS232 ENABLE amp IKA PON RESET RS232 ENABLE PON DEFAULT RS232 ENABLE KA PON RESET amp RS232 ENABLE PON DEFAULT RS232 ENABLE then RS232 ENABLE else RS232 ENABLE state RS232 ENABLE if PDA WRITE CONTROL REG1 RS232 ENABLE DATA BIT pin RS232 ENABLE amp KA PON RESET RS232 ENABLE PON DEFAULT RS232 ENABLE KA PON RESET amp RS232 ENABLE PON DEFAULT RS232 ENABLE then RS232 ENABLE else RS232 ENABLE VE ck ck kk KKK kk KK KK KK kk state_diagram PccEn state PCC_ENABLE E if PDA WRITE CONTROL 01 amp PCC ENABLE DATA BI
148. RUCTIONS Cycle Type Single Read Burst Read Single Write Burst Write Refresh Exception Offset in UPM 0 8 18 20 30 3C Contents 0 OFFFCC04 OFFFCC24 OFAFCC24 OFAFCC04 80FFCC84 33FFCCO7 one 1 O8FFCCOO 08FFCC00 08AFCCOO 08AFCCOO 13FFCC04 X 2 33FFCC47 O3FFCC4C 3FBFCC47 01AFCC48 FFFFCC87 X 3 X 08FFCC00 X O8AFCC44 FFFFCC05 X 4 X 03FFCC4C X 0FAFCC08 X 5 X 08FFCC00 X O8AFCC44 X 6 X 03FFCC4C X OCAFCCO8 X 7 X 08FFCC00 X 38BFCC46 X 8 33FFCC47 FFFFCC45 X 9 X X X A X X X B X X X C X X D X X E X X F X X 30 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing OPERATING INSTRUCTIONS TABLE 3 10 UPMA Initializations for 7Onsec DRAMs 25MHz Cycle Type Single Read Burst Read Single Write Burst Write Refresh Exception Offset In UPM 0 8 18 20 30 3C Contents 0 OFFFECO4 OFFFCC24 OFAFCC04 OFAFCC04 COFFCC84 33FFCC07 ore 1 O8FFECO4 OFFFCC04 08AFCCOO OCAFCCOO 01FFCC04 X 2 OOFFECOO 08FFCC00 3FBFCC47 01AFCC4C 7FFFCC86 X 3 SFFFEC47 O3FFCCAC X OCAFCCOO FFFFCCO05 X 4 X 08FFCCOO X 01AFCC4C X 5 X 03FFCC4C X OCAFCCOO X 6 X 08FFCC00 X 01AFCC4C X 7 X O3FFCCAC X OCAFCCOO X 8 08FFCCOO 31BFCC43 X 9 33FFCC47 X X A X X X B X X X C X X D X X E X X F X X 31 Release 1 3a For More Info
149. Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information locations as they existed on those boards That way it is easy to migrate from the QUICC to the MPC821 P13 is a 96 pin Female DIN 41612 connector TABLE 5 13 P13 Interconnect Signals Pin No Signal Name Attribute Description A1 ETHRX Ethernet port Receive Data In fact PA15 RXD1 When the Ethernet port is disabled via BCSR1 may be used off board A2 ETHTX 0 Ethernet port Transmit Data In fact PA14 TXD1 When the Ethernet port is disabled via BCSR1 may be used off board for any alternate function 3 IRDRXD 0 InfraRed Port Receive Data In fact PA13 RXD2 When the Infra Red port is disabled may be used off board for any alternate function A4 IRDTXD 0 InfraRed Port Transmit Data In fact PA12 TXD2 When the Infra Red port is disabled via BCSR1 may be used off board for any alternate function A5 LD4 MPC821 s PD11 LD4 or MPC860 s PD11 RXD3 Not used on the ADS Appears also at P11 for convenient LCD connection A6 LD3 y o MPC821 s PD10 LD3 or MPC860 s PD10 TXD3 Not used on the ADS Appears also at P11 for convenient LCD connection A7 LD2 IO MPC821 s PD9 LD2 or MPC860 s PD9 RXD4 Not used on the ADS Appears also at P11 for convenient LCD connection A8 LD1 IO MPC821 s PD8 LD1 or MPC860 s P
150. Reset HOST_IS_OFF internal logic reset AdsHardReset ADS HARD RESET ACTIVI 1 g AdsSoftReset ADS SOFT RESET ACTIVE amp ADS IS SELECTED D PrimReset PrimReset fb DD PrimReset D PrimReset fb Reset PrimReset fb amp D PrimReset fb amp DD PrimReset fb spike filter reset status PdaRst clk 0112 PdaRst PdaHardReset PdaSoftReset amp AdsSelect fb BOARD IS SELECTED synchronized inside Reset PDA Connected to PDA hard and reset inputs Asynchronous equations PdaHardReset H PdaHardReset oe PdaHardResetEn open drain 113 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information
151. S O L MPC Transfer Start driven only when the MPC is bus master T S B8 GND B9 BI I O L Burst Inhibit Not used on board T S B10 CS5 O L Chip Select 5 Not used on the ADS B11 GND 12 DRMCS1 O L In fact CS2 of the MPC Used for Dram bank 1 selection B13 GPL3 O L In fact GPL3A GPL3B CSSDD General Purpose Line 3 for UPMA or UPMB May also be used as Chip Select 3 Double Drive Not used within the ADS B14 GND B15 WEO O L In fact WEO BS_BO IORD GPCM Write Enable 0 or UPMB Byte Select 0 or PCMCIA I O Read Used to qualify write cycles to the Flash memory and as I O Read for the PCMCIA channel B16 EDOOE O L In fact OE GPL1A GPL1B GPCM Output Enable or UPMA General Purpose Line 1 or UPMB General Purpose Line 1 Used as an Output Enable for EDO Drams controlled by UPMA B17 GND B18 REG_A O T S In fact TSIZO REG Transfer Size 0 or PCMCIA slot A REG Used with the PCMCIA port as Attribute memory select or I O space select B19 A30 O T S MPC s Address line 30 B20 GND B21 A6 O T S MPC s Address line 6 B22 A12 O T S MPC s Address line 12 B23 GND B24 A16 O T S MPC s Address line 16 B25 A29 O T S MPC s Address line 29 B26 GND B27 N C Not Connected B28 A3 O T S MPC s Address line 3 71 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 6 P6 Interconnect Signa
152. S early negate SM732A1000A 9 2 w s MCM29F080 90 FF800920 8MByte block size all types access CS early negate SM732A2000 9 2 w s Timing relax MCM29F020 12 FFE00D30 2MByte block size alltypes access CS early negate 3 w s MCM29F040 12 FFC00D30 4MByte block size all types access CS early negate SM732A1000A 12 3 w s MCM29F080 12 FF800930 8MByte block size all types access CS early negate SM732A2000 12 3 w S BR1 BCSR 02100001 Base at 2100000 32 bit port size no parity GPCM 081 BCSR FFFF8110 32 KByte block size all types access CS early negate 1 w s BR2 All Dram SIMMs 00000081 Base at 0 32 bit port size no parity UPMA Supported OR2 MCM36100 200 60 70 FFC00800 4MByte block size all types access initial address multiplexing according to AMA MCM36400 800 60 70 FF000800 16MByte block size all types access initial address MT8 16D432 832X 6 7 multiplexing according to AMA BR3a MCM36200 60 70 00400081 Base at 400000 32 bit port size no parity UPMA MCM36800 60 70 01000081 Base at 1000000 32 bit port size no parity UPMA MT16D832X 6 7 OR3 MCM36200 60 70 FFC00800 4MByte block size all types access initial address multiplexing according to AMA MCM36800 60 70 FF000800 16MByte block size all types access initial address MT16D832X 6 7 multiplexing according to AMA MPTPR All Dram SIMMs 0400 Divide by 16 decimal Supported 28 Release 1 3a For More Information On This Product Go to www freescale com
153. Stand Alone Configuration P7 5V Power Connector P8 12V Power Connector P1 ADI Port Connector P3 RS 232 Serial Port Connector Memory SIMM Installation DS2 Description Refresh Scheme DRAM Address Lines Switching Flash Memory SIMM Architecture RS232 Serial Port Connector PCMCIA Port Configuration Debug Port Controller Block Diagram Standard Debug Port Connector MPC821ADS Power Scheme ADI Port Connector Physical Location of jumper JG1 and JG2 JG1 Configuration Options ADI board for SBus Release 1 3a For More Information On This Product Go to www freescale com TABLE 1 1 TABLE 3 1 TABLE 3 2 TABLE 3 3 TABLE 3 4 TABLE 3 5 TABLE 3 6 TABLE 3 7 TABLE 3 8 TABLE 3 9 TABLE 3 10 TABLE 3 11 TABLE 3 12 TABLE 4 1 TABLE 4 2 TABLE 4 3 TABLE 4 4 TABLE 4 5 TABLE 4 6 TABLE 4 7 TABLE 4 8 TABLE 4 9 TABLE 4 10 TABLE 4 11 TABLE 4 12 TABLE 4 13 TABLE 4 14 TABLE 4 15 TABLE 4 16 TABLE 4 17 TABLE 5 1 TABLE 5 2 TABLE 5 3 TABLE 5 4 TABLE 5 5 TABLE 5 6 TABLE 5 7 TABLE 5 8 TABLE 5 9 TABLE 5 10 TABLE 5 11 TABLE 5 12 TABLE 5 13 TABLE 5 14 Freescale Semiconductor Inc MPCS 21ADS Revision A User s Manual LIST OF TABLES MPC821ADS Specifications MPC821ADS Main Memory Map SIU REGISTERS PROGRAMMING Memory Controller Initializations For 50Mhz UPMA Initializations for 60nsec DRAMs 50MHz UPMA Initializations for ZOnsec DRAMs 50MHz UPMA Initializations
154. SyncHardReset fb then O HOLD OFF else HOLD OFF CONSIDERED pcc data buffers enable equations PccDataBufEn oe 3 IPccEvenEn PccCEl PCC ENABLED amp HARD RESET ASSERTED amp STATE HOLD OFF CONSIDERED amp HOLD OFF PERIOD STATE NO HOLD OFF PccOddEn PccCE2 6 PCC ENABLED HARD RESET ASSERTED 6 STATE HOLD OFF CONSIDERED amp HOLD OFF PERIOD STATE NO HOLD OFF
155. T DAMAGE might be inflicted to the MPC 2 33 Power On Reset Source Selection As there are differences between MPC revisions regarding the functionality of the Power On Reset logic it is therefore necessary to select different sources for Power ON reset generation J1 on the ADS is used to select Power On Reset source when a jumper is placed between positions 1 2 of J1 Power On reset to the MPC is generated by the Keep Alive power rail l e When KAPWR goes below 2 005V Power On reset is generated When a jumper is place between position 2 3 of J1 Power On reset to the MPC is generated from the MAIN 3 3V power rail l e when the MAIN 3 3V power rail goes below 2 805V Power On reset is generated 10 Release 1 3a For More Information On This Product Go to www freescale com Freescale miconductor Inge nual Hardware Preparation and Installation FIGURE 2 4 Power On Reset Source Selection KA Power Rail MAIN Power Rail 2 34 VDDL Source Selection J2 serves as a Selector for VDDL MPC internal logic supply When a jumper is placed between positions 1 2 of 2 VDDL is supplied with 3 3V When a jumper is placed between positions 2 3 of 2 VDDL is supplied by 2V power source The jumper on 42 is factory set between positions 1 2 to supply 3 3 to VDDL FIGURE 2 5 VDDL Source Selection J2 J2 x a X 1 VDDL 3 3V VDDL 2V 25 Keep Alive Power Source Selection
156. T pin PCC ENABLE amp KA PON RES PCC ENABLE PON DEFAULT PCC ENABLE KA PON RESET amp PCC ENABLE PON DEFAULT PCC ENABLE IPCC ENABLE else PCC ENABLE state PCC ENABLE if PDA WRITE CONTROL REG1 PCC ENABLE DATA BIT pin PCC ENABLE amp KA PON RESET 4 PCC ENABLE PON DEFAULT PCC ENABL KA PON RESET amp PCC ENABLE PON DEFAULT PCC ENABLE PCC ENABLE else PCC ENABLE 169 For More Information On This Product Go to www freescale com then Release 1 3a Freescale Se micenductor Ing nual Support Information KKK KKK KKK KKK KKK CC VE ck ck state_diagram PccVccOn state PCC_VCC_ON if PDA_WRITE_CONTROL_REG1 amp PCC VCC DATA BIT pin PCC VCC ON amp KA PON RESET PCC VCC PON DEFAULT PCC VCC ON KA PON RESET amp PCC VCC PON DEFAULT PCC VCC ON then PCC VCC 0 else PCC VCC ON state PCC VCC ON if PDA WRITE CONTROL REG1 amp PCC VCC DATA BIT pin PCC VCC ON amp KA PON RES 4 PCC VCC PON DEFAULT PCC VCC ON KA PON RESET amp PCC VCC PON DEFAULT PCC VCC ON then PCC VCC ON else PCC VCC ON
157. TX DISAB E 0 state TX_ENABLED if TxWordEnd 4 PdaRst fb then TX DISABLED else X ENABLED VE ck ck CC CK kk KKK KK KK Transmit Length Counter This counter determines the length of transmission towards the MPC The fast clock is used here to allow 1 2 clock resolution with the negation of TxEn which enables DSCK outside equations TxWordLen ar Reset TxWordLen clk 7 TxWordEnd TxWordLen fb TX_WORD_LENGTH when STATE TX ENABLED 6 TxWordEnd PdaRst fb then TxWordLen d TxWordLen fb 1 else TxWordLen d 0 117 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information VE ck ck CC CC KR
158. TX ON RISING amp Clk4 STATE TX ENABLED amp STATE TX ON FALLING amp Clk4 then TxReg7 TxRegl TxReg6 TxReg0 fb shifting out MSB 1 st else IxReg7 TxRegl TxReg7 TxRegl fb Holding value when HOST WRITE ADI DATA BndTmrExp fb amp STATE TX ENABLED then TxRegO PDO pin else when STATE TX ENABLED amp STATE TX ON RISING amp Clk4 STATE TX ENABLED amp STATE TX ON FALLING amp Clk4 then TxRegQ RxRegQ fb else TxRegO TxRegQ fb 119 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information Receive Shift Register A single stage shift register used as a source for the Tx shift register In normal mode the input for the Rx shift register is the pda s DSDO while in diagnostic loopback mode data is taken directly from the Tx shift serial output x The output of the Rx shift register is fed to the input of the Tx shift register When transmission and reception is done
159. ULT BOOT PORT 8 then BOOT PORT 8 else BOOT PORT RESERVED state_diagram RSV6 state if PDA WRI RSV6 DATA BII KA PON KA PON R RSV6 ACTIVI else RSV6 ACTIVI 157 RSV6 ACTIVE E CONFIG RE BL T ES ES amp EN 3 6 RSV6_PON_DI amp RSV6 ACTIVI RSV6 PON DI EFA EFAUL RSV6 ACTIVI RSV6 ACTIVI Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information state RSV2 ACTIVE if PDA WRITE CONFIG REG amp RSV6 DATA BIT pin RSV6 ACTIVE amp KA PON RESET RSV6 PON DEFAULT RSV6 ACTIVE KA PON RESET amp RSV6 PON DEFAULT RSV6 ACTIVE then IRSV6 ACTIVE else RSV6 ACTIVE ET VE ck ck KKK Ck kk KKK kk KKK KK KKK st
160. V14 ACTIVE then RSV14 ACTIVE else RSV14 ACTIVE ET Wk ck kk Ck Ck Ck KKK kk ck k kckckckckckck State diagram RSV15 state RSV15 ACTIVE if PDA WRITE CONFIG RE G 164 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information RSV15 DATA BIT pin RSV15 ACTIVE PON RESET RSV15 PON DEFAULT KA PON RESET amp RSV15 PON DEFAUL RSV15_ACTIVI else RSV15 ACTIV En state RSV15 ACTIVE LH ET if PDA WRITE CONFIG REG amp RSV15 DATA BIT pin RSV15 ACTIVE KA PON RESE RSV15 PON DEFAULT KA PON RESET amp RSV15 PON DEFAULT RSV15 ACTIVE else 5015 ACTIVI 3 amp amp t RSV15_AC RSV15 ACTIVE RSV15 AC RSV15 ACTIVE then VE ck ck kk KK KKK KK KKK KK KK Control Register WK KKK
161. X 08AFCCOO X 8 3FF7CC47 37BFCC47 X 9 X X X A X X X B X X X C X X D X X E X X F X X 33 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Functional Description 4 Functional Description In this chapter the various modules combining the MPC821ADS are described to their design details 4 1 MPC821 The MPC821 runs frequencies from 15 50 MHz and is buffered from the rest of the board s logic this to allow for external hardware development via dedicated expansion connectors P6 P9 P10 amp P12 4 2 Reset amp Reset Configuration There are several reset sources on the MPCADS 1 Keep Alive Power On Reset 2 Main Power On Reset 3 Manual Soft Reset 4 Manual Hard Reset 5 Debug Port Soft Reset 6 Debug Port Hard Reset 7 MPC Internal Sources 4 2 1 Keep Alive Power On Reset The Keep Alive Power On Reset on the MPC821ADS is generated by a dedicated voltage detector made by Seiko the S 8051HN CD X with detection voltage range of 1 795 to 2 005V This voltage detector is con nected to the Keep Alive power input of the MPC and during keep alive power on or when there is a voltage drop of that input into the above range and J1 is set accordingly see 2 3 3 Power On Reset Source Se lection on page 10 Power On Reset is generated i e PORESET input of the MPC is asserted for a period of approximately 4 sec When PORESET is asserted t
162. ale com Freescale Se migonducton Ing Support Information CAUTION BEFORE REMOVING OR INSTALLING ANY EQUIPMENT IN THE SUN 4 COMPUTER TURN THE POWER OFF AND REMOVE THE POWER CORD C 3 1 ADI Installation in the SUN 4 There are no jumper options on the ADI board for the Sun 4 computer The ADI board can be inserted into any available SBus expansion slot on the motherboard Refer to the appropriate Installation and Setup manual for the Sun 4 computer for instructions on removing the computer cover and installing the board in an expansion slot FIGURE A 3 ADI board for SBus SBus Connector ADI Connector Following is a summary of the Instructions in the Sun manual 178 1 Turn off power to the system but keep the power cord plugged in Be sure to save all open files and then the following steps should shut down your system hostname bin su Password mypasswd hostname usr etc halt wait for the following messages Syncing file systems done Halted Program Terminated Type b boot c continue n new command mode When these messages appear you can safely turn off the power to the system unit Open the system unit Be sure to attach a grounding strap to your wrist and to the metal casing of the power supply Follow the instructions supplied with your system to gain access to the SBus slots Remove the SBus slot filler panel for the desired slot from the inner surface of the back p
163. anel of the system unit Note that the ADI board is a slave only board and thus will function in any available SBus slot Slide the ADI board at an angle into the back panel of the system unit Make sure that the mounting plate on the ADI board hooks into the holes on the back panel of the system unit Release 1 3a For More Information On This Product Go to www freescale com 179 Freescale Se migonducton Ing Support Information Push the ADI board against the back panel and align the connector with its mate and gently press the corners of the board to seat the connector firmly Close the system unit Connect the 37 pin interface flat cable to the ADI board and secure Turn power on to the system unit and check for proper operation Release 1 3a For More Information On This Product Go to www freescale com
164. any alternate function B8 RSRXD I O RS232 port Receive Data In fact PB24 SMRXD1 When the RS232 port is disabled via BCSR1 may be used off board for any alternate function B9 RSDTR 0 RS232 port DTR signal In fact PB23 SMSYN1 SDACK1 When the RS232 port is disabled via BCSR1 may be used off board for any alternate function B10 PB22 0 PB22 SMSYN2 SDACK2 Not used on the ADS B11 PB21 0 PB21 SMTXD2 L1CLKOB Not used on the ADS 92 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 13 P13 Interconnect Signals Pin No Signal Name Attribute Description B12 PB20 PB20 SMRXD2 L1CLKOA Not used on the ADS B13 E TENA IO Ethernet port Transmit Enable In fact PB19 RTS1 L1ST1 When active transmit is enabled via the MC68160 EEST When the ethernet port is disabled via BCSR1 may be used off board for any alternate function B14 PB18 0 PB18 RTS2 L1ST2 Not used on the ADS B15 PB17 PB17 L1RQB L1ST3 Not used on the ADS B16 PB16 I O PB16 L1RQA L1ST4 Not used on the ADS B17 PB15 VO PB15 BRGOS Not used on the ADS B18 PB14 PB14 RSTRT1 Not used on the ADS B19 GND B20 BINPAK 0 PCMCIA port Input Port Acknowledge In fact PC15 DREQ1 RTS1 L1ST1 When the PCMCIA port is disabled via BCSR1 may be used off board for any alt
165. ap These are undefined peripheral addresses 176 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information FIGURE A 1 Physical Location of jumper JG1 and JG2 JG1 2 NOTE Jumper JG2 should be left unconnected The following figure shows the required jumper connection for each address configuration Address 0 hex is not recommended and its usage might cause problems FIGURE A 2 JG1 Configuration Options O OO CD ONES QOO O O O OO 0 hex 100 hex 200 hex 300 hex To properly install the ADI board position its front bottom corner in the plastic card guide channel at the front of the IBM PC XT AT chassis Keeping the top of the ADI board level and any ribbon cables out of the way lower the board until its connectors are aligned with the computer expansion slot connectors Using evenly distributed pressure press the ADI board straight down until it seats in the expansion slot Secure the ADI board to the computer chassis using the bracket retaining screw Refer to the computer Installation and Setup manual for instructions on reinstalling the computer cover C3 SUN 4 to MPC821ADS Interface The ADI board should be installed in one of the SBus expansion slots in the Sun 4 SPARCstation computer A single ADI can control up to eight MPC821ADS boards 177 Release 1 3a For More Information On This Product Go to www freesc
166. applied BCSR2 Board Status Register 1 BCSR2 is a status register which is accessed at offset 8 from the BCSR base address Its a read only register which may be read at any time BCSR2 s various fields are described in TABLE 4 8 BCSR2 De A Provided that BCSR is not disabled 51 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Functional Description scription on page 52 TABLE 4 8 BCSR2 Description PON BIT MNEMONIC Function ATT DEF 0 3 FLASH_PD 4 1 Flash Presence Detect 4 1 These lines are connected to the Flash SIMM R presence detect lines which encode the type of Flash SIMM mounted on the Flash SIMM socket U15 There are additional 3 presence detect lines which encode the SIMM s delay but appear in BCSR3 For the encoding of FLASH_PD 4 1 see TABLE 4 9 Flash Presence Detect 4 1 Encoding on page 52 4 DRAM_EDO Dram Is EDO When this bit is active low it indicates that the DRAM SIMM R is capable of EDO burst read When inactive the DRAM SIMM is regular 5 8 DRAM_PD 4 1 Dram Presence Detect These lines are connected to the DRAM SIMM R presence detect lines which encode the size and the delay of the DRAM SIMM mounted on the DRAM SIMM socket U15 For the encoding of DRAM_PD 4 1 see TABLE 4 10 DRAM Presence Detect 2 1 Encoding on page 53 and TABLE 4 11 DRAM Presence Detect 4 3 Encoding on page 53
167. ase 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 9 P12 Interconnect Signals Pin No Signal Name Attribute Description D2 GND 5 D3 GND 3 D4 GND D5 GND D6 GND D7 GND 2 D8 D5 I O MPC s data line 5 D9 D2 MO MPC s data line 2 D10 GND D11 D21 MPC s data line 21 D12 D18 1 0 MPC s data line 18 D13 GND D14 D13 1 0 MPC s data line 13 D15 D10 MO MPC s data line 10 D16 GND 5 D17 D29 MO MPC s data line 29 D18 GND D19 D24 IO MPC s data line 24 D20 RS_EN O L RS232 port Enable Connected to BCSR1 See 01403 71 Board Control Register on page 49 D21 DRMH_W O L Dram Half Word Connected to BCSR1 See 4014 3 BCSH1 Board Control Register on page 49 D22 DRMPD1 0 Dram Presence Detect line 1 Connected to BCSR2 See 4 BCSR2 Board Status Register 1 on page 51 D23 F_EN O L Flash Enable Connected to BCSR1 See 401403 BCSR1 Board Control Register on page 49 D24 BCSREN O L Board Control Status Register Enable Connected to BCSR1 See 4 14 3 80581 Board Control Register on page 49 D25 DRMPD2 0 Dram Presence Detect line 2 Connected to BCSR2 See 4 BCSR2 Board Status Register 1 on page 51 5 1 7 P7 5V Power Connector The 5V power connector P7 is a 3 lead two part terminal block
168. ase 1 3a Freescale Se micenductor Ing nual Support Information state diagram DramEn state DRAM ENABLED if PDA_WRITE_CONTROL_REG1 amp DRAM ENABLE DATA BIT pin DRAM ENABLED amp 1KA PON RESET 4 DRAM ENABLE PON DEFAULT DRAM ENABLED KA PON RESET amp DRAM ENABLE PON DEFAULT DRAM ENABLED then DRAM ENABLED else DRAM ENABLED state DRAM ENABLED if PDA WRITE CONTROL REG1 amp DRAM ENABLE DATA BIT pin DRAM ENABLED amp PON RESET DRAM ENABLE PON DEFAULT DRAM ENABLED KA PON RESET amp DRAM ENABLE PON DEFAULT DRAM ENABLED then DRAM ENABLED else DRAM ENABLED VE ck ck CC CK kk KK KKK KK kk state_diagram EthEn state ETH_ENABLED if PDA WRITE CONTROL REG1 amp ETH ENABLE DATA BIT pin ETH ENABLED amp KA PON RESET ETH ENABLE PON DEFAULT ETH ENAB
169. ash memory or as WE D15 GND D16 SPARE1 2 MPC spare pin 1 D17 A31 0 1 5 MPC s Address line 31 D18 GND D19 A20 O T S MPC s Address line 20 D20 A15 O TS MPC s Address line 15 D21 GND D22 A19 O T S MPC s Address line 19 D23 A18 0 1 5 MPC s Address line 18 73 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 6 P6 Interconnect Signals Pin No Signal Name Attribute Description D24 GND D25 A8 O T S MPC s Address line 8 D26 A28 O T S MPC s Address line 28 D27 GND D28 A22 O T S MPC s Address line 22 D29 A4 O T S MPC s Address line 4 D30 GND TABLE 5 7 P9 Interconnect Signals Pin No Signal Name Attribute Description Al GND A2 AT2 VO IP B2 IOIS16 AT2 PCMCIA slot B Input Port 2 or PCMCIA 16 bit I O capability indication or Address Type 2 Configured on the ADS as AT2 May be configured to alternate function A3 VF2 0 IP_B3 IWP2 VF2 PCMCIA slot B Input Port 3 or Instruction Watch Point 2 or Visible Instruction Queue Flushes Status 2 Configured on the ADS as VF2 May be configured to alternate function A4 GND A5 AT3 IP_B7 PTR AT3 PCMCIA slot B Input Port 7 or Program Trace instruction fetch indication or Address Type 3 Configured on the ads as AT3 May be configured to alter
170. aster D10 AS IL Asynchronous external master Address Strobe signal When asserted L by the external master the MPC recognizes an asynchronous cycle in progress D11 GND D12 BADDR28 Burst Address Line 28 Dedicated for external master support Used to generate Burst address during external master burst Cycles D13 MODCK2 IO OP3 MODCK2 DSDO PCMCIA Output Port 3 or Mode Clock 2 input or Special Transfer Start output Used at Power On reset as MODCk2 and configured afterwards as a OP3 May be used with alternate function D14 GND D15 SRESET I O L MPC Soft Reset Driven by on board logic and may be driven by O D off board logic with Open Drain gate only D16 KAPORO LL Keep Alive Power On Reset Output In fact Power On Reset Input of the MPC Driven by the on board reset logic D17 GND D18 DP3 DP3 IRQ6 Data Parity line 3 or Interrupt Request 6 Generates and receives parity data for D 24 31 bits May not be configured as IRQ6 IRQ6 is already configured on the FRZ pin 78 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 7 P9 Interconnect Signals Pin No Signal Name Attribute Description D19 BVS2 Buffered PCMCIA slot A Voltage Sense 2 In fact IP_A1 Used in conjunction with BVS1 to determine the operation voltage of a PCM
171. ate diagram ISB state INT SPACE BASE 0x00000000 if PDA WRITE CONFIG REG amp ISB DATA BIT pin INT SPACE BASE 0x00F00000 amp KA PO ESET ISB PON DEFAULT INT SPACE BASE 0x00000000 KA PON RESET amp ISB PON DEFAULT INT SPACE BASE 0x00F00000 then INT SPACE BASE 0x00F00000 else if PDA WRITE CONFIG REG amp ISB DATA BIT pin INT SPACE BASE OxFF000000 amp KA PON RESET 4 ISB PON DEFAULT INT SPACE BASE 0x00000000 4 KA PON RESET amp ISB PON DEFAULT INT SPACE BASE OxFF000000 then INT SPACE BASE OxFF000000 else if PDA WRITE CONFIG REG amp ISB DATA BIT pin INT SPACE BASE OxFFF00000 amp KA PON RESET 4 ISB PON DEFAULT INT SPACE BASE 0x00000000 4 KA PON RESET amp ISB PON DEFAULT INT SPACE BASE OxFFF00000 then INT SPACE BASE OxFFF00000 else INT SPACE BASE 0x00000000 state INT SPACE BASE 0x00F00000 if PDA WRITE CONFIG REG amp ISB DATA BIT pin INT SPACE BASE 0x00000000 amp KA PO ESET ISB PON DEFAULT INT SPACE BASE O0x00F00000 KA PON RESET amp ISB PON DEFAULT INT SPACE
172. ate function C20 TPSQEL I O L Twisted Pair Signal Quality Error Test Enable In fact PC6 L1RSYNCB When active a simulated collision state is generated within the EEST so the collision detection circuitry within the EEST may be tested Since after hard reset this line wakes up tri stated it should be initialized as output and given the desired value When the ethernet port is disabled via BCSR1 may be used off board for any alternate function C21 GND C22 VSYNC 0 MPC821 s PD5 FRAME VSYNC Not used on the ADS Appears also at P11 for convenient LCD connection C23 LD7 0 MPC821 s PD14 LD7 Not used on the ADS Appears also at P11 for convenient LCD connection C24 LD3 0 MPC821 s PD10 LD3 Not used on the ADS Appears also at P11 for convenient LCD connection 82 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 8 P10 Interconnect Signals Pin No Signal Name Attribute Description C25 IRQ7 LL Interrupt Request 7 The lowest priority interrupt request line Not used on the ADS D1 VCC MPC821ADS VCC plane D2 VCC MPC821ADS VCC plane D3 VCC MPC821ADS VCC plane D4 PB31 0 PB31 SPISEL RRJECT1 Not used on the ADS D5 PB30 IO PB30 SPICLK Not used on the ADS D6 P
173. ation VE ck ck CC CK KKK KKK KK KKK KK KK U11 device mach220a 3 x TX TOO PR OFTHE EREHE LE THE oGH EREE LE THE THE i LE THE n dog x 4 THE PEE 2 Pins declaration K
174. ductor Ing nual Support Information ISB DATA BIT pin INT SPACE BASE OxFF000000 amp KA PON RESET ISB PON DEFAULT INT SPACE BASE OxFFF00000 KA PON RESET amp ISB PON DEFAULT INT SPACE BASE OxFF000000 then INT SPACE BASE OxFF000000 INT SPACE BASE OxFFF00000 VE ck Ck CC KK KKK KKK state diagram 0 state state 160 DEBUG_PINS_PCMCIA_2 if PDA_WRITE_CONFIG_REG amp DBGC DATA BIT pin DEBUG PINS WATCH POINTS 8 KA PON RESET DBGC PON DEFAULT DEBUG PINS PCMCIA 2 KA PON RESET amp DBGC PON DEFAULT DEBUG PINS WATCH POINTS then DEBUG PINS WATCH POINTS else if PDA WRITE CONFIG REG amp DBGC DATA BIT pin DEBUG PINS RESREVED amp KA PON RESET 4 DBGC PON DEFAULT DEBUG PINS PC
175. e DRAM is powered with 3 3V VCC 4 13 LCD Port Since the I F to the LCD is glueless the only support given by the MPCADS for LCD display connection is a dedicated 30 pin header connector from which a flat cable may be drawn to any kind of screen available A Since there are only 3 RS232 transmitters available DSR will be connected to CD B Le card insertion when the MPCADS is powered 45 Release 1 3a For More Information On This Product Go to www freescale com 46 Freescale Se migonducton Ing Functional Description All LCD Port D pins appear also at P10 and P13 which are the communication connectors It is important to remember that the levels issued by the MPC over the LCD lines are between 0 3 3V Some screens have 5V CMOS compatible inputs for which 3 3V level leaves very small noise margin For this kind of screen it is advised to use CMOS buffers with TTL compatible inputs so that the screen gets its appropriate levels Release 1 3a For More Information On This Product Go to www freescale com 47 Freescale Se micenductor Ing nual Functional Description FIGURE 4 5 PCMCIA Port Configuration PCMCIA SOCKET PCCVCC PCCVPP PCMCIA POWER NTROL Power Logic From BCSR PCMCIA POWER CONTROL Power Log or equiv 5V 12V D 8 15 Data_A 15 8 7 From BCSR PCMCIA EN Data_A 7 0 buffer with OE MPC821 Transparent latch
176. e com Freescale Se migonducton Ing OPERATING INSTRUCTIONS TABLE 3 7 UPMA Initializations for 70nsec EDO DRAMs 50MHz For More Information On This Product Go to www freescale com Cycle Type Single Read Burst Read Single Write Burst Write Refresh Exception Offset In UPM 0 8 18 20 30 3C Contents 0 8FFBCC24 8FFFCC24 8FFFCC24 8FFFCC24 EOFFCC84 33FFCC07 ee 1 OFF3CC04 OFFBCC04 OFEFCC04 OFEFCC04 OOFFCC04 X 2 4 OCF3CC04 OCAFCCOO OCAFCCOO OOFFCC04 3 4 00F3CCOC 11BFCC47 OSAFCCAC OFFFCC04 X 4 00F3CC00 020 X OCAFCCOO 7FFFCCO4 5 7 00F3CC44 X 03AFCC4C FFFFCC86 6 X OOF3ECOC X OCAFCCOO FFFFCCO5 7 X 00 0 X 03AFCC4C X 8 00F3EC4C OCAFCCOO X 9 03F3EC00 33BFCC47 X A 00F3EC44 X X B 00F3CC00 X X C 33F7CC47 X D X X E X X F X X TABLE 3 8 Memory Controller Initializations For 25Mhz Register Device Type Init Value hex Description BRO All Flash SIMMs 02200001 Base at 2200000 32 bit port size no parity GPCM supported 27 Release 1 3a Freescale Se migonducton Ing OPERATING INSTRUCTIONS TABLE 3 8 Memory Controller Initializations For 25Mhz Register Device Type Init Value hex Description ORO MCM29F020 90 FFE00D20 2MByte block size all types access CS early negate 2 w S MCM29F040 90 FFC00D20 4MByte block size all types access C
177. e debug port controller is on the local MPC or when the ADS is a debug port controller for a target system OUTPUT when the ADI bundle is disconnected from the ADS INPUT 5 GND Ground 6 VFLS1 0 See VFLSO 7 HRESET 0 Hard Reset line of the MPC Active low Open Drain 8 DSDI I O Debug Serial Data In of the debug port Configured on the MPC s JTAG port When the debug port controller is on the local MPC or when the ADS is a debug port controller for a target system OUTPUT when the ADI bundle is disconnected from the ADS INPUT 9 V3 3 0 3 3V Power indication This line is merely for indication No significant power may be drawn from this line 10 DSDO VO Debug Serial Data Output from the MPC Configured on the MPC s JTAG port When the debug port controller is on the local MPC or when the ADI bundle is disconnected from the ADS OUTPUT when the ADS is a debug port controller for a target system INPUT 5 1 6 P6 P9 P10 amp P12 Expansion and Logic Analyzer Connectors Each of these connectors is composed of quad SMD pin rows P6 has a 120 pin count while the rest have 100 pin count All MPC pins appear in these connectors plus few auxiliary control pins These connectors are arranged in a quadratic assembly around the MPC to provide short PCB routs The connectors assembly is shown in FIGURE 5 1 Expansion Connector Assembly on page 69 The interconnect signals of the connectors are described in TABLE 5 5 P5
178. e interface is in Diagnostic se Loopback mode I e the source for the Rx shift register is TK the output of the Tx shift register During that mode DSCK ae and DSDI are tri stated so no arbitrary data is sent to the nos debug port When inactive the interface is in normal mode Wok i e DSCK and DSDI are driven and the source of the Rx shift 1 register is DSDO StatusRequest Bit 2 When active L any write to the control register K will be followed by a status read cycle initiated by the ve debug port controller i e AdsReq will be asserted after the write cycl nds When inactive a write to the control n register will not be followed by a read from status register Delayl Delay0 Bits 4 3 The contents of this field is the 1 s UN complement of the number of wait states in 1 2 system clock TK terms Clk2 inserted during a host write read cycles ud After the interface has been reset these bits wake up at O0 TS meaning 3 wait states are inserted x Important All bits wake up active L after reset n Wk ck Ck C Ck Ck Ce Ck ck Ck Ck ck ck ck equations AdiCtrlReg clk C1k2 AdiCtrlReg ar Reset All active low when HOST_WRITE_ADI_CONTROL amp BndTmrExp fb then
179. e s w option se lection capability 9 A Lowest MF allowed with 32768 Hz crystal due to 15MHz minimal PLL frequency B Highest MF allowed with 32768 Hz crystal considering 40MHz rated MPC Release 1 3a For More Information On This Product Go to www freescale com Freescale miconductor Ing nual Hardware Preparation and Installation 2 Hardware Preparation and Installation 2 1 INTRODUCTION This chapter provides unpacking instructions hardware preparation and installation instructions for the MPC821ADS 2 2 UNPACKING INSTRUCTIONS NOTE If the shipping carton is damaged upon receipt request carriers agent to be present during unpacking and inspection of equipment Unpack equipment from shipping carton Refer to packing list and verify that all items are present Save packing material for storing and reshipping of equipment CAUTION AVOID TOUCHING AREAS OF INTEGRATED CIRCUITRY STATIC DISCHARGE CAN DAMAGE CIRCUITS 2 3 HARDWARE PREPARATION To select the desired configuration and ensure proper operation of the MPC821ADS board changes of the Dip Switch settings may be required before installation The location of the switches LEDs Dip Switches and connectors is illustrated in FIGURE 2 1 The board has been factory tested and is shipped with Dip Switch settings as described in the following paragraphs Parameters can be changed for the following conditions ADI port address e MPC Clock So
180. ease 1 3a For More Information On This Product Go to www freescale com Freescale Se miconductor Ing ual General Information TABLE 1 1 MPC821ADS Specifications CHARACTERISTICS SPECIFICATIONS Addressing Total address range Flash Memory Dynamic RAM 4 GigaBytes 2 MByte 32 bits wide expandable to 8 MBytes 4 MByte 36 bits wide SIMM 32 bit data 4 bit parity option to use higher density SIMM up to 32 MByte Operating temperature 0 C 30 C Storage temperature Relative humidity 25 C to 85 C 5 to 90 non condensing Dimensions Height 9 173 inches 233 mm Depth 7 08 inches 180 mm Thickness 0 063 inches 1 6 mm 2 Release 1 3a For More Information On This Product Go to www freescale com Freescale miconductor Inge nual General Information 15 MPC821ADS Features d MPC821 running up to 50 MHz mounted on ZIF BGA socket 4 MBytes of 60 nsec DRAM support is given to various types of memory varying from 4MByte configured as 1M X 32 upto 32MByte configured as 8M X 32 Support for EDO page mode DRAM SIMMs made by Micron the MT8D432X and the MT16D832X Automatic Dram SIMM identification 2 MByte Flash SIMM Support for upto 8 MByte Automatic Flash SIMM identification Memory Disable Option for all local memory map slaves Board Control amp Status Register BCSR Controlling Board s Operation Programmable Hard Reset Conf
181. elease 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information KK KKK KKK KKK KKK Ck CC KKK WK Ck ck Reset Logic equations Reset oe ResetEn Reset 0 open drain RstDeb1 Rstl amp RstDebl fb amp RstO Reset push button debouncer AbrDebl Abrl 6 AbrDebl fb 6 AbrO Abort push button debouncer HardResetEn RstDebl fb amp AbrDebl fb both buttons are depresseg REGULAR POWER ON RESET SoftReset RstDebl fb amp AbrDebl fb only reset button depressed 3 ll WK KKK KKK KKK KKK KKK KK KKK KKK KK KK Power On reset configuration Wk ck kk Ck KKK KKK KKK KKK
182. enductor Ing nual Support Information A30 PIN 36 pda address lines inputs IN R W PIN 23 SizeDetectl PIN 26 SizeDetectO PIN 20 dram simm size detect lines IN HalfWord PIN 51 DramBank1Cs PIN 45 DramBank2Cs PIN 46 DramEn DramAdd10 DramAdd9 Rasl Ras1DD Ras2 Ras2DD PIN 54 PIN 32 istype PIN 33 istype PIN 28 istype PIN 30 istype PIN 29 istype PIN 31 istype dram port width selection from control register IS lt 32 Dat 0 16 bit l st bank chip select IN L 2 nd bank chip select IN L Dram enable from control reg IN H Active high to support power control cop Ww com dram address lines com 6 com com dram RAS lines Flash Associated Pins F PDi F PD2 F PD3 FlashCs 8 lashEn lashCs1 lashCs2 lashCs3 mj nj nj nj lashCs4 128 PI PI
183. er On Reset Configuration Hard Reset Configuration Soft Reset Configuration Local Interrupter Clock Generator SPLL Support Buffering Chip Select Generator DRAM DRAM 16 Bit Operation DRAM Performance Figures Refresh Control Variable Bus Width Control Flash Memory Ethernet Port Infra Red Port RS232 Port RS 232 Port Signal Description PCMCIA Port PCMCIA Power Control LCD Port Board Control amp Status Register BCSR BCSR Disable Protection Logic 0530 Hard Reset Configuration Register BCSR1 Board Control Register BCSR2 Board Status Register 1 BCSR3 Auxiliary Control Status Register Debug Port Controller MPC821ADS As Debug Port Controller For Target System Debug Port Connection Target System Requirements Debug Port Control Status Register Standard MPCXXX Debug Port Connector Pin Description Release 1 3a For More Information On This Product Go to www freescale com 2 APPENDIX A Act A 2 3 APPENDIX B Bet APPENDIX C C 1 C2 C 2 1 C 3 C 3 1 Freescale Semiconductor Inc MPCS 21ADS Revision A User s Manual TABLE OF CONTENTS VFLS 0 1 HRESET SRESET DSDI Debug port Serial Data In DSCK Debug port Serial Clock DSDO Debug port Serial Data Out Power 5V Bus 3 3V Bus 2V Bus 12V Bus Keep Alive Power Support Information Interconnect Signals P1 ADI Port Connector P2 Ethernet Port Connector P3 RS232 Port Connector PCMCIA Port Connector
184. er to indicate that the debug port is ready to receive controller s command or data 4 16 Power There are 4 power buses with the MPC 1 VO 2 Internal Logic 3 Keep Alive 4 PLL and there are 4 power buses on the MPCADS 1 5V bus 2 3 3V bus 3 2 0V bus 4 12V bus A In fact that configuration is divided into 2 parts the first is sampled 3 system clock cycles prior to the rising edge of SRESET and the second is sampled 8 clocks after that edge B Le DSDI must meat setup hold time to from rising edge of the DSCK C Le full duplex communication 59 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Functional Description FIGURE 4 8 MPC821ADS Power Scheme pete Lat tt F1 7 Expansion Con P7 5V VDDSYN Ni PCMCIA Buffers MPC821 ADS Logic amp Peripherals PCMCIA vcc F2 Power Control VPP P8 12V ni p PCMCIA Socket To support off board application development the power buses are connected to the expansion connec tors so that external logic may be powered directly from the board The maximum current allowed to be drawn from the board s various power buses is as follows TABLE 4 17 Off board Application Maximum Current Consumption Power BUS Current 5V 2A 3 3V 0A 2V 0 5A 12V 100 mA To protect on board devices against supply spikes decoupling capacitors typically 0
185. ernate function B21 PC14 IO PC14 DREQ2 RTS2 L1ST2 Not used on the ADS B22 PC13 y o PC13 L1RQB L1ST3 Not used on the ADS B23 PC12 y o PC12 L1RQA L1ST4 Not used on the ADS B24 E CLSN Ethernet Port Collision indication signal In fact PC11 CTS1 When the ethernet port is disabled via BCSR1 may be used off board for any alternate function B25 E RENA Ethernet Receive Enable In fact PC10 CD1 TGATE1 Active when there is network activity When the ethernet port is disabled via BCSR1 may be used off board for any alternate function B26 PC9 y o PC9 CTS2 Not used on the ADS B27 PC8 PC8 CD2 TGATE2 Not used on the ADS B28 PC7 I O PC7 L1TSYNCB SDACK2 CTS3 for MPC860 Not used on the ADS B29 TPSQEL Twisted Pair Signal Quality Error Test Enable In fact PC6 L1RSYNCB CD3 for MPC860 When active a simulated collision state is generated within the EEST so the collision detection circuitry within the EEST may be tested Since after hard reset this line wakes up tri stated it should be initialized as output and given the desired value B30 TPFLDL I O Twisted Pair Full Duplex In fact PC5 L1TSYNCA SDACK1 CTS4 for MPC860 When active the MC68160 EEST is put into full duplex mode where simultaneous receive and transmit are enabled Since after hard reset this line wakes up tri stated it should be initialized as output and given the desired value 93 Release 1 3a Fo
186. es lead to adjacent memory cells 41 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Functional Description FIGURE 4 2 DRAM Address Lines Switching DRAM BA 21 29 BA20 BA30 9 0 4 8 Flash Memory The MPC821ADS support Flash non volatile memory SIMMs of the following types MCM29F020 MCM29F040 and MCM29F080 volume of which is 2Mbytes 4Mbytes and 8Mbytes correspondingly These devices are internally composed of 1 2 or 4 banks of 4 Am29F040 devices The flash SIMM U15 resides on an 80 pin SIMM socket Also supported are SMART s SM732A1000A 4Mbytes 1Meg X 32 or SM732A2000 2 X 1Meg X 32 To minimize use of MPC s chip select lines only one chip select line CS0 is used to select the flash as a whole while distributing chip select lines among the internal banks is done via on board programmable logic according to the Presence Detect lines of the Flash SIMM inserted to the ADS FIGURE 4 3 Flash Memory SIMM Architecture Flash Presence Detect Lines M29F040 or M29F040 or M29F040 or M29F040 or IMX8 1M 8 IMX8 IMX8 M29F040 or e M29F040 Or M29F040 or e M29F040 or X8 F CS1 F CS2 1MX8 1MX8 1M X8 1M CS0 U09 F CS3 M29F040 le
187. essed when D C is driven high by the host via the ADI port See APPENDIX B ADI I F on page 174 415 1 MPC821ADS As Debug Port Controller For Target System The MPCADS may be used as a debug port controller for a target system provided that the target system A The debug port location is determined by the HARD Reset configuration B See APPENDIX B ADI I F on page 174 for further information 56 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Functional Description has a 10 pin header connector matching P5 See TABLE 5 5 P5 Interconnect Signals on page 67 WARNING When connecting the ADS to a target system via P5 and a 10 lead flat cable the MPC MUST be REMOVED from its SOCKET U18 Otherwise PERMANENT DAMAGE might be inflicted to either the local MPC or to the Target MPC In this mode of operation the on board debug port controller is connected to the target system s debug port connector see 4 015 1 1 Debug Port Connection Target System Requirements below Since DSDO signal is driven by the MPC itis a must to remove the local MPC from its socket to avoid contention over this line When the local MPC is removed from its socket all ADS s modules are inaccessible except for the debug port controller All module enable indications are darkened regardless of their associated enable bits in the BCSR Pull up resistor are connected to
188. ff board generation of an NMI the IRQO line which drives the MPC s NMI is driven by an open drain gate This allows for external h w to also drive this line If an external h w indeed does so it is compulsory that IRQO is driven by an open drain or open collector gate 4 4 Clock Generator There are 2 ways to clock the MPC on the MPC821ADS 1 3 5MHz Clock generator connected to CLK4IN input 1 5 PLL mode A May be supported on future revisions of the MPC B I e AT VF VFLS C DSCK is configured at hard reset to reside on the JTAG port D With parts from the MPC5XX family DSDI is sampled prior 3 system clock cycles to the negation of SRESET to determine the part s configuration source internal default or external via data bus 36 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Functional Description 2 32 768 KHz crystal resonator via EXTAL XTAL pair of the MPC 1 513 initial PLL multiplication factor The clock generator 1 above is a 3 3 operated or 5V operated with 3 3V compatible output The selection between the above modes is done using switch 4 of DS1 See 2 32 Clock Source Selec tion on page 9 See also 4 2 6 Reset Configuration on page 35 DS1 4 has dual functionality it is re sponsible to the combination driven to the MODCK lines during power on reset and to the connection of the appropriate capacitor between XFC and VDDSYN li
189. ff board use the infra red transceiver may be disabled enabled at any time by writing 1 0 to the IrdEn bit in BCSR1 4 11 RS232 Port To assist user s applications and to provided convenient communication channel with a host computer an RS232 port is provided via SMC1 port Support is given upto 19200 baud rate via an RS232 transceiver Use is done with MC145707 transceiver which generates 25232 levels internally using a single 5V supply and is equipped with OE and shutdown mode When the RS232EN bit in BCSR1 is asserted low the transceiver is enabled When negated the transceiver enters standby mode in which the receiver outputs are tri stated enabling use of the SMC1 port off board via the expansion connectors In order of saving board space 9 pins female D Type connector is used configured to be directly via a flat cable connected to a standard IBM PC like RS232 connector FIGURE 4 4 RS232 Serial Port Connector DCD 7 Tx o DSR 7 RTS MP alors 9 N C GND 5 4 11 1 85 232 Port Signal Description In the list below the directions l O and I O are relative to the MPCADS board l e means input to the MPCADS e CD O Data Carrier Detect This line is always asserted by the MPCADS e TX O Transmit Data e RX I Receive Data e DTR Data Terminal Ready This signal may be used by the software in the MPCADS to 44 Release 1 3a For More Information On This Produc
190. for 60nsec EDO DRAMs 50MHz UPMA Initializations for 7Onsec EDO DRAMs 50MHz Memory Controller Initializations For 25Mhz UPMA Initializations for 60nsec DRAMs 25MHz UPMA Initializations for ZOnsec DRAMs 25MHz UPMA Initializations for 60nsec EDO DRAMs 25MHz UPMA Initializations for 7Onsec EDO DRAMs 25MHz Regular DRAM Performance Figures EDO DRAM Performance Figures DRAM ADDRESS CONNECTIONS Flash Memory Performance Figures BCSRO Description BCSR 1 Description PCCVPP 0 1 Assignment BCSR2 Description Flash Presence Detect 4 1 Encoding DRAM Presence Detect 2 1 Encoding DRAM Presence Detect 4 3 Encoding EXTOOLI 0 3 Assignment BCSR3 Description MPC821ADS Revision Number Conversion Table FLASH Presence Detect 7 5 Encoding Debug Port Control Status Register Off board Application Maximum Current Consumption P1 ADI Port Interconnect Signals P2 Ethernet Port Interconnect Signals P3 Interconnect Signals P4 PCMCIA Connector Interconnect Signals P5 Interconnect Signals P6 Interconnect Signals P9 Interconnect Signals P10 Interconnect Signals P12 Interconnect Signals P7 Interconnect Signals P8 Interconnect Signals P11 Interconnect Signals P13 Interconnect Signals MPC821ADS Part List Release 1 3a For More Information On This Product Go to www freescale com Freescale miconductor Inge nual General Information 1 General Information 41 Introduction This d
191. freescale com Release 1 3a Freescale Se micenductor Ing nual Support Information AdsSelect x ADS selection indicator At low state when host accesses the ADS d equations AdsSelect HOST IS ON amp AdsSel AdsAddr 2052002 is already inverted WK KKK KKK KKK KKK KK KK KK KKK Internal Logic Reset equations Prim
192. g to AMA MCM36800 60 70 FF000800 16MByte block size all types access initial address MT16D832X 6 7 multiplexing according to AMA MPTPR All Dram SIMMs 0400 Divide by 16 decimal Supported 22 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing OPERATING INSTRUCTIONS TABLE 3 3 Memory Controller Initializations For 2 Register Device Type Init Value hex Description MAMR MCM36100 60 70 40A211142 refresh clock divided by 40 or 60 or COF periodic 60A21114 timer enabled type 2 address multiplexing scheme 1 C0A21114 cycle disable timer GPL4 disabled for data sampling edge flexibility 1 loop read 1 loop write 4 beats refresh burst MCM36200 60 70 223 refresh clock divided by 202 or 30 or 60 periodic 30A21114 timer 60A21114 enabled type 2 address multiplexing scheme 1 cycle disable timer GPL4 disabled for data sampling edge flexibility 1 loop read 1 loop write 4 beats refresh burst MCM36400 60 70 40B21114 refresh clock divided by 40 or 60 or C0c periodic MT8D432X 6 7 60B21114 timer C0B21114 enabled type 3 address multiplexing scheme 1 cycle disable timer GPL4 disabled for data sampling edge flexibility 1 loop read 1 loop write 4 beats refresh burst MCM36800 60 70 2 82 refresh clock divided by 20 or 30 or 60 periodic MT16D832 6 7 20 timer 60B21114 enabled type 3 address multiplexing scheme 1 cycle d
193. g values are in hexadecimal base For better understanding the of the following initializations refer to the MPC821 Users Manual for more information TABLE 3 2 SIU REGISTERS PROGRAMMING Register Init Value hex Description SIUMCR 01632440 Internal arbitration External master arbitration priority 0 External arbitration priority 0 PCMCIA channel II pins debug pins Debug Port on JTAG port pins FRZ IRQ6 IRQ6 debug register locked No parity for non CS regions DP 0 3 IRQ 3 6 pins DP 0 3 reservation disabled SPKROUT Tri stated BS_A 0 3 and WE 0 3 are driven just on their dedicated pins GPL B5 enabled GPL A B 2 3 function as GPLs SYPCR FFFFFF88 Software watchdog timer count FFFF Bus monitor timing FF Bus monitor Enabled S W watch dog Freeze S W watch dog disabled S W watch dog if enabled causes NMI S W if enabled not prescaled TBSCR 00C2 No interrupt level reference match indications cleared interrupts disabled no freeze time base disabled RTCSC 01C2 Interrupt request level 1 32768 Hz source second interrupt disabled Alarm interrupt disabled Real time clock FREEZE Real time clock disabled PISCR 0082 No level for interrupt request Periodic interrupt disabled clear status interrupt disabled FREEZE periodic timer disabled 3 4 1 Memory Controller Registers Programming The memory controller on the MPC821ADS is initialized to 50
194. he ADS B19 PB15 VO PB15 BRGOS Not used on the ADS B20 PB14 0 PB14 RSTRT1 Not used on the ADS B21 GND B22 LOE MPC821 s PD6 LCD_AC LOE Not used on the ADS Appears also at P11 for convenient LCD connection B23 LD2 MPC821 s PD9 LD2 Not used on the ADS Appears also at P11 for convenient LCD connection B24 LD1 MPC821 s PD8 LD1 Not used on the ADS Appears also at P11 for convenient LCD connection B25 SPARE3 MPC spare pin 3 C1 VCC MPC821ADS VCC plane C2 VCC MPC821ADS VCC plane C3 IRDRXD InfraRed Port Receive Data In fact PA13 RXD2 When the Infra Red port is disabled may be used off board for any alternate function C4 IRDTXD 0 InfraRed Port Transmit Data In fact PA12 TXD2 When the Infra Red port is disabled via BCSR1 may be used off board for any alternate function C5 GND C6 BINPAK PCMCIA port Input Port Acknowledge In fact PC15 DREQM RTS1 L1ST1 When the PCMCIA port is disabled via BCSR1 may be used off board for any alternate function C7 PC14 0 PC14 DREQ2 RTS2 L1ST2 Not used on the ADS C8 PC13 0 PC13 L1RQB L1ST3 Not used on the ADS C9 GND 81 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 8 P10 Interconnect Signals Pin No Signal Name Attribute Description C10 PC12 0 PC12 L1RQA L1ST4 Not used on the ADS C11 E
195. his Product Go to www freescale com Freescale Se micenductor Ing nual Support Information else if PDA WRITE CONFIG REG amp BPS DATA BIT pin BOOT PORT 8 amp KA PON RESET BPS PON DEFAULT BOOT PORT 16 KA PON RESET amp BPS PON DEFAULT BOOT PORT 8 then BOOT PORT 8 else if PDA WRITE CONFIG REG amp BPS DATA BIT pin BOOT PORT RESERVED amp KA PON RESET 4 BPS PON DEFAULT BOOT PORT 16 KA PON RESET amp BPS PON DEFAULT BOOT PORT RESERVED then BOOT PORT RESERVED else BOOT PORT 16 State BOOT PORT RESERVED if PDA WRITE CONFIG REG amp BPS DATA BIT pin BOOT PORT 32 amp KA PON RESET BPS_PON DEFAULT BOOT PORT RESERVED KA PON RESET amp BPS PON DEFAULT BOOT PORT 32 then BOOT PORT 32 else if PDA WRITE CONFIG REG amp BPS DATA BIT pin BOOT PORT 16 amp KA PON RESET 4 BPS PON DEFAULT BOOT PORT RESERVED KA PON RESET amp BPS PON DEFAULT BOOT PORT 16 then BOOT PORT 16 else if PDA WRITE CONFIG REG amp BPS DATA BIT pin BOOT PORT 8 amp KA PON RESET 4 BPS PON DEFAULT BOOT PORT RESERVED KA PON RESET amp BPS PON DEFA
196. his signal controls the above mux and the indication LEDs illumination Added pull up resistors on the Chip Select lines to avoid possible data bus contention when MPC is off socket DRAMEN becomes active low to allow buffer manipulation supporting LEDs dark ness when MPC off socket Signal RUN becomes active high from the same reason Sh 1 7 8 9 11 14 Signals EXTM 1 4 changed to BADDR 28 30 AS correspondingly to support future external master support Sh 1 11 13 MODCKO renamed to MODCK2 to comply with MPC s spec convention Sh 1 3 13 Signal BCLOS which was optional for data buffers enable logic is found redundant and re moved from ADS logic Renamed to GPL4A Sh 1 2 3 12 Added 3 Flash memory Presence Detect lines F PD 5 7 to BCSR U11 65 67 ENG U10 to support varying flash memory delays Sh 3 4 11 Added support for SMART flash simms e 12 VPP connected to SIMM e BA10 connected also to the SIMM to support 1M X 8 devices Sh 4 BCSR power on reset logic was changed to support board s power up recovery when keep alive power remained active Sh 3 9 Power on reset logic changes KA power on reset is not driven by U10 ENG U9 but directly to the MPC Added AC14 U23 powered by KAPWR to support this AC14 s s t is required for mach connection due to slow rise time of PORST D3 and R12 powered from KAPWR from the same reason Added option for PON reset
197. hown below FIGURE 2 10 P7 5V Power Connector 5V 160 GND 2C GN 30 P7 is a 3 terminal block power connector with power plug The plug is designed to accept 14 to 22 AWG wires It is recommended to use 14 to 18 AWG wires To provide solid ground two Gnd terminals are supplied It is recommended to connect both Gnd wires to the common of the power supply while VCC is connected with a single wire NOTE Since hardware applications may be connected to the MPC821ADS using the expansion connectors P6 P9 P10 P12 or P13 the additional power consumption should be taken into consideration when a power supply is connected to the MPC821ADS 2 4 5 P8 12V Power Supply Connection The MPC821ADS requires 12 Vdc 1 A max power supply for the PCMCIA channel Flash programming capability The MPC821ADS can work properly without the 12V power supply if there is no need to program a 12V programmable PCMCIA flash card Connect the 12V power supply to connector P6 as shown below 14 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Hardware Preparation and Installation FIGURE 2 11 P8 12V Power Connector 12V GND P8 is a 2 terminal block power connector with power plug The plug is designed to accept 14 to 22 AWG wires It is recommended to use 14 to 18 AWG wires 2 4 6 ADI Installation For ADI installation on various ho
198. ial Data in from Pda To provide better hold time for DSDI from the last rising edge of DSCK a dedicated enable for DSDI is provided DSDI ENABLE equations DsdiEn ar Reset DsdiEn clk 7 state_diagram DsdiEn state DSDI_DISABLED if HOST WRITE ADI DATA amp BndTmrExp fb 6 PdaRst fb then DSDI ENABLED else DSDI DISABLED state DSDI ENABLED if STATE TX DISABLED PdaRst fb then DSDI DISABLED else DSDI ENABLED 124 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information equations DSDI oe ADS IS SELECTED amp IN DIAG LOOP BACK avoid junk driven on DSDI input during diagnostic loop back mode when ADS IS SELECTED amp PdaSoftReset then DSDI H else when ADS IS SELECTED amp STATE DSDI ENABLED amp PdaSoftReset then DSDI L else when ADS IS SELECTED amp STATE DSDI ENABLED then DSDI TxReg7 fb else DSDI L
199. ibute Description C6 VFLSO IP BO IWPO VFLSO PCMCIA slot B Input Port 0 or Instruction Watchpoint 0 or Visible history FLushes Status 0 Configured on the ADS as VFLSO Indicates in conjunction with VFLS1 the number of instructions flushed from the core s history buffer Indicates also whether the MPC is in debug mode If not using the debug port may be configured for alternate function C7 GND C8 AT1 1 0 ALE_B DSCK AT1 Address Latch Enable for PCMCIA slot B or Debug Serial Clock or Address Type 1 Configured on the ADS as AT1 Not used on the ADS May be configured to alternate function C9 ALE A O H Address Latch Enable for PCMCIA slot A Latches address in external latches at the beginning of access to a PC Card C10 GND C11 RESETA O H In fact OPO Serves as PC Card reset signal C12 TEXP O H Timer Expired Not used on the ADS C13 GND C14 GND C15 GND C16 GND C17 BWAITA Buffered PCMCIA slot A WAIT signal Used to prolong cycles to slow PC Cards When the PCMCIA port is disabled via BCSR1 may be used off board C18 BVS1 Buffered PCMCIA slot A Voltage Sense 1 In fact IP_AO Used in conjunction with BVS2 to determine the operation voltage of a PCMCIA card When the PCMCIA port is disabled via BCSR1 may be used off board C19 GND C20 BBVD1 Buffered PCMCIA slot A Battery Voltage Detect 1 In fact IP_A6 Used in conjunction with BBVD2 to determine the battery status of a PC Card When the PCMCIA port is d
200. ic Pins VE ck RstO PIN 13 connected to N C of Reset P B 1 PIN 21 connected to N O of Reset P B KAPORIn PIN 25 Keep Alive Power On Reset In H RegPORIn PIN 9 Regular Power On Reset In H HardReset PIN 48 istype com Actual hard reset output O D SoftReset PIN 40 istype com Actual soft reset output O D ResetConfig PIN 67 istype com Drives the RSTCONF signal of the pda DriveConfig PIN 63 istype com Drives configuration data to the pda Abro PIN 10 connected to N C of Abort P B Abr1 PIN 11 connected to N O of Abort P B NMIEn NODE istype com enables T S NMI pin NMI PIN 44 istype Actual NMI pin O D Power On Reset Configuration Support
201. icenductor Ing nual Support Information 2 U10 Auxiliary Board Control In this file 5 1 The use of BCLOSE is removed This due to the assignment T BCLOSE to GPL4A In order of using of GPL4A bit in the upm to determine T data sampling edge GPL4A may not be used as a GPL Therefore DramBankXCs or must envelope the cycle so that data buffers remain open throughout the TA cycle 2 Removed CS support for flash configuration I e FlashCsl will not be TK asserted during hard reset Flash configuration will be supported on Ns Silicon next revisions data buffers will still open for flash configuration when hard reset Wk asserted and flash configuration option bit asserted 3 Since Bclose is no longer available the data buffers will open m asynchronously I e driven directly by the various chip selects TX to provide data hold 0 on write cycles to flash CSNT bit in the OR S should be programmed active while ACS 00
202. iguration via BCSR T P Ethernet port via MC68160 EEST on 5001 with Standby Mode Infra Red Transceiver on SCC2 with Shutdown Option 5V only PCMCIA Socket With Full Buffering Power Control and Port Disable Option Com plies with PCMCIA 2 1 Standard Module Enable Indications RS232 port on SMC1 with Low Power Option On Board Debug Port Controller with ADI I F MPC821ADS Serving as Debug Station for Target System option LCD Display Connector Optional Hard Reset Configuration Burned in Flash All MPC Pins Available At Expansion amp Logic Analyzer Connectors External Tools Identification Capability via BCSR Soft Hard Reset Push Button ABORT Push Button Single 5V Supply Reverse Over Voltage Protection for Power Inputs 3 3V 2V MPC Internal Logic Operation 3 3V MPC I O Operation A Available only if supported also on chip B Unless a 12V supply is required for a PCMCIA card Release 1 3a For More Information On This Product Go to www freescale com Freescale miconductor Inge nual General Information External Keep Alive Power Source Option Q Power Indications for Each Power Bus Software Option Switch provides 16 S W options via BCSR FIGURE 1 1 MPC821ADS Block Diagram Expansion amp Logic Analyzer Connectors DATA amp ADDRESS BUFFERS Reset Interrupts amp Clock Dram Width 5 amp Size Logic Control amp Statu
203. imulation purpose only 0114 is generated using Clk2 only no use of sysclk KK KKK kk Ck CC VE ck ck 615065 SIMULATION equations Clkout2 clk SYSCLK Clkout2 Clkout2 amp HOST_IS_ON divide by 2 114 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information Clk4 clk 7 ClkOut oe 3 ClkOut ar Reset 0114 4 01 amp HOST IS ON divide by 2 Bundle delay timer This timer ensures data validity in the following cases 1 Host write to adi In that case AdsAck is ASSERTED only after that timer TW expired 2 Host read from adi In that case AdsReq is NEGATED after that timer us expired ensuring enough time for data propagation over the bundle The timer is async reset when both soft and hard reset is applied to the i f The timer is sync reset a clock after it expires
204. iodic Timer A filed in MAMR The value of the 2 nd divider Refresh Period is the time usually in msec required to refresh a dram bank Number Of Beats Per Refresh Cycle using the UPM looping capability it is possible to perform more than one refresh cycle per refresh burst in fact upto 16 Number Of Rows To Refresh the number of rows in a dram bank T BRG the cycle time of the BRG clock MPTPR the value of the periodic timer prescaler 2 to 64 Number Of Banks number of dram banks to refresh If we take for example a MCM36200 SIMM which has the following data Refresh Period 16 msec e Number Of Beats Per Refresh Cycle on the ADS it is 4 Number Of Rows To Refresh 1024 T BRG 40 nsec 1 2 system clock 50 Mhz MPTPR arbitrarily chosen to be 8 Number Of Banks 2 for that SIMM If we assign the figures to the PTA formula we get the value of PTA should be 97 decimal or 61 hex The programming of the appropriate registers and UPM s memory controlling this function is shown in 3 4 1 Memory Controller Registers Programming on page 21 40 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Functional Description 4 7 4 Variable Bus Width Control Since a port s width determines its address connections i e the number of address lines required for byte selection varies 1 for 16 bit port and 2 for 32 bit port according to the po
205. is file 6 RUN signal polarity was changed to active high this to support other changes for revision PILOT of the ads In this file 5 added x protection against spikes on the reset lines so that the interface TE will not be reset by an accidental spike D_C signal was synchronized to avoid accidental write to control Te during data write DSDI is given value H prior to negation of SRESET to comply with 5XX VN family gt gt 37 In this file 4 the polarity of address selection lines is reversed so that ON the switch represent address line at high and vice versa Wk KKK KKK KKK KKK KKK KKK ckckckckckckckckckckck In this file 3 the CIk2 is not reset at all so it can be
206. isable timer GPL4 disabled for data sampling edge flexibility 1 loop read 1 loop write 4 beats refresh burst a Assuming 16 67 MHz BRGCLK b Assuming 25MHz BRGCLK c For SOMHz BRGCLK 23 Release 1 3a For More Information On This Product Go to www freescale com TABLE 3 4 UPMA Initializations for 6 0nsec DRAMs 50MHz Freescale Se migonducton Ing OPERATING INSTRUCTIONS Cycle Type Single Read Burst Read Single Write Burst Write Refresh Exception Offset in UPM 0 8 18 20 30 3C Contents 0 8FFFEC24 8FFFEC24 8FAFCC24 8FAFCC24 COFFCC84 33FFCC07 ore 1 OFFFECO4 OFFFEC04 OFAFCC04 OFAFCC04 OOFFCC04 X 2 OCFFECO4 08FFEC04 OCAFCCOO OCAFCCOO 07FFCC04 X 3 00FFEC04 OOFFECOC 11BFCC47 03AFCC4C 3FFFCC06 X 4 00FFEC00 03FFEC00 X OCAFCCOO FFFFCC85 5 37FFEC47 OOFFEC44 X 03AFCC4C FFFFCC05 6 X 00FFCC08 X OCAFCCOO X 7 X OCFFCC44 X 03AFCC4C X 8 OOFFECOC OCAFCCOO X 9 OSFFECOO 33BFCC4F X A OOFFEC44 X B 00FFCC00 X X C 3FFFC847 X D X X E X X F X X 24 Release 1 3a For More Information On This Product Go to www freescale com TABLE 3 5 UPMA Initializations for 70nsec DRAMs 50MHz Freescale Se migonducton Ing OPERATING INSTRUCTIONS Cycle Type Single Read Burst Read Single Write Burst Write Refresh Exception Offset In UPM 0 8
207. isabled via BCSR1 may be used off board C21 DPO DPO IRQ3 Data Parity line 0 or Interrupt Request 3 Generates and receives parity data for D 0 7 bits May not be configured as IRQ3 C22 GND C23 N C Not Connected C24 N C Not Connected C25 N C Not Connected 77 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 7 P9 Interconnect Signals Pin No Signal Name Attribute Description D1 GND D2 GND D3 GND D4 VF1 I O IP_B5 LWP1 VF1 PCMCIA slot B Input Port 5 or Load Store Watch Point 1 or Visible Instruction Queue Flushes Status 1 Configured on the ADS as VF1 May be configured to alternate function D5 GND D6 SPARE4 MPC spare pin 4 D7 VFLS1 IP_B1 IWP1 VFLS1 PCMCIA slot B Input Port 1 or Instruction Watchpoint 1 or Visible history FLushes Status 1 Configured on the ADS as VFLS1 Indicates in conjunction with VFLSO the number of instructions flushed from the core s history buffer Indicates also whether the MPC is in debug mode If not using the debug port may be configured for alternate function D8 GND D9 BADDR30 O Burst Address Line 30 Dedicated for external master support Used to generate Burst address during external master burst cycles Valid only when 16 bit memory is being accessed by the external m
208. k SYSCLK when SyncHardReset fb amp ConfigHoldEnd fb then ConfigHold ConfigHold fb 1 else when SyncHardReset fb amp ConfigHoldEnd fb then ConfigHold ConfigHold fb else when SyncHardReset fb then ConfigHold 0 ConfigHoldEnd ConfigHold fb HARD CONFIG HOLD VALUE terminal count ResetConfig HardReset drives RSTCONF to pda DriveConfig ConfigHoldEnd fb drives configuration data on the bus NMI generation equations NMI oe NMIEn NMI 0 O D NMIEn RstDebl fb amp AbrDebl fb only abort button depressed
209. l is performed by UPMA of the MPC via CS2 and 053 for 2 bank SIMM region s i e RAS and CAS signals generation during normal access as well as during refresh cycles and the neces sary address multiplexing are performed using UPM1 CS2 and CS3 signals are buffered from the DRAM and each split to 2 to overcome the capacitive load over the dram SIMM RAS lines The program ming of UPM1 and other associated registers to perform that task is described in 3 4 1 Memory Controller Registers Programming on page 21 The DRAM module may enabled disabled at any time by writing the DRAMEN bit in BCSR1 See TABLE 4 6 BCSR1 Description on page 50 4 7 1 DRAM 16 Bit Operation To enhance evaluation capabilities support is given to 16 bit and 32 bit data bus width That way users can tailor dram configuration to get best fit to their application requirements When the DRAM is in 16 bit mode half of it is not used i e memory portion that is connected to data lines D 16 31 is not used at all To configure the DRAM for 16 bit data bus width operation the following steps should be taken 1 Set the Dram Half Word bit in BCSR1 to Half Word See TABLE 4 6 80581 Description on page 50 2 The Port Size bits of BR2 and of BR3 for a 2 bank DRAM SIMM should be set to 16 bits A During read cycles B Normal i e Single Read Single Write Burst Read amp Burst Write C Taking into account support for narrower bus widths 38
210. layed primary reset Reset NODE istype com Interface reset PdaRst NODE istype reg buffer pda continued initiated part of the status register ADS ACK ADS REQ auxiliary internal control signals Wk ck CC kk kk Ck ck KK KKK KK KK S_HstReq NODE istype reg sync host req DS_HstReq NODE istype reg double sync host req S_D_C NODE istype reg buffer synchronized data control selection S HstAck NODE istype reg buffer sync host ack DS HstAck NODE istype reg buffer double sync host ack BundleDelayl BundleDelayO NODE istype reg buffer delay counter for bundle delay compensation BndTmrExp NODE istype com terminal count for bundle delay timer PDOe NODE istype com Mach to ADI data O LH 105 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information PdaHardResetl NOD Fi J3 istype
211. longer 50 duty cycle distorting UPM timing 34 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Functional Description button is debounced to avoid spikes over the SRESET line When SRESET is signal is asserted the SOFT reset configuration is made available to the MPC See 4 2 6 3 Soft Reset Configuration on page 36 4 2 4 Manual Hard Reset To support resident application development a hard reset push button is provided When the soft reset push button is depressed in conjunction with the ABORT push button the HRESET line is asserted gen erating a HARD RESET sequence The button sharing is for economy and board space saving and does not effect in any way functionality 4 2 5 MPC Internal Sources Since the HRESET and SRESET lines of the MPC are open drain and the on board reset logic drives these lines with open drain gates the correct operation of the internal reset sources of the MPC is facilitat ed As a rule an internal reset source will assert HRESET and or SRESET for a minimum time of 512 system clocks It is beyond the scope of this document to describe these sources however Debug Port Soft Hard Resets which are part of the development support systemP are regarded as such 4 2 6 Reset Configuration During reset sequences to their kinds the MPC device samples the state of some external pins to deter mine its operation modes and pin configura
212. ls 12 Pin No Signal Name Attribute Description B29 GND B30 A0 O T S MPC s Address line 0 C1 VCC MPC821ADS VCC plane C2 VCC MPC821ADS VCC plane C3 VCC MPC821ADS VCC plane C4 VCC MPC821ADS VCC plane C5 BURST O T S Burst Transaction Indicator 6 GPL4A l O L UPWAITA GPL4A UPMA Wait signal or UPMA General Purpose Line 4 Not used on ADS C7 GND C8 BCSRCS O L In fact Chip Select 1 Used as a Chip Select for the BCSR controlled by the GPCM May be used off board when BCSR is disabled 09 GPL5A O L UMPA General Purpose Line 5 Not used on the ADS C10 GND C11 CS6 O L in fact CS6 CE1 B Chip Select 6 or PCMCIA slot B CE1 Not used on the ADS C12 DRMCS2 O L In fact CS3 Selects the upper bank if exists of the Dram May be used off board if either exist a the on board Dram SIMM is a single bank SIMM or b the Dram is disabled from local memory map via BCSR1 C13 GND C14 WE2 O L In fact WE2 BS2_B PCOE Used as Write Enable 2 for the Flash memory and as a PCMCIA Output Enable C15 BS2A O L Byte Select 2 for UPMA Used for Dram access C16 GND C17 BS1A O L Byte Select 1 for UPMA Used for Dram access C18 TSIZ1 O T S Transfer Size 1 Used in conjunction with TSIZO to indicate the number of bytes remaining in an operand transfer Not used on the ADS C19 GND C20 A14 O T S MPC s
213. lse when PDA_READ_STATUS_REG1 then Data FlashPD4 FlashPD3 FlashPD2 FlashPD1 DramPdEdo DramPD4 DramPD3 DramPD2 DramPD1 ExtToolI0 ExtToolIl ExtToolI2 ExtToolIl3 PccVppG 0 0 else when PDA READ STATUS REG2 then Data 0 0 0 0 0 0 0 0 0 F1ashPD7 FlashPD6 FlashPD5 0 0 1 0 revision number 1 pilot end cnt reg6 173 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information APPENDIX B ADII F The ADI parallel port supplies parallel link from the MPCADS to various host computers This port is con nected via a 37 line cable to a special board called ADI Application Development Interface installed in the host computer Four versions of the ADI board are available to support connection to IBM PC XT AT MAC Il VMEbus computers and SUN 4 SPARC stations It is possible to connect the MPC281ADS board to these computers provided that the appropriate software drivers are installed on them Each MPC281ADS can have 8 possible slave addresses set for its ADI port enabling up to 8 MPC281ADS boards to be connected to the same ADI board The ADI port connector is a 37 pin male D type connector The connection between the MPC281ADS and the host computer is by a 37 line flat cable supplied with the ADI board FIGURE A 1 below shows the pin configuration of the connector FIGURE A 1 ADI Port Connector Gnd 2 1 N C G
214. mp MCM29080 6 210 amp MCM29080 VE ck ck kk kk KKK KK KKK KK KK Reset Declarat Wk KKK KK KKK KK KK k kk KEEP A ions ON_RE SET_ACTIVE 0 REGULAR PON RES I HARD RE SET ACTIVE SOFT RE HARD CONFIG HO SET ACTIVE T ACTIVE 0 0 0 D VALUE 4 KEEP ALIVE POWER ON RESET KAPORIn KEEP ALIVE PON RESET ACTIVE DRIVE MODCK TO PDA HardReset HARD RESET ACTIVE have modck stable during hard reset REGULAR POWER ON RESET RegPORIn REGULAR PON RESET ACTIVE HARD RESET ASSERTED SyncHardReset fb HARD RESET ACTIVE HARD RESET NEGATES SyncHardReset fb HARD RESET ACTIVE amp DSyncHardReset fb HARD RESET ACTIVE detecting hard reset negation
215. nate function A6 SPKROUT KR IRQ4 SPKROUT Kill Reservation input or Interrupt Request 4 input or PCMCIA Speaker Output Configured on the ADS as SPKROUT May be configured to alternate function A7 GND A8 POE_A O L In fact OP1 of the PCMCIA I F Enables address buffers towards the PC Card AQ BADDR29 Burst Address Line 29 Dedicated for external master support Used to generate Burst address during external master burst cycles A10 GND A11 KAPWR Keep Alive Power rail A12 WAIT B LL This signal is PCMCIA slot B wait signal Pulled up Not used otherwise A13 GND 74 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 7 P9 Interconnect Signals Pin No Signal Name Attribute Description A14 GND A15 GND A16 GND A17 BWP H Buffered PCMCIA slot A Write Protect In fact IP A2 IOIS16A Used as PC card write protect indication or as 16 bit I O capability indication for PCMCIA slot A When the PCMCIA port is disabled via 2051 this line may be used off board A18 BRDY H Buffered PCMCIA slot A Ready signal In fact IP A7 Used as PCMCIA port A Card Ready indication When the PCMCIA port is disabled via BCSR1 this line may be used off board A19 GND A20 N C Not Connected A21 V3 3 3 3V Power Rail A22 V3 3 A
216. nd 2 E DC Gnd 3 HST ACK Gnd 23 4 ADS SRESET Gnd o4 5 ADS HRESET Gnd 25 6 ADS 2 Miev NC 26 7 ADS SEH HOST Vee 8 ADS SEO 9 HOST REQ HOST VCC 28 10 ADS REQ HOST VCC 29 11 ADS ACK HOST ENABLE 30 n 14 NC Gnd 33 15 N C PDO 4 16 01 PD2 35 PD4 Rs pos S 18 RD NOTE Pin 26 on the ADI is connected to 12 v power supply but it is not used in the MPC281ADS Bel ADI Port Signal Description The ADI port on the MPC281ADS was slightly modified to generate either hard reset or soft reset This feature was added to comply with the MPC s reset mechanism In the list below the directions l O and I O are relative to the MPC821ADS board I E means input to the MPC821ADS NOTE Since the ADI was originated for the DSP56001ADS some of its signals throughout the boards it was used with were designated with the prefix ADS This convention is kept with this design also ADS SEL 0 2 174 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information These three input lines determine the slave address of the MPC821ADS being accessed by the host computer Up to 8 boards can be addressed by one ADI board ADS_SRESET This input line is used to generate Soft Reset for the MPC When an ads is selected and this line is asserted by the host computer Soft
217. nd a dedicated group for the DRAM part of U30 and U32 Strobe lines are also buffered U30 U35 amp U37 while transceivers are provided for data U39 U42 The data transceivers open only if there is an access to a valid board address or during Hard Reset con figurationC That way data conflicts are avoided in case an off board memory is read provided that it is not mapped to an address valid on board It is the users responsibility to avoid such errors 4 6 Chip Select Generator The memory controller of the MPC is used as a chip select generator to access on board memories saving board s area reducing cost power consumption and increasing flexibility To enhance off board ap plication development memory modules including the BCSRx may be disabled via BCSR1E in favor of an external memory connected via the expansion connectors That way a CS line may be used off board via the expansion connectors while its associated local memory is disabled When a CS region is disabled via BCSR1 the local data transceivers are not open during access to that A Approximately 45dB 5KHz B An address which is covered in a Chip Select region and that CS region is enabled via BCSR1 C To allow a configuration word stored in Flash memory become active D And off board See further E After the BCSR is removed from the local memory map there is no way to access it but to remove and re apply power to the ADS 37 Release 1 3a
218. nes to match the PLL s multiplication factor When 1 5 mode is selected a capacitor of 5nF is connected while when 1 513 mode is selected a 0 68uF capac itor is connected parallel to it via a TMOS gate The capacitors values are calculated to support a wider range of multiplication factors as possible When mode 2 above is selected the output of the clock generator is gated from CLK4IN and driven to 0 constantly so that a jitter free system clock is generated 4 4 1 SPLL Support Since the SPLL requires quiet supplies GNDSYN and GNDSYN have a dedicated ground plane connect ed only in one point to the global ground plane of the ads Bypassing capacitors pairs of 0 1uF and 0 01uF are connected as close as possible between VDDSYN and GNDSYN VDDSYN is filtered from the digital supply using a LC filter with a double pole app 500 hz to provide satisfactory attenuation of switching regulators noise over PLL supply lines 4 5 Buffering As the MPCADS is meant to serve also as a hardware development platform it is necessary to buffer the MPC from the local bus so the MPC s capacitive drive capability is not wasted internally and remains avail able for user s off board applications via the expansion connectors Since the total capacitive load over the address lines of all local memory slaves is significant two parallel sets of buffers are provided for address a dedicated group for the Flash memory and PCMCIA U29 U33 amp U34 a
219. o MPC821ADS Connection Terminal to MPC821ADS RS 232 Connection Memory Installation OPERATING INSTRUCTIONS INTRODUCTION CONTROLS AND INDICATORS SOFT RESET Switch SW1 ABORT Switch SW2 HARD RESET Switches SW1 8 SW2 DS2 Software Options Switch J4 Power Bridge GND Bridges RUN Indicator LD1 FLASH ON LD2 DRAM ON LD3 ETH ON LD4 Ethernet RX Indicator LD5 Ethernet TX Indicator LD6 Ethernet JABB Indicator LD7 IRD ON LD8 Ethernet CLSN Indicator LD9 Ethernet PLR Indicator LD10 Ethernet LIL Indicator LD11 For More Information On This Product Go to www freescale com Release 1 3a 4 02 44 60 60 3 2 18 3 2 19 3 2 20 3 2 21 3 3 344 3 4 1 4 1 42 4 2 1 4 2 2 4 2 3 4 2 4 4 2 5 4 2 6 21 22 4 2 6 3 4 3 4 4 4 4 1 4 5 4 6 4 7 4 7 1 4 7 2 4 7 3 4 7 4 4 8 4 9 40 4 11 4 11 1 12 4 12 1 4 13 4 14 4 14 1 1112 4 14 3 4 14 4 4 14 5 4 15 4 15 1 4 15 1 1 4 15 2 4 15 3 Freescale Semiconductor Inc MPCS 21ADS Revision A User s Manual TABLE OF CONTENTS RS232 ON 2 PCMCIA ON 3 5V Indicator LD14 3 3V Indicator LD15 MEMORY MAP Programming The MPC Registers Memory Controller Registers Programming Functional Description MPC821 Or MPC860 Reset amp Reset Configuration Keep Alive Power On Reset Main Power On Reset Manual Soft Reset Manual Hard Reset MPC Internal Sources Reset Configuration Pow
220. o the MPC the Power On reset configuration is made available to MPC See 4 02 6 1 Power On Reset Configuration on page 35 4 2 2 Main Power On Reset The Main power reset generates HARD reset and optionally PON reset when the MAIN 3 3 bus is powered on or there is a drop of voltage level over this bus The reset is generated by a dedicated voltage detector made by Seiko the S 8052ANY NH X with detection voltage range of 2 595 to 2 805V When regular power on reset conditions exist the HRESET signal of the MPC is asserted for a period of approx imately 4 sec In addition if J1 is set accordingly see 2 3 3 Power On Reset Source Selection on page 10 Power On Reset is generated i e PORESET input of the MPC is asserted for a period of approxi mately 4 sec When HRESET signal is asserted the HARD reset configuration is made available to the MPC See 4 2 6 2 Hard Reset Configuration on page 35 When PORESET is asserted to the MPC the Power On reset configuration is made available to MPC See 4 2 6 1 Power On Reset Configuration on page 32 4 2 3 Manual Soft Reset To support resident application development and debuggers a soft reset push button is provided De pressing that button asserts the SRESET pin of the MPC generating a SOFT RESET sequence This A The MPC s PLL minimal frequency is 15MHz Below that the Low Power Divider must be incorporated during the operation of which CLKOUT is no
221. ocument is an operation guide for the MPC821ADS board It contains operational functional and general information about the ADS The MPC821ADS is meant to serve as a platform for s w and h w de velopment around the MPC821 Using its on board resources and its associated debugger a developer is able to load his code run it set breakpoints display memory and registers and connect his own proprietary h w via the expansion connectors to be incorporated to a desired system with the pda This board could also be used as a demonstration tool i e application s w may be burned into its flash memory and ran in exhibitions etc 1 2 Abbreviations List e PDA Personal Digital Assistant the MPC821 UPM User Programmable Machine GPOM General Purpose Chip select Machine e GPL General Purpose Line associated with the UPM I R Infra Red MPCADS the MPC821ADS the subject of this document BSCR Board Control 8 Status Register ZIF Zero Input Force e BGA Ball Grid Array 13 Related Documentation MPC821 Users Manual MC68160 Data Sheet ADI Board Specification 1 4 SPECIFICATIONS The MPC821ADS specifications are given in TABLE 1 1 TABLE 1 1 MPC821ADS Specifications CHARACTERISTICS SPECIFICATIONS Power requirements no other boards attached 5Vdc 1 7 A typical 3 A maximum 12Vdc 1A Microprocessor MPC821 50 MHz A Either on or off board 1 Rel
222. ode instantly after SOFT reset When inactive the MPC will start executing normally and will enter debug mode only after exception Upon I F reset this bit wakes up active a Provided that the PCMCIA channel II pins are configured as debug pins i e VFLS 0 1 signals are available If not the debug port can not be operated correctly FIGURE 4 7 Standard Debug Port Connector SRESET DSCK GND VFLS1 HRESET DSDI VDD 4315 3 Standard MPCXXX Debug Port Connector Pin Description The pins on the standard debug port connector are the maximal group needed to support debug port con trollers for both the MPC5XX and MPC8XX families Some of the pins are redundant for the MPC8XX family but are necessary for the MPC5XX family 4015 03 1 VFLS 0 1 These pins indicate to the debug port controller whether or not the MPC is in debug mode When both VFLS 0 1 are at 1 the MPC is in debug mode These liens may serve alternate functions with the MPC but are needed for proper debug port operation 4 15 3 2 HRESET This is the Hard Reset bidirectional signal of the MPC When this signal is asserted low the MPC enters hard reset sequence which include hard reset configuration This signal is made redundant with the MPC8XX debug port controller since there is a hard reset command integrated within the debug port pro 58 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migond
223. on On This Product Go to www freescale com 55 Freescale Se migonducton Ing Functional Description TABLE 4 15 FLASH Presence Detect 7 5 Encoding FLASH_PD 7 5 Flash Delay nsec 000 001 Not Supported 010 120 Motorola s SIMMs 011 90 Motorola s SIMMs 100 90 SMART s SIMMs 101 120 SMART s SIMMs 110 150 SMART s SIMMs 111 Not Supported Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Functional Description 4 15 Debug Port Controller The debug port of the MPC821ADS is implemented on board connected to the MPC via the JTAGA port Since the location of the debug port is determined via the Hard Reset configuration It is important that the relevant configuration bits see 4 2 6 Reset Configuration on page 35 are not changed if working with the local debug port is desired The debug port controller is interfaced to host computer via Motorola s ADIB port which is an 8 bit wide parallel port Since the debug port is serial conversion is done by hardware between the parallel and serial protocols The debug port is configured at SOFT Reset to Asynchronous Clock Mode i e the debug port drives the debug clock DSCK which may be asynchronous with the MPC system clock FIGURE 4 6 Debug Port Controller Block Diagram ADI Port Connector P5 Debug Port Conn
224. on overhead TABLE 4 2 EDO DRAM Performance Figures Number of System Clock Cycles System Clock Frequency MHz 50 25 DRAM Delay nsec 60 70 60 70 Single Read 6 6 3 4 Single Write 4 4 2 3 Burst Read 6 2 2 2 6 3 2 2 3 1 1 1 4 1 2 2 Burst Write 4 2 2 2 4 2 2 2 2 1 1 1 3 2 2 2 Refresh 21ab 253b 132P 132P 39 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Functional Description a Four beat refresh burst b Not including arbitration overhead 13 Refresh Control The refresh to the dram is a CAS before RAS refresh which is controlled by UPMA as well The refresh logic is clocked by the BRG clock which is not influenced by the low power divider FIGURE 4 1 Refresh Scheme BRG Clock gt PTP __ PTA UPMA Zp gt DRAM BANKS As seen in FIGURE 4 1 Refresh Scheme above the BRG clock is twice divided once by the PTP Pe riodic Timer Prescaler and again by another prescaler the PTA dedicated for each UPM If there are more than one dram banks than refresh cycles are performed for consecutive banks therefore refresh should be made faster The formula for calculation of the PTA is given below Refresh Period X Number Of Beats Per Refresh Cycle Number Of Rows To Refresh X T BRG XMPTPR X Number Of Banks PTA Where PTA Per
225. or 68 pin Male SMD MOLEX 53380 6810 PCMCIA P5 Connector header 10 pin dual in SAMTEC TSM 105 03 S DV line SMD P6 Connector Header 2 X 60 pin SAMTEC TSM 130 3 S DV A P Quad In line SMD P7 Male Part Connector 3 pin Power Straight WB 8113S 253303353 with false insertion protection P7 Female Part Connector 3 pin Power Plug WB 8113B 253200353 P8 Male Part Connector 2 pin Power Straight WB 8113S 253303253 with false insertion protection P8 Female Part Connector 2 pin Power Plug WB 8113B 253200253 P10 2 Connector Header 2 X 50 pin SAMTEC TSM 125 03 S DV A P Quad In line SMD P11 Connector Header 30 pin Dual SAMTEC TSM 115 03 S DV In line SMD P13 Connector 96 pin Female DIN ELCO 268477096002025 41612 90 P13 Counterpart Connector 96 pin Male DIN ELCO 168457096004025 41612 90 WW R1 R2 83 84 85 R16 R17 R18 Resistor 10 KQ 1 SMD 1206 RODERSTEIN D25 010K FC5 R19 R20 R27 R36 R38 R41 1 8W R42 R43 R44 R46 R48 R49 R50 R51 R52 R57 R58 R63 R64 R73 R74 R77 R78 R79 R80 R6 Resistor 10 Q 1 SMD 1206 1 RODERSTEIN D25 10R FCS 8W R7 R15 Resistor 2 kQ 1 SMD 1206 1 BOURNS CR1206 FX 2001E 8W R8 R13 R21 R53 Resistor 100 Q 1 SMD 1206 1 RODERSTEIN D25 100R FCS 8W 97 For More Information On This Product Go to www freescale com Release 1 3a Freescale Se migonducton Ing Support Information TABLE 5 14 MPC821ADS Part Lis
226. ost to ADS write pulse AdsAck PIN 31 ISTYPE reg buffer ADS to host OUT 3s AdsReq PIN 2 ISTYPE reg buffer ADS to host Signal OUT 3s HstAck PIN 54 Host to ADS write ack AdsHardReset PIN 50 Host to ADS Hard reset AdsSoftReset PIN 17 Host to ADS Soft reset HstEn PIN 3 Host connected to ADS HostVcc PIN 49 Host to ADS host is on D C PIN 51 Host to ADS select data or control access AdsSel0 AdsSell AdsSel2 PIN 22 21 9 Host to ADS card addr IN 103 IN For More Information On This Product Go to www freescale com write ack write IN Release 1 3a Freescale Se micenductor Ing nual Support Information AdsAddr0 AdsAddrl AdsAddr2 PIN 7 6 5 ADS board address switch IN AdsSelect NODE ISTYPE com buffer ADS selection indicator OUT PDA pins Including debug port d
227. p After any write to BCSR1 this bit becomes active again This bit is a write only bit on that register 6 7 Reserved Un Implemented 8 BREVNO Board Revision Number 0 This is the MS bit of the Board Revision R Number See TABLE 4 14 MPC821 860ADS Revision Number Conversion Table on page 54 for the interpretation of the Board Revision Number 9 11 FLASH PD 7 5 Flash Presence Detect 7 5 These lines are connected to the Flash SIMM presence detect lines which encode the Delay of Flash SIMM mounted on the Flash SIMM socket U15 There are additional 4 presence detect lines which encode the SIMM s Type but appear in BCSR2 For the encoding of FLASH PD 7 5 see TABLE 4 15 FLASH Presence Detect 7 5 Encoding on page 55 12 BREVN1 Board Revision Number 1 Second bit of the Board Revision Number See R TABLE 4 14 MPC821 860ADS Revision Number Conversion Table on page 54 for the interpretation of the Board Revision Number 13 Reserved Un Implemented 14 15 BREVN 2 3 Board Revision Number 2 3 The 2 LS bits of the Board Revision 3 8 Number See TABLE 4 14 MPC821 860ADS Revision Number Conversion Table on page 54 for the interpretation of the Board Revision Number TABLE 4 14 MPC821ADS Revision Number Conversion Table MPC821ADS Revision Hex ENG Engineering 0 PILOT 1 A 2 3 F Reserved Release 1 3a 54 For More Informati
228. pace at OxOOF00000 when 10 initial space at OxFF000000 when 11 initial space at OxFFFOOOOO 9 10 DBGC 0 1 Debug Pins Configuration Value during Hard Reset determines the 11 RW function of the PCMCIA channel Il pins When 00 these pins function as PCMCIA channel II pins when 01 they serve as Watch Points 10 Reserved when 11 they become show cycle attribute pins e g VFLS VF 11 12 DBPC 0 1 Debug Port Pins Configuration Value during Hard Reset determines the 00 RW location of the debug port pins When 00 debug port pins are on the JTAG port when 01 debug port non existent 10 Reserved when 11 debug port is on PCMCIA channel II pins 13 14 EBDF 0 1 External Bus Division Factor Value during Hard Reset determines the 00 R W factor upon which the CLKOUT of the MPC external bus is divided with respect to its internal MPC clock When 00 CLKOUT is GCLK divided by 1 when 01 CLKOUT is GCLK2 divided by 2 15 Reserved Implemented 0 R W 16 31 Reserved Un Implemented a May be read and written as any other fields and are presented at their associated data pins during Hard Reset b Applicable for MPC s revision A or above Otherwise have no influence 401403 BCSR1 Board Control Register The 50581 serves as main control register on the MPCADS It is accessed at offset 4 from BCSR base 49 Release 1 3a For More Information On This Product Go
229. q fb HOST_REQ_ACTIVE then ADS ACK ACTIVI else ADS ACK ACTIVI ET Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information Transmit Enable logic Enables transmit of serial data over DSDI and generation of serial clock over DSCK Transmission begins immediately after data written by the host is latched into the transmit shift register and ends after 7 shifts were made to th tx shift register Termination is done using a 4 bit counter TxWordLength which has a terminal count and reset TxWordEnd lt lt equations xEn ar Reset xEn clk Clk2 to provide 1 2 clock resolution state_diagram TxEn state TX_DISABLED if HOST WRITE ADI DATA amp BndTmrExp fb 6 PdaRst fb then X ENABLED else
230. r More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 13 P13 Interconnect Signals Pin No Signal Name Attribute Description B31 ETHLOOP Ethernet port Diagnostic Loop Back In fact PC4 L1RSYNCA CD4 for MPC860 When active the MC68160 EEST is configured into diagnostic Loop Back mode where the transmit output is internally fed back into the receive section Since after hard reset this line wakes up tri stated it should be initialized as output and given the desired value B32 GND C1 VCC C2 VCC C3 VCC C4 VCC C5 VCC C6 N C Not Connected C7 GND C8 GND C9 GND C10 GND C11 GND C12 GND C13 GND C14 GND C15 LD8 0 MPC821 s PD15 LD8 or MPC860 s PD15 L1TSYNCA Not used on the ADS Appears also at P11 for convenient LCD connection C16 LD7 I O MPC821 s PD14 LD7 or MPC860 s PD14 L1RSYNCA Not used on the ADS Appears also at P11 for convenient LCD connection C17 LD6 MPC821 s PD13 LD6 or MPC860 s PD13 L1TSYNCB Not used on the ADS Appears also at P11 for convenient LCD connection C18 LD5 MPC821 s PD12 LD5 or MPC860 s PD12 L1RSYNCB Not used on the ADS Appears also at P11 for convenient LCD connection C19 LDO VO MPC821 s PD7 LDO or MPC860 s PD7 RTS3 Not used on the ADS Appears also at P
231. res below TABLE 4 4 Flash Memory Performance Figures Number of System Clock Cycles System Clock Frequency MHz 50 25 Flash Delay nsec 90 120 90 120 Read Write Access Clocks 8 10 4 5 a The figures in the table refer to the actual write access The write operation continues internally and the device has to be polled for completion The programming of the associated registers is shown in 3 4 1 Memory Controller Registers Program ming on page 21 The Flash module may disabled enabled at any time by writing 1 0 the FlashEn bit in BCSR1 4 9 Ethernet Port An Ethernet port with T P 10 Base T I F is provided on the MPC821ADS This port resides over SCC1 of the MPC Use is done with Motorola s MC68160 EEST Enhanced Ethernet Serial Transceiver to mediate between the SCC and the Ethernet medium To allow external use of SCC1 its pins appear at the expansion connectors and the ethernet transceiver may be Disabled Enabled at any time by writing 1 0 to the EthEn bit in BCSR1 The EEST is configured constantly to Twisted Pair I F with automatic polarity correction enabled There are few control lines which control the EEST function and are driven by MPC s parallel MO lines 1 TPSQEL Twisted Pair Signal Quality Error Test Enable This active low signal enables testing of the internal TP collision detect circuitry after each transmit to the TP media It is connected to
232. rmation On This Product Go to www freescale com Freescale Se migonducton Ing OPERATING INSTRUCTIONS TABLE 3 11 UPMA Initializations for 60nsec EDO DRAMs 25MHz Cycle Type Single Read Burst Read Single Write Burst Write Refresh Exception Offset in UPM 0 8 18 20 30 3C Contents 0 OFFBCC04 OFFBCC04 OFEFCC04 OFEFCCOA 80FFCC84 33FFCCO7 one 1 OCF3CC04 O09F3CCOC 08AFCCO4 08AFCCOO 13FFCC04 X 2 00F3CC00 09F3CCOC 00AFCCOO 07AFCC48 FFFFCC87 X 3 33F7CC47 09F3CCOC OFBFCC47 O8AFCC48 FFFFCC05 X 4 X 08F3CC00 X O8AFCC48 X 5 X 3FF7CC47 X 39BFCC47 X 6 X X X X 7 X X X X 8 X X 9 X X A X X X B X X X C X X D X X E X X F X X 32 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing OPERATING INSTRUCTIONS TABLE 3 12 UPMA Initializations for 7Onsec EDO DRAMs 25MHz Cycle Type Single Read Burst Read Single Write Burst Write Refresh Exception Offset In UPM 0 8 18 20 30 3C Contents 0 OFFBCC04 OFFBEC04 OFEFCC04 OFEFCC04 COFFCC84 33FFCC07 one 1 4 08F3ECOA 08AFCCO4 08AFCCOO 01FFCC04 X 2 00F3CC00 03F3EC48 OOAFCCOO 07AFCC4C 7FFFCC86 X 3 33F7CC47 08F3CC00 OFBFCC47 08AFCC00 FFFFCC05 X 4 X OFF3CC4C X 07AFCC4C X 5 X 08F3CC00 X 08AFCCOO X 6 X OFF3CC4C X 07AFCC4C X 7 X 08F3CC00
233. rovided That regulator is also powered by the 5V bus The internal logic s VDD may be switched between the 3 3V bus and the 2V bus by means of a fabricated jumper 4 16 4 12V Bus The sole purpose of the 12V bus is to supply VPP programming voltage for the PCMCIA card and or to a FLASH memory residing on U15 It is connected from a dedicated input connector P8 via a fuse F2 1A fast blow and protected from over reverse voltage application by means of Zener diode and high current diodes If the PCMCIA channel is not used or if a card which doesn t require a 12V VPP is being used or the flash memory available on board does not require 12V for programming or both of them do not require program ming the 12V input to the MPCADS may be omitted 4 16 5 Keep Alive Power The reason for the existence of the KAPWR bus is to allow current measurements over that bus and to allow the connection of an external power source to the KAPWR input of the MPC As seen in FIGURE 4 8 MPC821 860ADS Power Scheme on page 60 it is possible to connect an external power source to the KAPWR rail This can be done by removing the fabricated jumper from J3 and connected an external power source between J3 2 and J3 3 A At full speed When lower performance is needed the internal logic may be powered from the 2V bus 61 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Informa
234. rt s width it is necessary to change address connections to a memory port if its width is to be changed E g if a certain memory is initially configured as a 32 bit port the list significant address line which is connected to that memory s AO line should be the MPC s ADD29 Now if that port is to be reconfigured as a 16 bit port the LS address line becomes ADD30 If a linear address scheme is to be maintained all address lines connected to that memory are to be shifted one bit this obviously involves extensive multiplexing passive or active If linear addressing scheme is not a must than only minimal multiplexing is required to support variable port width In TABLE 4 3 DRAM ADDRESS CONNECTIONS below the MPCADS s address connection scheme is presented TABLE 4 3 DRAM ADDRESS CONNECTIONS Width 32 Bit 16 Bit Depth Dram ADD 4M 1M AO BA29 BA29 A1 BA28 BA28 A2 BA27 BA27 A3 BA26 BA26 A4 BA25 BA25 A5 BA24 BA24 A6 BA23 BA23 A7 BA22 BA22 BA22 BA22 A8 BA21 BA21 BA21 BA21 A9 BA20 BA20 BA20 BA30 A10 BA19 BA30 As can seen from the table above most of the address lines remain fixed while only 2 lines the shaded cells need switching The switching scheme is shown in FIGURE 4 2 DRAM Address Lines Switching on page 42 The switches on that figure are implemented by active multiplexers controlled by the BCSR1 Dram Half Word bit A Consequent address
235. s 7 Debug port pins configuration Debug port pins are on the JTAG port 8 External Bus Division Factor 1 1 internal to external clocks ratio is selected 4 2 6 3 Soft Reset Configuration The rising edge of SRESET is used to configure the development port Before the negation of SRESET DSCKC is sampled to determine for debug mode enable disable After SRESET is negated if debug mode was enabled DSCK is sampled again for debug mode entry non entry DSDI is used to determine the debug port clock mode and is sampled after the negation of SRESET P The Soft Reset configuration is provided by the debug port controller U7 via the ADI I F When an ADI bundle is connected i e a debug station is connected debug mode is always enabled while immediate entry is determined by the debug station When a bundle is not connected to the ADI port or disconnected from the host computer debug mode is disabled by means of pulling DSCK low via a pull down resistor 4 3 Local Interrupter The only external interrupt applied to the MPC via its interrupt controller is the ABORT NMI which is gen erated by a push button SW2 When this button is depressed the NMI input to the MPC is asserted low The purpose of this type of interrupt is support the use of resident debuggers if any is made available to the MPCADS All other interrupts to the MPC are generated internally by the MPC s peripherals and by the debug port To support external o
236. s Register MPC821 Debug Port Connector DEBUG PORT CONTROLLER ADI I F ADI PORT For More Information On This Product Go to www freescale com FLASH Mem 2 8MByte DRAM 4 32 Mbyte EEST PORT 1 Infra Red Port QQ Le LCD PCMCIA RS232 PORT PORT PCMCIA Buffering amp Control PORT Release 1 3a 1 6 Freescale Se miconductor Ing ual General Information Revision Pilot to Revision A Changes DS2 which on PILOT revision was connected on SP2 with blue wires is now integrated into the PCB located nearby SP2 UA38 which on revision PILOT was glued and connected with blue wires is now integrated into the PCB Gate allocation within UA38 is different from revision PILOT to provide better PCB routing Revision code in BCSR is changed to 2 Added optional RA21 0 ohm and CA7 0 01uF for 10 Base T interface network Some SMD pads were enlarged to assist manufacturing Revision ENG to Revision PILOT Changes Added support for ads to function as debug station Added independent 20MHz clock generator for debug port controller Added MUX U38 so that internal logic is clocked by the above generator Removed pervious debug clock logic derived from CLKOUT of the MPC Added signal named CHINS CHip In Socket active low which is connected to one of the MPC s GND pins isolated from GND layer T
237. se 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Functional Description bus to provide the Hard Reset configuration for the MPC this if the Flash Configuration Enable bit in BCSR1 is not active BCSRO may be written at any time to change the Hard Reset configuration of the MPC The new values will become valid when Hard Reset is issued to the MPC regardless of the Hard Reset source The description of BCSRO bits is shown in TABLE 4 5 BCSRO Description on page 49 TABLE 4 5 BCSRO0 Description PON BIT MNEMONIC FUNCTION ATT DEF 0 ERB External Arbitration When 0 during Hard Reset Arbitration is performed 0 RW internally When 1 during Hard Reset Arbitration is performed externally 1 IP Interrupt Prefix When 0 during Hard Reset Interrupt prefix set to 0 RW OxFFF00000 if 1 Interrupt Prefix set to 0 2 Reserved Implemented 0 RW 3 BDIS Boot Disable When 0 during Hard Reset CS0 region is enabled for boot 0 RW When 1 CSO region is disabled for boot 4 5 BPS 0 1 Boot Port Size Determines the port size for CSO at boot 00 32 bit 01 00 RW 8 bit 10 16 bit 11 reserved 6 Reserved Implemented 0 RW 7 8 ISB 0 1 Initial Space Base Value during Hard Reset determines the initial base 10 RW address of the internal MPC memory map When 00 initial space at 0 when 01 initial s
238. sed on the ADS Appears also at P13 79 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 8 P10 Interconnect Signals Pin No Signal Name Attribute Description A13 GND A14 PA3 PA3 CLK5 TIN3 BRGOUTS Not used on the ADS A15 PA2 I O PA2 CLK6 TOUT3 L1RCLKB BRGCLK2 Not used on the ADS A16 GND A17 PA1 VO PA1 CLK7 TIN4 BRGO4 Not used on the ADS A18 PAO 0 PA0 CLK8 TOUT4 L1TCLKB Not used on the ADS A19 GND A20 SHIFT_C 0 MPC821 s PD3 SHIFT CLK Not used on the ADS Appears also at P11 for convenient LCD connection A21 LDO 0 MPC821 s PD7 LDO Not used on the ADS Appears also at P11 for convenient LCD connection A22 LD8 MPC821 s PD15 LD8 Not used on the ADS Appears also at P11 for convenient LCD connection A23 LD6 MPC821 s PD13 LD6 Not used on the ADS Appears also at P11 for convenient LCD connection A24 GND A25 NMI VO L Non Makable Interrupt In fact IRQO of the MPC Driven by on board logic by O D gate May be driven off board by O D gate only B1 GND B2 ETHRX y o Ethernet port Receive Data In fact PA15 RXD1 When the Ethernet port is disabled via BCSR1 may be used off board B3 GND B4 ETHTX I O Ethernet port Transmit Data In fact PA14 TXD1 When the Ethernet port is
239. st computers refer to APPENDIX C ADI Installation on page 176 2 4 7 Host computer to MPC821ADS Connection The MPC821ADS ADI interface connector P1 is a 37 pin male D type connector The connection between the MPC821ADS and the host computer is by a 37 line flat cable supplied with the ADI board FIGURE 2 12 below shows the pin configuration of the connector FIGURE 2 12 P1 ADI Port Connector ao 1 VNE Gnd 20 Gnd 21 2 DC Gnd 22 3 HST ACK Gnd 28 4 ADS SRESET Gnd 54 5 ADS HRESET Gnd 25 6 2 HOST VCC 27 8 9 HOST_REQ HOST VCC 28 10 ADS REQ HOST VCC 29 11 ADS ACK d 30 n 14 NC Gnd 33 15 NC PDO 34 16 PD1 PD2 35 PD4 36 15 FDS pos 5 18 RD od NOTE Pin 26 on the ADI is connected to 12 v power supply but it is not used in the MPC821ADS 2 48 Terminal to MPC821ADS RS 232 Connection A serial RS232 terminal or any other RS232 equipment may be connected to the RS 232 connector P3 The RS 232 connector is a 9 pin female D type connector as shown in FIGURE 2 13 The connector is arranged in a manner that allows for 1 1 connection with the serial port of an IBM AT or compatibles i e via a flat cable A IBM AT is a trademark of International Business Machines Inc 15 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Hardware Preparation and Installation FIGURE 2 13 P3 85
240. t Reference Designation Part Description Manufacturer Part R9 Resistor 5 1 KO 1 SMD 1206 RODERSTEIN D25 5K1 FCS 1 8W R10 R12 Resistor 47 KO 1 SMD 1206 KYOCERA CR32 473JT 1 8W R11 R14 R26 R32 R39 R45 R47 Resistor 150 Q 5 SMD 1206 1 BOURNS CR1206 JW 151 E R61 R62 8W R22 R23 Resistor 39 1 Q 1 SMD 1206 TYOHM RMC 12061 8W 39E 1 8W R24 R31 R37 Resistor 22 O 5 SMD 1206 1 RODERSTEIN D25 24R FCS 8W R25 R54 R66 R69 R75 R76 Resistor 1 KQ 5 SMD 1206 1 AVX CR32 102F T 8W R28 R71 Resistor 243 Q 1 SMD 1206 1 RODERSTEIN D25 243R FCS 8W R29 R30 R33 R34 R35 Resistor 330 42 5 SMD 1206 RODERSTEIN D25 332R FC5 1 8W R40 Resistor 294 Q 1 SMD 1206 TYOHM RMC 1206 294E 1 1 8W R55 R56 R59 R70 Resistor 124 KO 5 SMD 1206 RODERSTEIN D25 124K FCS 1 8W R60 Resistor 510 42 1 SMD 1206 BOURNS CR1206 JW 472bE 1 8W R65 Resistor 20 MO 596 SMD 1206 RODERSTEIN D25 020MJS 1 8W R67 Resistor 0 O SMD 1206 1 8W TYOHM RMC 1206 OE 1 R68 Resistor 200 KO 5 SMD 1206 RODERSTEIN D25 200K FCS 1 8W R72 Resistor 143 Q 5 SMD 1206 1 RODERSTEIN D25 1438 FCS 8W RN1 RN2 RN4 RN5 RN6 RN7 Resistor Network 10 KQ 5 13 DALE SOMC 14 01 103J resistors 14 pin RN3 Resistor Network 22 Q 5 8 DALE SOMC 16 03 220J resistors 16 pin SK1 Speaker piezo Sealed SOUNDTECH SEP 1162 SWI1 SPDT push button
241. t Go to www freescale com Freescale Se migonducton Ing Functional Description detect if a terminal is connected to the MPCADS board DSR O Data Set Ready This line is always asserted by the MPCADS e 5815 Request To Send This line is not connected on the MPCADS e CTS O Clear To Send This line is always asserted by the MPCADS 4 12 PCMCIA Port To enhance PCMCIA i f development a dedicated PCMCIA port is provided with the MPCADS Support is given to 5V only PC Cards PCMCIA standard 2 1 compliant All the necessary control signals are gen erated by the MPC itself To protect MPC signals from external hazards and to provide sufficient drive ca pability a set of buffers and latches is provided over address data amp strobe lines To conform with the design spirit of the ADS i e making as much as possible MPC resources available for external application development input buffers are provided for input control signals controlled by the PCC EN bit in BCSR1 so the PCMCIA port may be Disabled Enabled at any time by writing 1 0 to that bit When the PCMCIA channel is disabled its associated pins are available off board via the expan sion connectors A loudspeaker SK1 is provided on board and connected to SPKROUT line of the MPC The speaker is buffered from the MPC and low pass filtered When the PCC EN bit in BCSR1 is negated high the speaker buffer is tri stated so the SPKROUT signal of the M
242. t 3M 2 0357 08268 000 019 002 a Not Assembled 100 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se miconductor Inge nual Support Information APPENDIX A Programmable Logic Equations The MPC821ADS has 3 programmable logic devices on it Use is done with MACH220 12 by AMD These device support the following function on the ADS 1 U7 Debug Port Controller 2 U10 auxiliary board control functions e g buffers control local interrupter reset logic etc 3 U11 the BCSR 101 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information 1 7 Debug Port Controller Pda ADS Debug Port Controller Mach controller for an interface between Sun ADI port at one side to debug port at the other gt 37 In th
243. t configuration i e D 0 31 lines being driven during HARD reset an option is provided for Flash memory driven hard reset configuration l e the desired hard A It is not a dedicated button B And therefore mentioned C The MODCK lines are in fact driven longer by HRESET line D With respect the ADS s power on defaults 35 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Functional Description reset configuration word is taken from the first word of the Flash memory During hard reset this word drives the data bus to set the desired configuration To support this option CSO of the MPC should be asserted during HARD reset and the ADDRESS lines should be driven low The selection of this option is done via BCSR1 See TABLE 4 6 BCSR1 Description on page 50 The system parameters to which BCSRO defaults during power on reset and are driven at hard reset are listed below 1 Arbitration internal arbitration is selected 2 Interrupt Prefix The internal default is interrupt prefix at OXFFFO00000 It is overridden to provide interrupt prefix at address 0 which is located within the DRAM 3 Boot Disable Boot is enabled 4 Boot Port Size 32 bit boot port size is selected 5 Initial Internal Space Base Immediately after HARD reset the internal space is located at FF000000 6 Debug pins configuration PCMCIA port B pins become debug support pin
244. tate diagram RSV13 state RSV13 ACTIVE if PDA WRITE CONFIG REG amp RSV13 DATA BIT pin RSV13 ACTIVE amp KA PON RES RSV13 PON DEFAULT RSV13 ACTIVE KA PON RESET amp RSV13 PON DEFAULT RSV13 ACTIVE then RSV13 ACTIVE else RSV13 ACTIVE state RSV13 ACTIVE if PDA WRITE CONFIG REG amp RSV13 DATA BIT pin RSV13 ACTIVE amp KA PON RES RSV13 PON DEFAULT RSV13 ACTIVE KA PON RESET amp RSV13 PON DEFAULT RSV13 ACTIVE then RSV13 ACTIVE else RSV13 ACTIVE ET lt lt state diagram RSV14 state RSV14 ACTIVE if PDA WRITE CONFIG REG amp RSV14 DATA BIT pin RSV14 ACTIVE amp 1KA PON RES RSV14 PON DEFAULT RSV14 ACTIVE KA PON RESET amp RSV14 PON DEFAULT RSV14 ACTIVE then RSV14 ACTIVE else RSV14 ACTIVE state RSV14 ACTIVE if PDA WRITE CONFIG REG amp RSV14 DATA BIT pin RSV14 ACTIVE amp 1KA PON RES RSV14 PON DEFAULT RSV14 ACTIVE KA PON RESET amp RSV14 PON DEFAULT RS
245. te_diagram CntRegEn state CONT_REG_ENABLE 1 PDA_WRITE_CONTROL 5 01 6 CntRegEnProtect fb CNT REG EN PROTECT 8 CONT REG ENABLE DATA BIT pin CONT REG ENABLE amp KA PON RESET 4 CONT REG ENABLE PON DEFAULT CONT REG ENABLE KA PON RESET amp CONT REG ENABLE PON DEFAULT CONT REG ENABLE then CONT REG ENABLE else CONT REG ENABLE state CONT REG ENABLE in fact not applicable if PDA WRITE CONTROL REG1 CONT REG ENABLE DATA BIT pin CONT REG ENABLE amp KA PON RESET CONT REG ENABLE PON DEFAULT CONT REG ENABLE KA PON RESET amp CONT REG ENABLE PON DEFAULT CONT REG ENABLE then CONT REG ENABLE else 168 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se micenductor Ing nual Support Information CONT REG ENABLE VE ck ck kk KKK KKK KKK KKK kk CK KKK KK KK KK state_diagram
246. the ADS Appears also at P11 for convenient LCD connection 83 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 8 P10 Interconnect Signals Pin No Signal Name Attribute Description D23 LD4 IO MPC821 s PD11 LD4 Not used on the ADS Appears also at P11 for convenient LCD connection D24 GND 8 D25 IRQ1 LL Interrupt Request 1 Pulled up but otherwise not used on the ADS a There is also a visible collision indication b Be aware that TRST is connected to GND with a zero ohm resistor TABLE 5 9 P12 Interconnect Signals Pin No Signal Name Attribute Description A1 GND 2 A2 GND A3 GND A4 GND A5 GND A6 GND A7 GND 5 A8 D3 IO MPC s data line 3 AQ DO MPC s data line 0 A10 GND A11 D19 I O MPC s data line 19 A12 D16 I O MPC s data line 16 A13 GND 5 A14 D11 0 MPC s data line 11 A15 D8 0 MPC s data line 8 A16 GND 5 7 D27 MPC s data line 27 A18 D25 I O MPC s data line 25 A19 GND A20 EXTOLI1 External Tool Identification 1 Connected to BCSR2 See 4 14 4 BCSR2 Board Status Register 1 on page 51 A21 EXTOLIO External Tool Identification 0 Connected to BCSR2 See 4 14 4 BCSR2 Board Status Register 1 on page 51 84 Release 1 3a For More Informa
247. tion 5 Support Information In this chapter all information needed for support maintenance and connectivity to the MPC821ADS is pro vided 5 1 6 0 Interconnect Signals The MPC821ADS interconnects with external devices via the following set of connectors P1 ADI Port connector P2 Ethernet port P3 RS232 port P4 PCMCIA port P5 External Debug port controller input P6 P9 P10 amp P12 Expansion amp Logic Analyzer connection P7 5V Power In P8 12V Power In P11 LCD port 10 P13 Serial Expansion connector 5 1 1 P1 ADI Port Connector The ADI port connector P1 is a 37 pin Male 90 D Type connector signals of which are described in TABLE 5 1 P1 ADI Port Interconnect Signals below TABLE 5 1 P1 ADI Port Interconnect Signals Pin No Signal Name Description 1 Not connected with this application 2 D C Data Control selection When 1 the debug port controller s data register is accessed when 0 the debug port controller s control register is accessed 3 HST ACK Host Acknowledge input signal from the host 4 ADS SRESET When asserted 1 and the ads is selected by the host generates Soft Reset to the MPC 5 ADS HRESET When asserted 1 and the ads is selected by the host generates Hard Reset to the MPC 6 ADS SEL2 ADI I F address line 2 MSB 7 ADS SEL1 ADI I F address line 1 8 ADS SELO
248. tion There are 3 kinds of reset levels to the MPC each level having its own configuration sampled 1 Power On Reset configuration 2 Hard Reset configuration 3 Soft Reset Configuration 4 2 6 1 Power On Reset Configuration Just before PORESET is negated by the external logic the power on reset configuration which include the MODCK 1 2 pins is sampled These pins determine the clock operation mode of the MPC Two clock modes are supported within the MPC821ADS 1 1 5 PLL operation via on board clock generator In this mode MODCK 1 2 are driven with 11 during power on reset 2 1 513 PLL operation via on board clock generator In this mode MODCK 1 2 are driven with 10 during power on reset 4 2 6 2 Hard Reset Configuration During HARD reset sequence when RSTCONF pin is asserted the data bus state is sampled to acquire the MPC s hard reset configuration The reset configuration word is driven by BCSRO register defaults of which are set during power on reset The BCSRO drives the half configuration word i e data bits D 0 15 in which the reserved bits are designated RSRVxx If the hard reset configuration is to be changed BCSRO may be written with new values which become valid after HARD reset is applied to the ADS On the MPCADS the RSTCONF line is always driven during HARD reset i e no use is possible with the MPC s internal HARD reset configuration defaults To allow user programmable full word hard rese
249. tion On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 9 P12 Interconnect Signals 85 Pin No Signal Name Attribute Description A22 EXTOLI3 External Tool Identification 3 Connected to BCSR2 See 4 BCSR2 Board Status Register 1 on page 51 A23 GND s A24 GND A25 GND 5 B1 GND B2 GND B3 GND 2 B4 GND E B5 GND B6 GND B7 D6 1 0 MPC s data line 6 B8 D4 1 0 MPC s data line 4 B9 GND 5 B10 D22 IO MPC s data line 22 B11 D20 1 0 MPC s data line 20 12 GND B13 D14 IO MPC s data line 14 B14 D12 y o MPC s data line 12 B15 GND x B16 D30 1 0 MPC s data line 30 B17 D28 MO MPC s data line 28 B18 GND B19 EXTOLI2 External Tool Identification 2 Connected to BCSR2 See 4 BCSR2 Board Status Register 1 on page 51 B20 FCFGEN O L Flash Configuration Enable Connected to BCSR1 58689 3 BCSR1 Board Control Register on page 49 B21 PCVCCON O L PCMCIA Card VCC ON Connected to BCSR1 See 4 14 3 BCSR1 Board Control Register on page 49 B22 GND B23 IRD_EN O L Infra Red Enable Connected to BCSR1 See 4 14 3 80581 Board Control Register on page 49 B24 PCCVPP1 0 PCMCIA Card VPP control 1 Connected to 205701 See 493 BCSR1 Board Control Register on page 49 Release 1 3a For More Information On This Product
250. tion Part Description Manufacturer TABLE 5 14 MPC821ADS Part List Part C1 C4 C5 C8 C10 C12 C14 C16 Capacitor 0 1uF SMD 1206 SIEMENS B37872 K5104K C19 C21 C22 C23 C24 C25 C26 Ceramic C27 C28 C29 C30 C32 C33 C34 C35 C36 C38 C39 C40 C41 C42 C45 C46 C47 C48 C49 C50 C51 C52 C53 C54 C56 C57 C58 C59 C60 062 063 C64 C65 C66 7 C68 C69 C70 C71 C72 C73 C74 C76 C77 C78 C81 C82 C83 C84 C87 C88 C89 C93 C94 C95 C96 C99 C2 Capacitor 10nF 50V 10 NPO VITRAMNON VJ1210A103KXAT SMD 1210 Ceramic 95 Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Support Information TABLE 5 14 MPC821ADS Part List Reference Designation Part Description Manufacturer Part C3 Capacitor 4 7uF 20V 10 SMD SIEMENS B45196 H4106 K30 Size B Tantalum C6 C13 C15 C17 C18 C90 C91 Capacitor 10uF 20V 10 SMD SIEMENS B45196 H4475 K20 C98 Size C Tantalum C7 Capacitor 100pF 50V 10 SMD SIEMENS B37871 K5101K 1206 Ceramic C9 C11 C55 C97 Capacitor 100uF 10V 10 SMD SIEMENS B45196 H2107 K10 Size D Tantalum C20 061 C80 C92 Capacitor 1uF 25V 10 SMD SIEMENS B45196 H5105 K10 Size A Tantalum C31 C37 Capacitor 68pF 50V 5 SMD SIEMENS B37871 K5680J 1206 Ceramic C43 Capacitor 3900pF 50V 5 SIEMENS B37949 K5392J COG SMD 1210 Ceramic C44 Capacitor 0 039uF 50V 5
251. tion of the board 3 2 CONTROLS AND INDICATORS The MPC821ADS has the following switches and indicators 3 2 1 SOFT RESET Switch SW1 The SOFT RESET switch SW1 performs Soft reset to the MPC internal modules maintaining MPC s configuration clocks amp chip selects and dram contents The switch signal is debounced and it is not possible to disable it by software At the end of the Soft Reset Sequence the Soft Reset Configuration is sampled and becomes valid 3 22 ABORT Switch SW2 The ABORT switch is normally used to abort program execution this by issuing a level 0 interrupt to the MPC If the ADS is in stand alone mode it is the responsibility of the user to provide means of handling the interrupt since there is no resident debugger with the MPC821ADS The ABORT switch signal is debounced and can not be disabled by software 3 2 3 HARD RESET Switches SW1 amp SW2 When BOTH switches SW1 and SW2 are depressed simultaneously HARD reset is generated to the MPC When the MPC is HARD reset all its configuration is lost including data stored in the DRAM and the MPC has to be re initialized At the end of the Hard Reset sequence the Hard Reset Configuration stored in BCSRO becomes valid 3 24 DS2 Software Options Switch DS2 is a 4 switches Dip Switch mounted over SP2 This switch is connected over EXTOLI 0 3 lines and since EXTOLI 0 3 lines are available at BCSR S W options may be manually selected according to DS2
252. ucton Ing Functional Description tocol However the local debug port controller uses this signal for compatibility with MPC5XX existing boards and s w 4 15 3 3 SRESET This is the Soft Reset bidirectional signal of the MPC8XX On the MPC5XX it is an output The debug port configuration is sampled and determined on the rising edge of SRESET for both processor families On the MPC8XX it is a bidirectional signal which may be driven externally to generate soft reset sequence This signal is in fact redundant regarding the MPC8XX debug port controller since there is a soft reset command integrated within the debug port protocol However the local debug port controller uses this signal for compatibility with MPC5XX existing boards and s w 4 15 3 4 DSDI Debug port Serial Data In Via the DSDI signal the debug port controller sends its data to the MPC The DSDI serves also a role during soft reset configuration See 4 2 6 3 Soft Reset Configuration on page 36 4 15 3 5 DSCK Debug port Serial Clock During asynchronous clock mode the serial data is clocked into the MPC according to the DSCK clock The DSCK serves also a role during soft reset configuration See 4 2 6 3 Soft Reset Configuration on page 36 4 15 3 6 DSDO Debug port Serial Data Out DSDO is clocked out by the MPC according to the debug port clock in parallel with the DSDI being clocked in The DSDO serves also as READY signal for the debug port controll
253. ug Port Controller For Target System Operation Scheme Target System 10 Wire Flat Cable 5V Power Suppl AR MPC Removed From Socket 24 3 Stand Alone Operation In this mode the board is not controlled by the host via the ADI Debug port It may connect to host via one of its other ports e g RS232 port I R port Ethernet port etc Operating in this mode requires an appli cation program to be programmed into the board s Flash memory while with the host controlled operation no memory is required at all Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Hardware Preparation and Installation FIGURE 2 9 Stand Alone Configuration Host Computer 5V Power Suppl 2 4 4 5V Power Supply Connection The MPC821ADS requires 5 Vdc 5 A max power supply for operation Connect the 5V power supply to connector P7 as s
254. urce e Power On Reset Source e MPC Keep Alive Power Source e MPC Internal Logic Supply Source Release 1 3a For More Information On This Product Go to www freescale com Freescale miconductor Ing nual Hardware Preparation and Installation FIGURE 2 1 MPC821ADS Top Side Part Location diagram U1 P4 SOFT 7 1 pa x SW1 RESET 1 2 RDI PORT 1 8 2 1 5 RS232 RUN P2 ETHERNET US 7 P5 U6 IM N Mj FLASH 68 4 P4 PCMCIA PORT 35 1 A pm 5 7 L 60 52 44 52 44 ND 5 68 ug U3 a DRAM ON LD5 LD6 LD7 61 43 8 6 3 39 U9 27 Zi ETH ON 48 26 SW2 ABORT RX TX JABB 4 a5 2 028 g LD9 LD11 52 14 Pan RERS CLSN PLR LIL 1 3 27 SN 5 R5232 GND U10 5 U7 P6 ADDRESS amp STROBES 16 8 m m 5 PCMCIA 8 26 D Motorola INC 0 U16 SK1 U15 MPC821 860RDS N
255. used to sync pda reset signals inside Added consideration for reset generated by the pda when pda is reset i e its hard soft reset signals are asserted m it is not allowed for the host to initiate data transfer towards the pda Te It can however access the control status register to either change TX parameters and or check for status x The status of reset signals is added to the status register so it can T be polled by the host module dbg prt6 title MPC821ADS Debug Port Controller Device declaration
256. via the BCSR and since they may be disabled in favor of external hardware the enable signals for these modules are presented at the expansion connector so that off board hardware may be exclusive or enabled with on board modules 4 14 1 BCSR Disable Protection Logic The BCSR itself may be disabled in favor of off board logic To avoid accidental disable of the BCSR an event from which only power down recovers a protection logic is provided The BCSR_EN bit resides on BCSR1 This bit wakes up active low during power up and may not be changed unless BCSR_EN_PROTECT bit in BCSR3 is written with 1 previously After the BCSR_EN_PROTECT is written with 1 to unprotect the BCSR_EN bit there is only one shot at disabling the BCSR since immediately after any write to BCSR1 BCSR_EN_PROTECT is re activat ed and BCSR EN is re protected and the disabling procedure has to be repeated if desired 4 14 2 BCSRO Hard Reset Configuration Register 80580 is located at offset 0 on BCSR space It may be read or written at any time BCSRO gets its defaults upon MAIN Power On reset During Hard Reset data contained in BCSRO is driven on the data A In fact only the upper 16 bits D 0 15 are used but the BCSR is mapped as a 32 bit wide register and should be accessed as such B Provided that support is provided also within the MPC C It may be written but will not be influenced D Provided that BCSR is not disabled 48 Relea
257. with OE ALE_A WAIT A IOIS16 A RDY BSY A BVD 1 2 A CD 1 2 A VS 1 2 A SPKROUT Dc HIE Release 1 3a For More Information On This Product Go to www freescale com Freescale Se migonducton Ing Functional Description 4 14 Board Control 8 Status Register BCSR Most of the hardware options on the MPCADS are controlled or monitored by the BCSR which is a 32 bit wide read write register The BCSR is accessed via the MPC s CS1 region and in fact includes 4 registers 0050 to BCSR3 Since the minimum block size for a CS region is 32KBytes BCSRO BCSR3 are multiply duplicated inside that region See also 3 3 MEMORY MAP on page 20 The following functions are controlled monitored by the BCSR 1 MPC s Hard Reset Configuration Flash Module Enable Disable Dram Module Enable Disable Dram port width 32 bit 16 bit Ethernet port Enable Disable Infra Red port Enable Disable 0 N OO fF Oo Im RS232 port Enable Disable BCSR Enable Disable Hard Reset Configuration Source BCSRO Flash Memory PCMCIA control which include Channel Enable Disable e PC Card VCC appliance e PC Card VPP appliance 11 Dram Type Size and Delay Identification 12 Flash Size Delay Identification 13 External off board tools identification or S W option selection switch DS2 status oOo 1 Since most of the MPCADS s modules are controlled
258. ww freescale com Freescale Se migonducton Ing Functional Description TABLE 4 6 BCSR1 Description PON BIT MNEMONIC Function ATT DEF 8 PCCEN PC Card Enable When asserted low the on board PCMCIA channel is 1 RW enabled i e address and strobe buffers are enabled to from the card When negated all buffers to from the PCMCIA channel are disabled allowing off board use of its associated lines 9 PCCVCCON Pc Card VCC ON When this bit is active low 5V supply is applied to the 1 RW PCMCIA socket When inactive VCC to the PCMCIA channel is tri stated 10 11 PCCVPP 0 1 PC Card VPP These signals determine the voltage applied to the PCMCIA 1 RW card s VPP Possible values are 0 5 12 V For the encoding of these lines and their associated voltages see TABLE 4 7 PCCVPP 0 1 Assignment on page 51 12 Dram Half Word Dram Half Word When this bit is active low and the steps listed in 4 7 1 1 RW DRAM 16 Bit Operation on page 38 are taken the DRAM becomes 16 bit wide When inactive the DRAM is 32 bit wide 13 31 Reserved Un implemented a In case a Single Bank DRAM SIMM is used CS3 is free as well b Provided that this option is supported by the MPC by driving address lines low and asserting CSO during Hard Reset c It is written in BCSR3 4 14 4 TABLE 4 7 PCCVPP 0 1 Assignment PccvPP o 1 PC 0 VPR a Provided that a 12V power supply is

Download Pdf Manuals

image

Related Search

Related Contents

FR300 - Francis Searchlights  Système de manutention: Tapiris  procedimiento de instalación  クリップフック く取扱説明書)  Bedienungsanleitung Operating Instructions Mode d'emploi  Samsung 2333TN Керівництво користувача  OPERATING INSTRUCTIONS  STATION DE TEMPERATURE SANS FIL 868 MHz  アイシングシステム専用バッド  MANUALE D`USO  

Copyright © All rights reserved.
Failed to retrieve file