![Lattice Semiconductor MachXO2-4000HC Скачать руководство пользователя страница 5](http://html1.mh-extra.com/html/lattice-semiconductor/machxo2-4000hc/machxo2-4000hc_user-manual_3838179005.webp)
5
MachXO2-4000HC Control Development Kit
User Guide
Figure 3. HyperTerminal User Menu
Users interact with LatticeMico8 microcontroller and the board by selecting the available options in the Terminal
emulator menu. The available options are:
• ‘
m
’ – This option will re-display the main menu anytime during the demonstration.
• ‘
a
’ – This option will sample the voltage in the pin #2 of header J9. By default, the node is biased at 1.65 V, which
is half of the VCCIO = 3.30 V. The voltage will be displayed in the HyperTerminal window. The ADC input voltage
should be limited to the range 0 to 3.0 V to avoid device damage.
• ‘
s
’ – This option will read the device ID of the SPI Flash on the board and display it in the HyperTerminal. The
resulting ID is hexadecimal 0x44, which corresponds to AT25DF041A device.
• ‘
t
’ – This option samples and displays the elapsed time since the reset was de-asserted.
• ‘
r
’ - This option samples the DIP switches (reference designator SW1) on the board and displays the data in the
HyperTerminal. Users can change the DIP switches on the board and press ‘r’ to display the new value.
• “
0-9
” – These are BCD numerical values that can be typed on the keyboard. The value will be received by
LatticeMico8, which will update the LEDs (D0-D3) on the board.
• ‘
l
’ – This is a lower case ‘L’ character. Pressing ‘l’ will sample the voltage in pin #2 of header J9 and log the data
in the SPI Flash device on the board. The WRITE page pointer will increment when ‘l’ is pressed. The initial value
of the page pointer after power-up or after a reset is 0.
• ‘
d
’ – This option will read the data from SPI Flash device and display it on the HyperTerminal window. The READ
page pointer will increment when ‘d’ is pressed. The initial value of the page pointer after power-up or after a
reset is 0.
• ‘
c
’ – This option will clear (reset) the WRITE and READ page pointers.
• ‘
e
’ – This selection will perform a bulk-erase of the Flash memory in the SPI Flash device.