This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
1 Introduction The MicroZed Carrier Card for Arduino™ (MZCC_ARD) is a multi-function, low-cost development board designed to facilitate easy evaluation of Avnet MicroZed SOM boards together with Arduino-compatible Shields and Microcontroller boards as well as Pmod-compatible peripheral boards.
Note: Please refer to the “MicroZed Carrier Card for Arduino™ Getting Started Guide” for detail of the software aspects, plus additional information on practical application of this Carrier Card in different use cases.
1.1 MZCC_ARD Features – An Arduino-compatible shield site connected to the MicroZed SOM, to facilitate the addition
of 3rd-party shield expansion boards.
– PMOD™-compatible connector connected to PS side of Zynq device on MicroZed SOM, providing a high-throughput SDIO/SPI interface for Pmod-compatible Communications-, Analog-, or Sensor boards.
– PMOD™-compatible connector connected to PL side of Zynq device on MicroZed SOM, that facilitates additional flexible interfacing options via the FPGA fabric
– PMOD™-compatible connector connected to LP (Low-Power) MCU sub-system, for I2C/UART interface to additional sensor solutions or Low Power RF wireless solutions (BTLE / Zigbee / ANT…)
– A set of Low Power MCU sub-system connectors:
– Capable of controlling the power to the SOM, including all of the voltage rails.
– Facilitates offload of tasks (that don’t require Apps Processor performance or FPGA functionality) to minimize overall board power-consumption.
– For Sensor-hub functionality and continuous sampling of environmental sensors (Ambient Light Sensor, 3D-Accelerometer, 3D Magnetometer plus TBD other sensors via Pmod interface)
– LP MCU sub-system that also allows stacking of Freescale FRDM-FXS-MULTI Sensor board.
– LP MCU Power Management, where the LP MCU can control the carriers’ main 3.3V power supply and the MicroZed SOM’s power state via the VCCIO_EN pin on JX2.
An example setup with FRDM-KL46Z board, MicroZed SOM and MZCC_ARD carrier card is shown on the next page.
Notes: The carrier card may be used without the FRDM-KL46Z microcontroller board but always requires the MicroZed SOM to be present.
Page 6
Figure 1 – MZCC_ARD Example Diagram
Interfaces
– Digilent Pmod™ compatible interfaces:
– LP PMOD – connected to MCU board
– PS PMOD – connected to MicroZed SOM Zynq PS
– PL PMOD – connected to MicroZed SOM Zynq PL
– FRDM-KL25/46Z dual row header connectors for MCU attachment
– Arduino Shield connectors – routed to MicroZed SOM GPIO
– Two 100-pin JX MicroHeaders for SOM insertion
– USB UART - Micro USB power connector (power only, no data)
– Status LEDs (PG_MODULE_LED and +3.3V)
Power
– Primary: ADP2164ACPZ-R7 for 3.3V @ 3.5A for all logic and interfaces.
– Sleep regulator: ADP124ACPZ-3.3-R7 LDO 3.3V @ 500mA for LP MCU and LP PMOD.
– External
– USB power source or equivalent with a minimum current rating of 2.0 Amps.
– Provides MicroZed SOM power (VIN_HDR)
– Optional Mini USB power source – not fitted by Avnet, but user can place their own if desired.
– Optional 5V barrel jack connector - not fitted by Avnet, but user can place their own if desired.
Page 7
1.2 Block Diagram
Figure 2 – MZCC_ARD Block Diagram
*Notes:
– FRDM-FXS-MULTI board may only be stacked onto Freedcale FRDM-KL series MCU boards.
– FRDM-FXS-MULTI use of I2C1 overlaps with I2C1/UART1 use on the MCU to MicroZed interface.
Page 8
2 Functional Description The following sections provide a description of each board feature.
2.1 Arduino Shield Expansion Site for MicroZed – Connected to MicroZed, a subset of the Arduino R3 footprint is supported.
– Supports 3.3V I/O shields. Note: No support for 5V shields!
– The following Shield interfaces can be routed via FPGA EMIO connections to the applicable Zynq PS peripherals
– SPI
– I2C
– UART
– T0, T1
– INT0, INT1
– A useful table of common shields and the interface pins they require is located at: http://playground.arduino.cc/Main/ShieldPinUsage
2.2 LP-PMOD Connector This connector is referred to as the Low-Power Pmod connector. It is used to interface UART0 and I2C0 signals to the KL46 MCU. Only one interface type can be used at a time. Jumpers have been provided so the user can select which interface to use. JP1 is used to select which power the LP PMOD is to use. If the user selects position 1-2, the maximum power that should be drawn from the PMOD circuit is 300 mA. This allows a margin of 200 mA for the Low Power regulator.
Selection of the desired peripheral interface is by means of jumpers (JP1, JP2, JP3)
– The option of providing 3.3V power from the MCU board to LP-PMOD is not available.
Page 13
2.3 MicroZed MicroHeader Connections Two 100pin MicroHeaders (JX1, JX2) on the Adaptor Board provide the electrical interface to MicroZed SOM.
A subset of the Zynq PS signals on JX1 and JX2 are routed to 3 areas:
1. the MCU board
2. the MZ-Shield connectors (Arduino-compatible shield site)
3. the PS-PMOD connector
A subset of the Zynq PL signals on JX1 and JX2 are routed to the PL-Pmod connector.
2.3.1 MCU Board to MicroZed MicroHeader Connectors
FRDM-KL46Z MCU Board MicroZed MicroHeaders
Connector Pin# Function Pin# Signal Name Zynq Pin
Pwr / Control
JM2-4 PWR_EN JX1, pin 5 PWR_EN n/a
JM2-5 VCCIO_EN JX2, pin 10 VCCIO_EN Bank 0, L6
JM2-14 GND GND
SPI0 Signals
JM2-9 SPI0_SS JX1, pin 11 JA0-1 P Bank 34, T11
JM2-11 SPI0_SCK JX1, pin 13 JA0-1 N Bank 34, T10
JM2-13 SPI0_MOSI JX1, pin 12 JA2-3 P Bank 34, T12
JM2-15 SPI0_MISO JX1, pin 14 JA2-3 N Bank 34, U12
I2C1 Signals
JM2-20 I2C1_SCL JX1, pin 18 JA4-5 P Bank 34, V12
JM2-18 I2C1_SDA JX1, pin 20 JA4-5 N Bank 34, W13
GPIO Signals
JM1-8 INT_MZ_MCU JX1, pin 23 JA6-7 P Bank 34, T14
JM2-7 GPIO_MZ JX1, pin 25 JA6-7 N Bank 34, T15
Table 4 - MicroZed to MCU Board connectors
Notes:
– MicroZed signals in this table correspond to those defined for Pmod “JA” on MicroZed IO Carrier Card (IOCC)
Page 14
2.3.2 MicroZed to MZ-Shield Connectors
MicroZed MicroHeaders
Arduino Arduino Connectors
Pin# Signal Name Zynq Pin Name Pin# Signal Name
I2C Signals
JX1, pin 29 JB0-1 P Bank 34, Y16 D15 JA2-10 ARD_SCL
JX1, pin 31 JB0-1 N Bank 34, Y17 D14 JA2-9 ARD_SDA
Power
n/c n/c AREF JA2-8 AREF
multiple GND GND JA2-7 GND
SPI Signals
JX1, pin 30 JB2-3 P Bank 34, W14 D13 JA2-6 ARD_D13
JX1, pin 32 JB2-3 N Bank 34, Y14 D12 JA2-5 ARD_D12
JX1, pin 35 JB4-5 P Bank 34, T16 D11 JA2-4 ARD_D11
JX1, pin 37 JB4-5 N Bank 34, U17 D10 JA2-3 ARD_D10
Other
JX1, pin 36 JB6-7 P Bank 34, V15 D9 JA2-2 ARD_D9
JX1, pin 38 JB6-7 N Bank 34, W15 D8 JA2-1 ARD_D8
JX1, pin 47 JC0-1 P Bank 34, N18 D7 JA1-8 ARD_D7
JX1, pin 49 JC0-1 N Bank 34, P19 D6 JA1-7 ARD_D6
Timer Signals
JX1, pin 48 JC2-3 P Bank 34, N20 D5 JA1-6 ARD_D5
JX1, pin 50 JC2-3 N Bank 34, P20 D4 JA1-5 ARD_D4
Interrupts
JX1, pin 53 JC4-5 P Bank 34, T20 D3 JA1-4 ARD_D3
JX1, pin 55 JC4-5 N Bank 34, U20 D2 JA1-3 ARD_D2
UART Signals
JX1, pin 54 JC6-7 P Bank 34, V20 D1 JA1-2 ARD_D1
JX1, pin 56 JC6-7 N Bank 34, W20 D0 JA1-1 ARD_D0
Table 5 - MicroZed to JA2 and JA1 MZ-Shield Connectors
Notes:
– MicroZed signals in this table correspond to those defined for Pmods “JB” and “JC” on the MicroZed IO Carrier Card
Page 15
MicroZed MicroHeaders Arduino Connectors
Pin# Signal Name
Pin# Signal Name
Power
n/c n/c JA3-1 n/c
multiple P3V3_MZ IOREF JA3-2 P3V3_MZ
n/c n/c NRST JA3-3 A_NRST
multiple P3V3_MZ 3V3 JA3-4 P3V3_MZ
n/c n/c 5V JA3-5 n/c
multiple GND GND JA3-6 GND
multiple GND GND JA3-7 GND
TBD n/c VIN JA3-8 n/c
Pin# Signal Name
Pin# Signal Name
JX1 pin 97 ARD_A0 A0 JA4-1 ARD_A0
JX1 pin 99 ARD_A1 A1 JA4-2 ARD_A1
JX1 pin 98 ARD_A2 A2 JA4-3 ARD_A2
JX1 pin 100 ARD_A3 A3 JA4-4 ARD_A3
JX2 pin 14 ARD_A4 A4 JA4-5 ARD_A4
JX2 pin 18 ARD_A5 A5 JA4-6 ARD_A5
Table 6 - MicroZed to JA3 and JA4 MZ-Shield Connectors
Notes:
– Sequencing of the Reference Designators on the Shield connectors and the direction of their pin numbering matches that of the Freescale FRDM-KL46Z board.
– MicroZed signals in this table correspond to those defined for Pmod “JD” on the MicroZed IO Carrier Card (IOCC)
Page 16
2.3.3 MicroZed to PS-PMOD Connector MIO interface signals (MIO 0, MIO 9-15) are routed to the PMOD-MZ connector. The Pmod pinout chosen facilitates the use of Zynq PS hardened peripherals such as SDIO (4 lane) or SPI for host communication with one of Avnet’s Wi-Fi Pmod wireless boards.
Alternatively, different PS peripherals (eg. I2C or UART) could be instantiated to use these MIO pins for support of other Pmod board types.
The table below shows the pinout for SDIO or SPI mode for this Pmod connector
MicroZed MicroHeaders PS-PMOD Connector
Pin# Function-1 SDIO, 4 bit
Function-2 SPI Pin# Signal Name
Power
VCCIO_34,
VCCIO_35, VCCIO_13
P3V3_MZ P3V3_MZ 5, 11 P3V3_MZ
GND GND GND 6, 12 GND
SDIO / SPI
JX2, pin 1 SDIO_D1 SPI_SS 1 PSPMOD_D0
JX2, pin 2 SDIO_D0 SPI_MOSI 2 PSPMOD_D1
JX2, pin 3 SDIO_CMD SPI_MISO 3 PSPMOD_D2
JX2, pin 4 SDIO_CLK SPI_SCK 4 PSPMOD_D3
JX2, pin 5 WL_INT SPI_INT 7 PSPMOD_D4
JX2, pin 6 WL_EN N_RST 8 PSPMOD_D5
JX2, pin 7 SDIO_D2 n/a 9 PSPMOD_D6
JX2, pin 8 SDIO_D3 n/a 10 PSPMOD_D7
Table 7 - MicroZed to PS-PMOD connector
Notes:
– MicroZed signals in this table correspond to those defined for Pmod “PS” on the MicroZed IO Carrier Card (IOCC)
– Layout of this header follows the 2x6 Pmod connector format (Host).
Figure 7 – PMOD PCB Footprint on MZCC_ARD
Page 17
2.3.4 MicroZed to PL-PMOD Connector
MicroZed MicroHeaders PL-PMOD Connector
Microheader Pin #
MicroZed Signal Name
Zynq Pin #
Pmod Pin#
PL I/O Name
Zynq Signal Name
Power
VCCIO_34, VCCIO_35, VCCIO_13
P3V3_MZ 5,11 P3V3_MZ
GND GND 6,12 GND
PL/GPIO
JX2, pin 61 JX2_LVDS_14_P G17 1 D0_P UART0_RTSN
JX2, pin 63 JX2_LVDS_14_N G18 2 D0_N UART0_RX
JX2, pin 62 JX2_LVDS_15_P F19 3 D1_P UART0_TX
JX2, pin 64 JX2_LVDS_15_N F20 4 D1_N UART0_CTSN
JX2, pin 81 JX2_LVDS_20_P N15 7 D2_P BT_EN
JX2, pin 83 JX2_LVDS_20_N N16 8 D2_N
JX2, pin 82 JX2_LVDS_21_P L14 9 D3_P
JX2, pin 84 JX2_LVDS_21_P L15 10 D3_N
Table 8 - MicroZed to PL-PMOD Connector
Notes:
– MicroZed signals in this table correspond to those defined for Pmod “JE” on MicroZed IO Carrier Card (IOCC)
No I2C1/UART1 on MCU to MZ i/f when FXS-MULTI board is in use
Supported Supported Supported Supported Supported
ST NUCLEO No SPI0 bus on
MCU to MZ i/f
Not
supported! Supported No INT_LP
No GPIO_LP Supported Supported
Page 19
2.5 System Power
2.5.1 Power Input The Adaptor Board input voltage is 5V via a micro-USB connector on upper edge of the Adaptor Board.
– Micro USB AC/DC wall adapter:
– Primary 5V, 2A, Micro USB connector.
– Provides primary power through D1. D1 is placed to prevent over USB voltage conditions ensuring 5.0V is provided to the regulators and the SOM.
– An optional DC jack may be placed by the user at location J4. The recommended CUI part number is PJ-002AB-SMT. C18 – C20 can be placed pending the ripple current of the chosen power supply.
2.5.2 Voltage Regulators The following table lists the power solution for the MZCC_ARD. 3.3V (P3V3_MZ) is provided for the Zynq PL I/O banks 34, 35 and 13 (if 7Z020 is populated on MicroZed).
– VIN_HDR is connected to the USB power input, 5.0V. This rail provides the SOMs primary power source.
– Regulator 1 is the primary board power regulator and is used to power the I/O interfaces on both the SOM and the MZCC_ARD board.
– Regulator 2 is always on and used to provide power when the primary regulator is turned off during sleep condition. This ADP124 part can be changed to ADP125 adjustable version if the user chooses. R27 would then need to be calculated and placed to determine the desired P3V3_PM value.
The table below shows the voltage rails, currents, and tolerances.
Supply Name P5V P3V3_MZ (VCCIO_13, 34, 35) P3V3_PM (P3V3_LP)
7Z010 MicroZed n/a <0.9A @ 3.3V -
7Z020 MicroZed n/a <1.3A @ 3.3V -
Arduino Shield n/a < 0.5A @ 3.3V -
Pmod-MZ Connector n/a < 0.5A @ 3.3V -
LP-PMOD Connector n/a < 0.5A @ 3.3V
FPGA PLIO Header n/a < 0.3A @ 3.3V -
Totals < 3.0A @ 5V < 3.5A @ 3.3V < 0.5A @ 3.3V
Tolerance 10% 5% 5%
IC n/a ADP2164ACPZ-R7 ADP124ACPZ-3.3-R7
Notes 5V, 3A, supply with Micro-USB type B connector
Device rated for 3.5A Device rated for 0.5A
Table 10 – Voltage Rails with Current Estimates
Page 20
2.5.3 MicroZed Power Sequencing and control circuits – PWR_EN signal, active high, is the output of a GPIO pin on the KL46 MCU. It provides
on/off control of the power supplies on MicroZed and the Adaptor Board. A 3.3V to 5V (VIN) level translator, Q1, is used to interface to the SOM’s 5V PWR_EN signal.
– VCCIO_EN signal, active high, JX2.10, originates on the MicroZed and is the output of the 1.8V regulator, PG_1V8. This signal enables the MZCC_ARD P3V3_MZ regulator, turning on the Carrier board’s primary 3.3V power supply. If VCCIO Enable pin is lower than 0.77V, as determined by U2 and U3, the MZCC_ARD will not power on. This allows the SOM to control MZCC_ARD’s primary 3.3V power supply.
– PG_MODULE signal, JX2.11, (labeled PG_CARRIER in the below figure) is active high and is pulled up by MicroZed’s +3.3V PG_MODULE signal and the MZCC_ARD’s P3V3_MZ net. These signals are wired OR to the MicroZed’s 3.3V power supply, the Zynq’s Power On Reset signal and the MZCC_ARD board’s 3.3V power supply. When the power supplies are valid on both the SOM and Carrier, the PG signal de-asserts the Zynq POR signal allowing the MZCC_ARD board to power on.
– The following diagram illustrates the power supply sequencing on power up. Note Vin and PWR_Enable can come up simultaneously, but shown staggered as PWR_Enable can come up later.
Vin
PWR_EN
VCCIO_EN
PG_CARRIER
Figure 8 – Power Sequencing
2.5.4 Bypassing/Decoupling Follows AES and component manufacturing guidelines. Please see specific component datasheets for further details.
Page 21
3 Mechanicals Below are the MZCC_ARD mechanical dimensions:
Figure 9 – Mechanical Dimensions
3.1 Mounting Holes – Six mounting holes for the MicroZed SOM and KL46 board.
– holes used to secure the MicroZed SOM.
– The 2 holes on left edge are aligned with corresponding 2 holes on the KL46 MCU board.
– The 4 remaining corner holes are used for board standoffs. Note the right most SOM holes can also be supplemented with standoff hardware to increase the rigidity of the MZCC_ARD as desired.
Page 22
4 Addendum Additional information on board types and uses. Note that this is provided to the customer for informational purposes only and may change without notice by Avnet or the module manufacturers.
4.1 Arduino Shield Expansion Site for the MCU Board A special use-case is allowed for where Freescale’s FRDM-FXS-MULTI Sensor board is stacked onto the FRDM-KL46Z MCU board to facilitate a practical demo of key products from Freescale’s Sensor portfolio. Attaching the sensors to the MCU rather than the Zynq SoC allows the offload of sensor sampling and aggregation to the MCU subsystem for maximum power-efficiency, permitting MicroZed to remain powered-down for a higher proportion of the time.
This solution is specific to the use of Freescale’s Kinetis KL46 and MULTI Freedom boards. Adding FRDM-FXS-MULTI to the system requires consideration of the electrical and mechanical aspects.
1. Electrical interfaces from the FRDM-KL46Z on connectors JM2 and JM1 are now allocated between MicroZed, PL-PMOD and FRDM-FXS-MULTI
2. Mechanical mounting of the FRDM-FXS-MULTI requires 2 additional connectors (JM3, JM4). A summary of both sets of connectors is shown below:
a. Fitted to Carrier Card for all use-cases and configurations: JM2 and JM1 (mounted on Carrier Card) are long-tailed 2x10 and 2x8 sockets
b. Optional, to MZCC_ARDommodate FRDM-FXS-MULTI. JM3 and JM4 (not on Carrier Card, to provide seperately) are long-tailed 2x6 and 2x8 sockets required to mate the free-standing left-hand side connectors between these boards.
The applicable SAMTEC part numbers are: (ftp://ftp.samtec.com/webfiles/PDF/SSQ_TH.PDF) JM2: SSQ-110-23-G-D [2x10 (20 position) Through-Hole .025” SQ Post Socket] JM1, JM3: SSQ-108-23-G-D [2x8 (16 position) Through-Hole .025” SQ Post Socket] JM4: SSQ-106-23-G-D [2x6 (12 position) Through-Hole .025” SQ Post Socket]
4.2 Arduino Shield Expansion Site for MicroZed – Connected to MicroZed, a subset of the Arduino R3 footprint is supported.
– Supports 3.3V I/O shields (No support for 5V shields!)
– The following Shield interfaces are routed to the applicable Zynq PS peripherals
– SPI
– I2C
– UART
– T0, T1
– INT0, INT1
– A useful table of common shields and the interface pins they require is located at: http://playground.arduino.cc/Main/ShieldPinUsage
– Example 3.3V Shields suitable for this system include the following:
– SMARTGPU2 TFT LCD shield ($89)
– XBEE Wireless SD Shield
– Full details of the signals routed from MicroZed to the Arduino Shield are tabled in section 2.5.2