Preliminary
...the world's most energy friendly microcontrollers
2010-04-09 - t0005_1.10
15
www.energymicro.com
10 Board controller
The board controller (BC) consists of the control MCU and an FPGA. The FPGA is essentially a
programmable multiplexer that allows the resources on the board to be shared between the EFM and
the control MCU. It also enables jumperless peripheral configuration. The control MCU implements the
built-in debugger, the AEM and performs housekeeping tasks.
To use the board controller for your application, the Board Support Package (BSP) must be installed.
See the BSP chapter to find out how.
10.1 Register Map
The offset register address is relative to the registers base address.
Offset
Name
Type
Description
0x000
BC_BC_CFG
RW
Board Controller Config register
0x002
BC_EM
RW
Energy Mode register
0x004
BC_MAGIC
R
Magic number
0x006
BC_LED
RW
User LEDs register
0x008
BC_PUSHBUTTON
R
User pushbutton status register
0x00A
BC_DIPSWITCH
R
User dipswitch status register
0x00C
BC_JOYSTICK
R
Joystick state register
0x00E
BC_AEM
R
AEM button status register
0x010
BC_DISPLAY_CTRL
RW
Display control register
0x012
BC_EBI_CFG
RW
EBI configuration register
0x014
BC_BUS_CFG
RW
BUS configuration register
0x018
BC_PERCTRL
RW
Peripheral control register
0x01A
BC_AEMSTATE
R
AEM button status register
0x01C
BC_SPI_CFG
RW
SPI configuration register
0x01E
BC_RESET
RW
Reset register
0x020
BC_ADC_START
RW
ADC start byte register
0x022
BC_ADC_STATUS
R
ADC status register
0x024
BC_ADC_DATA
R
ADC data register
0x028
BC_HW_VERSION
R
Hardware version register
0x02A
BC_FW_BUILDNO
R
Firmware build number
0x02C
BC_FW_VERSION
R
Firmware version register
0x02E
BC_SCRATCH_COMMON
RW
Common scratch register
0x030
BC_SCRATCH_EFM0
RW
EFM scratch register 0
0x032
BC_SCRATCH_EFM1
RW
EFM scratch register 1
0x034
BC_SCRATCH_EFM2
RW
EFM scratch register 2
0x036
BC_SCRATCH_EFM3
RW
EFM scratch register 3
0x038
BC_SCRATCH_BC0
RW
BC scratch register 0
0x03A
BC_SCRATCH_BC1
RW
BC scratch register 1
0x03C
BC_SCRATCH_BC2
RW
BC scratch register 2
0x03E
BC_SCRATCH_BC3
RW
BC scratch register 3
0x040
BC_INTFLAG
RW
Interrupt flags
0x042
BC_INTEN
RW
Interrupt enables
electronic components distributor