CS 452/652 Fall 2019 - Lecture 2

September 6, 2019 prev next

Memory Layout

Timers

Serial Interface (UART)

  • Chapter 14 in EP93xx User Guide
  • character device: 1 byte at a time
  • UART1 = COM1, train control, 2400 baud, 8N2, flow control
  • UART2 = COM2, terminal, 115200 baud, 8N1, no flow control
  • transmit and receive FIFO: throughput vs. latency trade-off

    Track/Train Specifics

  • train speed: 0-14; 15 for reverse
  • turnout commands: straight, curved
  • special command: turn off (last) solenoid
  • sensors: query some/all, reset

    Notes for Assignment 0