EE 308
Course Review
- Arithmetic
- Binary, Hex
- Decimal to Hex, Hex to Decimal conversion
- Unsigned, Signed (Two's Complement)
- Carry (Borrow)
- Overflow
- Addressing Modes
- INH
- IMM
- DIR
- EXT
- INDX, INDY
- REL
- HC11 Instructions
- HC11 Machine Code
- Decoding HC11 Instructions (op-code to instruction cross reference
table)
- Execution cycles
- Instruction timing
- Programming
- Assembly (know how to read, will not ask for program to be written in
assembly)
- C
- Arithmetic
- Loops
- Arrays
- Subroutines
- What happens to stack, SP, PC
- What happens on RTS
- Interrupts
- How to enable
- Masks for specific interrupts (e.g., SPIE, RTII, IC2I)
- I-bit of CCR
- X-bit of CCR
- What happens to stack, SP, PC, CCR
- What are interrupt vectors, and how do you set them.
- How to write an interrupt service routine.
- How to clear interrupt flags
- Expanded mode bus
- Bus Timing
- Interfacing
- Address Decoding
- Address Demultiplexing
- Parallel I/O
- Single Chip
- Port B - output
- Port C - input or output (DDRC)
- Expanded mode - 68B21 PIA
- DDRA, DDRB access
- CRA1, CRA2, CRB1, CRB2 setup
- Handshaking
- Interrupts and clearing interrupt flags
- Timer Subsystem
- Timer Overflow
- Real Time Interrupt
- Input Capture
- Output Compare
- Serial Peripheral Interface (SPI)
- Master and Slave Modes
- CPHA, CPOL
- Clock Speed selection and setup
- Slave Select procedures
- Writing and reading SPI -- SPDR and waiting for transfer to finish
- Interrupts
- Setting and clearing SPIF
- 68HC68T1 Real Time Clock
- Registers - writing and reading
- Control Register -- crystal speed select, output select
- Interrupt control register -- periodic interrupt enable
- Clearing interrupts
- Serial Communications Interface (SCI)
- Baud Rate
- Enabling transmitter and receiver
- TDRE and RDRF bits of SCSR
- Clearing TDRE and RDRF flags
- A/D converter
- Power on
- Timing
- Setup
- Single vs. multiple channel (MULT bit of ADCTL)
- 4 conversions vs. continuous conversions (SCAN bit of ADCTL)
- CCF - how is it set and cleared