The MEC15xxEVB_ASSY6853 kit is a future development platform to evaluate the Microchip MEC15XX series microcontrollers. This board needs to be mated with part number MEC1501 144WFBA SOLDER DC ASSY 6860(cpu board) in order to operate.
- MEC1501HB0SZ ARM Cortex-M4 Processor
- 256 KB RAM and 64 KB boot ROM
- Keyboard interface
- ADC & GPIO headers
- UART0, UART1, and UART2
- FAN0, FAN1, FAN2 headers
- FAN PWM interface
- JTAG/SWD, ETM and MCHP Trace ports
- PECI interface 3.0
- I2C voltage translator
- 10 SMBUS headers
- 4 SGPIO headers
- VCI interface
- 5 independent Hardware Driven PS/2 Ports
- eSPI header
- 3 Breathing/Blinking LEDs
- 2 Sockets for SPI NOR chips
- One reset and VCC_PWRDGD pushbuttons
- One external PCA9555 I/O port with jumper selectable I2C address.
- One external LTC2489 delta-sigma ADC with jumper selectable I2C address.
- Board power jumper selectable from +5V 2.1mm/5.5mm barrel connector or USB Micro A connector.
The mec15xxevb_assy6853 board configuration supports the following hardware features:
|NVIC||on-chip||nested vector interrupt controller|
Other hardware features are not currently supported by Zephyr (at the moment)
The default configuration can be found in the boards/arm/mec15xxevb_assy6853/mec15xxevb_assy6853_defconfig Kconfig file.
Connections and IOs¶
This evaluation board kit is comprised of the following HW blocks:
The MEC1501 MCU is configured to use the 48Mhz internal oscillator with the on-chip PLL to generate a resulting EC clock rate of 12 MHz. See Processor clock control register in chapter 4 “4.0 POWER, CLOCKS, and RESETS” of the data sheet in the references at the end of this document.
UART2 is configured for serial logs.
Please follow the jumper settings below to properly demo this board. Advanced users may deviate from this recommendation.
Jumper setting for MEC15xx EVB Assy 6853 Rev A1p0¶
These jumpers configure MEC1501 Boot-ROM straps.
|JP93 (CMP_STRAP)||JP11 (CR_STRAP)||JP46 (VTR2_STRAP)||JP96 (BSS_STRAP)|
JP96 1-2 pulls SHD SPI CS0# up to VTR2. MEC1501 Boot-ROM samples
SHD SPI CS0# and if high, it loads code from SHD SPI.
Peripheral Routing Jumpers¶
Each column of the following table illustrates how to enable UART2, SWD, PVT SPI, SHD SPI and LED0-2 respectively.
|JP48 (UART2)||JP9 (UART2)||JP9 (SWD)||JP38 (PVT SPI)||JP98 (SHD SPI)||JP41 (LED0-2)|
An additional setting for UART2 is to make sure JP39 does not have any jumper.
Jumper settings for MEC1501 144WFBGA Socket DC Assy 6883 Rev B1p0¶
The jumper configuration explained above covers the base board. The ASSY
6883 MEC1501 CPU board provides capability for an optional, external 32KHz
clock source. The card includes a 32KHz crystal oscillator. The card can
also be configured to use an external 50% duty cycle 32KHz source on the
XTAL2/32KHZ_IN pin. Note, firmware must set the MEC15xx clock enable
register to select the external source matching the jumper settings. If
using the MEC15xx internal silicon oscillator then the 32K jumper settings
are don’t cares.
JP1 is for scoping test clock outputs. Please refer to
the schematic in reference section below.
Parallel 32KHz crystal configuration¶
External 32KHz 50% duty cycle configuration¶
Jumper settings for MEC1503 144WFBGA Socket DC Assy 6856 Rev B1p0¶
The MEC1503 ASSY 6856 CPU card does not include an onboard external
32K crystal or oscillator. The one jumper block
JP1 is for scoping
test clock outputs not for configuration. Please refer to schematic
in reference section below.
Programming and Debugging¶
Make the image generation available for Zephyr, by making the tool searchable by path, or by setting an environment variable
EVERGLADES_SPI_GEN, for example:
export EVERGLADES_SPI_GEN=<path to tool>/everglades_spi_gen_lin64
Note that the tools for Linux and Windows have different file names.
If needed, a custom SPI image configuration file can be specified to override the default one.
- Build Hello World application as you would normally do.
- The file
spi_image.binwill be created if the build system can find the image generation tool. This binary image can be used to flash the SPI chip.
Connect the SPI Dongle ASSY 6791 to
J44in the EVB. See the image above.
Then proceed to flash the SPI NOR
U3at offset 0x0 using Dediprog SF100 or a similar tool for flashing SPI chips.
Remember that SPI MISO/MOSI are swapped on dediprog headers!
Run your favorite terminal program to listen for output. Under Linux the terminal should be
/dev/ttyACM0. For example:
$ minicom -D /dev/ttyACM0 -o
The -o option tells minicom not to send the modem initialization string. Connection should be configured as follows:
- Speed: 115200
- Data: 8 bits
- Parity: None
- Stop bits: 1
Connect the MEC15xxEVB_ASSY_6853 board to your host computer using the UART2 port and apply power.
You should see
"Hello World! mec15xxevb_assy6853"in your terminal.
This board comes with a Cortex ETM port which facilitates tracing and debugging using a single physical connection. In addition, it comes with sockets for JTAG only sessions.
In case you don’t see your application running, please make sure
LED1 are lit. If one of these is off, then check the power-
related jumpers again.