lab5_parallelIOspr

lab5_parallelIOspr - Microprocessor Lab - Parallel I/O...

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

View Full Document Right Arrow Icon
Microprocessor Lab --- Parallel I/O Using parallel I/O port drive LED 1. Equipment M68HC12EVB Personal Computer 2. Components 1 – Dual digit 14-segment LED, common anode 8 – 360 Ω resisters 3. Introduction The 68HC12 microcontroller contains four I/O ports. The pins used by these ports are shared with other chip functions. These ports, therefore, can not be used indiscriminately. Port A contains three input bits, four output bits, and one bidirectional bit. Port B contains eight output bits. Port C consists of eight bidirectional bits. Ports B and C are not available in expanded mode unless a 68HC24 port replacement unit is used. Port D has six bidirectional bits and shares output pins with the SCI and SPI subsystems of the 68HC12. Port E consists of eight input bits and shares pins with the analog to digital conversion subsystem. 4. Procedure Connect the circuit as shown in Figure 1 and Figure 2. (Note: you may not need to wire a resistor between each parallel data pin). Write a Program that will read a single digit
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

lab5_parallelIOspr - Microprocessor Lab - Parallel I/O...

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

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