Intel® Core™-based Single Board Computer with
Dual Ethernet, Video, USB, S A TA, Serial I/O,
Digital I/O, Trust ed P latform Module security,
Counter/Timers, Mini PCIe, mSATA, SPX, and
Although every effort has been made to ensure this document is error-free, VersaLogic makes no representations or
warranties with respect to this product and specifically disclaims any implied warranties of merchantability or fitness
for any particular purpose.
VersaLogic reserves the right to revise this product and associated documentation at any time without obligation to
notify anyone of such changes.
*
Other names and brands may be claimed as the property of others.
Lion (VL-EPMe-42) Programmer’s Reference Manual ii
Product Release Notes
Release 1.3- Updated Uartmode1 – Uart Mode Register #1 section
Release 1.2- Added descriptions to the FPGA table
Release 1.1- Updated Processor Wake# section
Release 1.0- Initial Production Draft
Support
The EPMe-42 support page contains additional information and resources for this product including:
Reference Manual (PDF format)
Operating system information and software drivers
Data sheets and manufacturers’ links for chips used in this product
BIOS information and upgrades
Utility routines and benchmark software
The VersaTech KnowledgeBase is an invaluable resource for resolving technical issues with
your VersaLogic product.
VersaTech KnowledgeBase
Lion (VL-EPMe-42) Programmer’s Reference Manual iii
Industrial I/O Functions and SPI Interface ....................................................................... 34
Programmable LED .......................................................................................................... 34
Lion (VL-EPMe-42) Programmer’s Reference Manual iv
1
1
This document provides information for users requiring register-level information for develop ing
applications as it relates the FPGA functionality with the VL-EPMe-42.
Related Documents
The following documents available are on the EPMe-42 Product Support Web Page:EPMe-42 Hardware Reference Manual – provides information on the board’s hardware features
including connectors and all interfaces.
EPMe-42 BIOS Reference Manual – provides information on acc essing and configuring s ettings in the
BIOS Setup utility. All BIOS menus, submenus, and configuration options ar e described.
This document is available through the software page:
VersaAPI Installation and Reference Guide – d escribes the shared library of API calls for reading
and contro l ling on-board devices on certain VersaLogic products.
Overview
Lion (VL-EPMe-42) Programmer’s Reference Manual 1
2
Memory Map
Table 1: Memory Map
00000h – 9FFFFh Legacy system (DOS) area
A0000h – B7FFFh ISA memory area (VGA f rame buffer is not accessible)
B8000h – BFFFFh Text mode buffer
C0000h – CFFFFh Video BIOS area
D0000h – DFFFFh PCI ROM expansion area
E0000h – FFFFFh Legacy BIOS (reserved)
Interrupts
System Resources and Maps
Address Range Description
The LPC SERIRQ is used for interrupt interface to the Kaby Lake SoC.
Each of the following devices can have an IRQ interrupt assigned to it and each with an interrupt enable
control for IRQ3, IRQ4, IRQ5, IRQ6, IRQ7, IRQ9, IRQ10, and IRQ11:
8254 timers (with three interrupt status bits)
8 AUX GPIOs (with one interrupt status bit)
COM 1 UART (with 16550 interrupt status bits)
COM 2 UART (with 16550 interrupt status bits)
Watchdog timer (one interrupt status bit)
SPX expansion interface (interrupt sta tus is determined by the devices on this interface). The interface
supports two interrupts.
Thermal event and battery-low interrupts
Note:
The EPMe-42 also has two COM ports (COM3, COM4) that are supported by the HSUARTs in the
processor.
The FPGA supports 11 interrupts via the LPC SERIRQ interface: IRQ3, IRQ4, IRQ5, IRQ 6, IRQ7, IRQ9,
IRQ10, IRQ11, IRQ12, IRQ14, and IRQ15. There is an interrupt enable control for each and by default
they are all disabled.
Common interrupts can be assigned to multiple devices (this is common on UARTs being handled by a
common ISR).
Interrupt status bits for everything except the UARTs will “stick” and are cleared by a “write-one” to a
status register bit. The 16550 UART interrupts behave as defined for the 16550 registers and are a passthrough to the LPC SERIRQ.
Per the VersaAPI standard, anytime an interrupt on the SERIRQ is enabled, the slot becomes active. All
interrupts in t he SERIRQ are high-true so when the slot becomes active, the slot will be low when there is
no interrupt and high when there is an interrupt.
Lion (VL-EPMe-42) Programmer’s Reference Manual 2
Table 2: I/O Map
I/O Address Range Device/Owner
2F8h – 2FFh COM2 serial port default
3B0h – 3DFh Legacy VGA registers
3F8h – 3FFh COM1 serial port default
400h – 47Fh ACPI / P ower m anagement (reserved)
500h – 5FFh PCH GPIO (reserved)
C80h – CBBh EPMe-42 FPGA Board Control Registers
CBCh – CBFh EPMe-42 FPGA 8254 Timer Registers
System Resources and Maps
Lion (VL-EPMe-42) Programmer’s Reference Manual 3
3
FPGA I/O Space
The FPGA is mapped into I/O space on the LPC bus. The address range is mapped into 64 byte I/O
window.
FPGA access: LPC I/O space
FPGA access size: All 8-bit byte accesses (16-bit like registers are aligned on 16-bit word boundaries
to make word access possible in software but the LPC bus still splits the accesses into two 8-bit
accesses)
FPGA address range: 0xC80 to 0xCBF (64-byte window)
The three 8254 timers only require four bytes of addressing and are located at the end of the 64-byte I/O
block. The only requirement is that the base address must be aligned on a 4-byte block. Table 4 lists the
FPGA’s I/O map.
R/WC Read-status/Write-1-to-Clear
RSVD Reserved. Only write 0 to this bit; ignore all read values.
Product Information Registers
This register drives the PLED on the paddleboard. It also provides read access to the product code.
Table 4: PCR – Product Code and LED Register
Bit Identifier Access Default Description
7 PLED R/W 0
FPGA Registers
Drives the programm abl e LED on the paddleboard.
0 – LED is off (default)
6-0 PRODUCT_CODE
RO
0010101 P roduct Code for the EPMe-42 (0x15)
Table 5: PSR – Product Status Register
Bit Identifier Access Default Description
7:3 REV_LEVEL[4:0]
2 EXTEMP
1 CUSTOM
0 BETA
RO
RO
RO
RO
N/A
N/A
N/A
N/A
Revision level of the PLD (incremented every FPGA release)
Extended or Standard Temp Status (set via external resistor):
0 – Standard Temp
1 – Extended Temp (probably always set)
Custom or Standard Product Status
0 – Standard Product
Beta or Production Status
1 – Beta (or Debug)
0 – Production
Lion (VL-EPMe-42) Programmer’s Reference Manual 8
Loading...
+ 26 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.