9.2.6 Usage

  1. Build the program and download it into the evaluation board.

  2. On the computer, open, and configure a terminal application (e.g., HyperTerminal on Microsoft® Windows®) with these settings:
    • 115200 baud

    • 8 bits of data

    • No parity

    • 1 stop bit

    • No flow control

  3. Start the application.

  4. In the terminal window, the following text should appear:
    * -- ACIFC IRQ Example xxx --
    * -- xxxxxx-xx
    * -- Compiled: xxx xx xxxx xx:xx:xx -- 
    
  5. The application will output a different message if the voltage on pin. PA06 is lower or higher than the voltage on pin PA07 :
    -ISR- Voltage Comparison Result: ACAP0 > ACAN0 
    
    or
    -ISR- Voltage Comparison Result: ACAP0 < ACAN0