AN 265: Using Altera MAX Series as Microcontroller I/O Expanders

ID 683386
Date 9/22/2014
Public

1.5.2. Simulating Microcontroller I/O Expander Read Mode Timing

Figure 3. Read Mode Timing Simulation of the Microcontroller I/O Expander


  1. With all the I/O pins in tri-state mode, initialize each port.
  2. After initialization, configure ports A, B, C, D as input.
  3. Enable port C for read operation.
    When RD asserts a low signal, the clock through the input data registers is enabled and creates a new output value (214) at the MCU port from port C.
  4. Once the LOAD signal asserts low, enable port D.
    When the RD signal is low to enable the clock through the input data registers, port D data (146) is created at the MCU port.