1 / 14

ECE 521 Microprocessor Systems

ECE 521 Microprocessor Systems. UiTM MOTOROLA 68000 DIO TRAINER BOARD. INPUT/OUTPUT CONNECTOR. BOTTOM LAYER. TOP LAYER. ROM AT28C64B (ATMEL). Voltage regulator. 40 ways I/O Connector. Halt / Error LED. EVEN ROM. EVEN RAM. +12V Dc Power Socket. Power LED. Crystal Oscillator 10MHz.

vinny
Download Presentation

ECE 521 Microprocessor Systems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ECE 521Microprocessor Systems

  2. UiTM MOTOROLA 68000 DIO TRAINER BOARD

  3. INPUT/OUTPUT CONNECTOR BOTTOM LAYER TOP LAYER

  4. ROM AT28C64B (ATMEL) Voltage regulator 40 ways I/O Connector Halt / Error LED EVEN ROM EVEN RAM +12V Dc Power Socket Power LED Crystal Oscillator 10MHz RESET BUTTON MOTOROLA 68000 MICROPROCESSOR ODD ROM ODD RAM

  5. 40-PIN IDE CABLE INPUT/OUTPUT INTERFACE CIRCUIT 68000 DIO TRAINER BOARD

  6. HOW TO DESIGN INPUT/OUTPUT INTERFACE CIRCUIT

  7. EXAMPLE – CONNECTION TO LATCH TURN ON LED1 ORG $0 DC.L $204000 DC.L START ORG $400 START MOVE.B #$FD,$600000 END START TURN ON LED2 LED1 LED2 ORG $400 MOVE.B #%11111011,$600000 END START • Note : • MAIN PROGRAM START FROM ADDRESS $400 • RAM ADDRESS START FROM $200000 All Vcc and Gnd should be connected to here

  8. EXAMPLE – CONNECTION TO BUFFER ORG $0 DC.L $204000 DC.L START ORG $400 START MOVE.W $A00000,D0 AND.B #$01,D0 CMP.B #0,D0 BEQ SWITCH BRA START SWITCH DO SOMETHING ….. ….. ….. BRA START END START All Vcc and Gnd should be connected to here

  9. EXAMPLE – CONNECTION TO MORE THAN 1 I/O INTERFACE • ORG $0 • DC.L $204000 • DC.L START • ORG $400 • BUFFER EQU $400000 • LATCH EQU $800000 • START MOVE.W BUFFER,D0 • MOVE.B D0, LATCH • BRA START • END START

  10. EXAMPLE – CONNECTION TO PIT 68230 D0-D7 D0-D7 PA0-PA7 DTACK* DTACK* PB0-PB7 R/W* R/W* CLK CLK PC0-PC7 RESET* RESET* A6-A23 MAD CS* (Register select pins) RS1-RS5 A1-A5 M68k M68230

  11. EXAMPLE – CONNECTION TO PIT 68230

  12. EXAMPLE – CONNECTION TO PIT 68230 (PROGRAMMING) ORG $0 DC.L $204000 DC.L START ORG $400 BUFFER EQU $X00000 ; Yx OF YOUR CHOICES LATCH EQU $X00000 ; Yx OF YOUR CHOICES LED EQU $X00000 ; Yx OF YOUR CHOICES PGCR EQU $C00001 ; REFER TO 68230 DATASHEET PACR EQU $C0000x ; REFER TO 68230 DATASHEET PBCR EQU $C0000x ; REFER TO 68230 DATASHEET …. …. INIT MOVE.B #$00,PGCR ; PORT INITIALIZATION ROUTINE MOVE.B #$80,PACR ; FOR 68230 PI/T MOVE.B #$80,PBCR …. …. START MOVE.B #$55,LATCH ; MAIN PROGRAM STARTS HERE… …. …. END START

  13. The End

More Related