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.
PC/104, PC/104-Plus, and the PC/104 logo are trademarks of the PC/104 Consortium.
EPU-3311 Programmer’s Reference Manualii
Product Release Notes
VersaTech KnowledgeBase
Release 1.3
Updated the Uartmode1 – Uart Mode Register #1 section
Release 1.2
Updated the UART Base Addresses in Tables 23 and 24.
Release 1.1
Updated Related Documents section.
Release 1
First release of this document.
Support
The EPU-3311 support page, at www.versalogic.com/private/ospreysupport.asp 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.
This document provides information for users requiring register-level information for developing
applications with the VL-EPU-3311.
Related Documents
The following documents available are on the EPU-3311 Product Support Web Page:
VL-EPU-3311 Hardware Reference Manual – provides information on the board’s hardware
features including connectors and all interfaces.
This document is available through the software page:
VersaAPI Installation and Reference Guide – describes the shared library of API calls for
reading and controlling on-board devices on certain VersaLogic products.
Introduction
EPU-3311 Programmer’s Reference Manual1
Address Range
Device
Size
0x1C80 – 0x1CBB
FPGA registers
60 bytes
0x1CBC – 0x1CBF
8254 timer address registers
4 bytes
2
Interrupts
The LPC SERIRQ is used for interrupt interface to the BayTrail 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)
8x GPIOs (with one interrupt status bit per GPIO)
COM 1 UART (with 16550 interrupt status bits)
COM 2 UART (with 16550 interrupt status bits)
Watchdog timer (one status bit)
Common interrupts can be assigned to multiple devices if software can deal with it (this is
common on UARTs being handled by a common ISR).
System Resources
Interrupt status bits for everything except the UARTs will “stick” and are cleared by a “writeone” to a status register bit. The 16550 UART interrupts behave as defined for the 16550
registers and are a pass-through to the LPC SERIRQ.
Per the VersaAPI standard, anytime an interrupt on the SERIRQ is enabled, the slot becomes
active. All interrupts in the 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.
FPGA I/O Space
The FPGA is mapped into I/O space on the LPC bus. The address range is mapped into a 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: 0x1C80 to 0x1CBF (a 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 1 lists the FPGA’s I/O map.
EPU-3311 Programmer’s Reference Manual2
Table 1: FPGA I/O Map
Register Access Key
R/W
Read/Write
RO
Read-only (status or reserved)
R/WC
Read-status/Write-1-to-Clear
RSVD
Reserved. Only write 0 to this bit; ignore all read values.
Reset Status Key
POR
Power-on reset (only resets one time when input power comes on)
Platform
Resets prior to the processor entering the S0 power state (that is, at power-on and in sleep states)
resetSX
If AUX_PSEN is a '0' in MISCSR1 (default setting), then this is the same as the Platform reset.
If AUX_PSEN is a programmed to a '1', then it is the same as the Power-On Reset (POR).
n/a
Reset doesn't apply to status or reserved registers
3
This chapter describes the FPGA registers.
Table 2 (beginning on the following page) lists all 64 FPGA registers
Table 3 (refer to page 7) through Table 26 provide bit-level information on the individual
FPGA registers
Register Access Key
FPGA Registers
Reset Status Key
EPU-3311 Programmer’s Reference Manual3
EPU-3311 Programmer’s Reference Manual4
FPGA Register Map
Table 2: FPGA Register Map
Identifier
I/O
Address
Offset
Reset
Type
D7
D6
D5
D4
D3
D2
D1
D0
PCR
1C80 0 Platform
PLED
PRODUCT_CODE
PSR
1C81 1 n/a
REV_LEVEL
EXTEMP
CUSTOM
BETA
SCR
1C82 2 Platform 0 0
0
LED_DEBUG
WORKVER 0 0 0 TICR
1C83 3 Platform
IRQEN
IRQSEL2
IRQSEL1
IRQSEL0
0
IMASK_TC5
IMASK_TC4
IMASK_TC3
TISR
1C84 4 Platform
INTRTEST
TMRTEST
TMRIN4
TMRIN3
0
ISTAT_TC5
ISTAT_TC4
ISTAT_TC3
TCR
1C85 5 Platform
TIM5GATE
TIM4GATE
TIM3GATE
TM45MODE
TM4CLKSEL
TM3CLKSEL
TMROCTST
TMRFULL
Reserved
1C86 6 n/a 0 0 0 0 0 0 0 0
Reserved
1C87 7 n/a 0 0 0 0 0 0 0 0
Reserved
1C88 8 n/a 0 0 0 0 0 0 0 0
Reserved
1C89 9 n/a 0 0 0 0 0 0 0 0
Reserved
1C8A A n/a 0 0 0 0 0 0 0 0
Reserved
1C1B B n/a 0 0 0 0 0 0 0 0
Reserved
1C8C C n/a 0 0 0 0 0 0 0 0
Reserved
1C8D D n/a 0 0 0 0 0 0 0 0
Reserved
1C8E E n/a 0 0 0 0 0 0 0 0
Reserved
1C8F F n/a 0 0 0 0 0 0 0 0
MISCSR1
1C90
10
POR 0 0 0 0
0
MINI2_PSDIS
AUX_PSEN
MINI1_PSDIS
MISCSR 2
1C91
11
POR
0
W_DISABLE
0
ETH0_OFF
USB_USBID
USB_PB2DIS
USB_PB1DIS
USB_OBDIS
MISCSR 3
1C92
12
Platform
PROCHOT
LVDS_OC 0 0 0 PBRESET 0 0
Reserved
1C93
13
n/a 0 0 0 0 0 0 0 0
Reserved
1C94
14
n/a 0 0 0 0 0 0 0 0
Reserved
1C95
15
n/a 0 0 0 0 0 0 0 0
Reserved
1C96
16
n/a 0 0 0 0 0 0 0 0
Loading...
+ 21 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.