4118903 mangOH Green Developer`s Guide

4118903 mangOH Green Developer`s Guide
mangOH™ Green (DV4)
Developer’s Guide
4118903
Rev 3
mangOH Green (DV4) Developer’s Guide
Legal/Copyright/Trademarks/Contact Us
Important
Notice
Due to the nature of wireless communications, transmission and reception of data can
never be guaranteed. Data may be delayed, corrupted (i.e., have errors) or be totally
lost. Although significant delays or losses of data are rare when wireless devices such
as the Sierra Wireless modem are used in a normal manner with a well-constructed
network, the Sierra Wireless modem should not be used in situations where failure to
transmit or receive data could result in damage of any kind to the user or any other
party, including but not limited to personal injury, death, or loss of property. Sierra
Wireless accepts no responsibility for damages of any kind resulting from delays or
errors in data transmitted or received using the Sierra Wireless modem, or for failure
of the Sierra Wireless modem to transmit or receive such data.
Safety and
Hazards
Do not operate the Sierra Wireless modem in areas where blasting is in progress,
where explosive atmospheres may be present, near medical equipment, near life
support equipment, or any equipment which may be susceptible to any form of radio
interference. In such areas, the Sierra Wireless modem MUST BE POWERED OFF.
The Sierra Wireless modem can transmit signals that could interfere with this
equipment.
Do not operate the Sierra Wireless modem in any aircraft, whether the aircraft is on
the ground or in flight. In aircraft, the Sierra Wireless modem MUST BE POWERED
OFF. When operating, the Sierra Wireless modem can transmit signals that could
interfere with various onboard systems.
Note: Some airlines may permit the use of cellular phones while the aircraft is on the ground
and the door is open. Sierra Wireless modems may be used at this time.
The driver or operator of any vehicle should not operate the Sierra Wireless modem
while in control of a vehicle. Doing so will detract from the driver or operator's control
and operation of that vehicle. In some states and provinces, operating such
communications devices while in control of a vehicle is an offence.
Limitation of
Liability
The information in this manual is subject to change without notice and does not
represent a commitment on the part of Sierra Wireless. SIERRA WIRELESS AND ITS
AFFILIATES SPECIFICALLY DISCLAIM LIABILITY FOR ANY AND ALL DIRECT,
INDIRECT, SPECIAL, GENERAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR
EXEMPLARY DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF PROFITS
OR REVENUE OR ANTICIPATED PROFITS OR REVENUE ARISING OUT OF THE
USE OR INABILITY TO USE ANY SIERRA WIRELESS PRODUCT, EVEN IF
SIERRA WIRELESS AND/OR ITS AFFILIATES HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES OR THEY ARE FORESEEABLE OR FOR
CLAIMS BY ANY THIRD PARTY.
Notwithstanding the foregoing, in no event shall Sierra Wireless and/or its affiliates
aggregate liability arising under or in connection with the Sierra Wireless product,
regardless of the number of events, occurrences, or claims giving rise to liability, be in
excess of the price paid by the purchaser for the Sierra Wireless product.
Rev 2 Dec.16
2
4118903
Preface
Patents
This document contains information which is proprietary to Sierra Wireless Inc. and is
licensed pursuant to Creative Commons Attribution 4.0 International License.
Document
details
Title: mangOH Green User Guide
Author: Sierra Wireless
Source: http://mangoh.io/
Copyright
© 2016 Sierra Wireless. Licensed under the Creative Commons Attribution 4.0
license, http://creativecommons.org/licenses/by/4.0/
Disclaimer
Indicate any modifications made to the original document.
Trademarks
mangOH™ and the mangOH logo are trademarks of Sierra Wireless.
Other trademarks are the property of their respective owners.
Revision
History
Revision
number
Release date
Changes
1
March 2016
Document created based on DV3 document
2
June 2016
Replaced ‘IOT Connector’ references with ‘IOT Expansion Card’
3
November 2016
Updated Figures 2-6, 2-7
Rev 2 Dec.16
3
4118903
Contents
Legal/Copyright/Trademarks/Contact Us . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
mangOH Green Hardware Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
mangOH Green Hardware Architecture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
mangOH Green Hardware Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
MUXing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Primary CF3 Module Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
ADC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Audio (Analog and PCM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Primary CF3 GPIOs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
GPIO Expanders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
HSIC (USB/Ethernet) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
I2C1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
RF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
SDIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
SPI1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
SPI2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
UART1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
UART2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
UIM Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
USB 2.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Secondary CF3 Module Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
RF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
UIM2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
USB 2.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
IoT Connector Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Arduino-compatible Circuit Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Reset Methods. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Rev 2 Dec.16
4
4118903
Contents
Power Management. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Rev 2 Dec.16
5
4118903
1: Introduction
1
The mangOH Green is an open-source hardware development platform for CF3
modules that incorporates several hardware interfaces and standardized IoT
Expansion Card slots for expanded functionality.
The purpose of this developer’s guide is to describe the mangOH Green’s architecture
and provide details on how to develop applications for CF3 modules.
Important: This Developer’s Guide applies to mangOH Green DV4. The guide for mangOH
Green DV3 is available at mangoh.io.
The standard mangOH Green documentation suite, available at mangoh.io, includes:
Rev 2 Dec.16
•
mangOH Green Getting Started Guide
•
mangOH Green User Guide
•
mangOH Green Developer’s Guide (This document)
•
mangOH Green AirVantage Developer’s Guide (forthcoming)
•
Project mangOH IoT Expansion Card Design Specification
•
Product Specifications for Sierra Wireless IoT Expansion Cards (forthcoming)
6
4118903
2: Hardware
2
This chapter describes the mangOH Green platform’s hardware components and
interfaces.
mangOH Green Hardware Overview
Figure 2-1 provides an overview of the mangOH Green’s hardware components
relative to the primary CF3 module, and Figure 2-2 and Figure 2-3 show their
locations.
For additional details, see the following documents available at mangoh.io.
•
Sierra Wireless CF3 module Product Specifications
•
CF3 specification
•
mangOH Green User Guide for instructions on setting up the hardware components
uUSB
CONN
Audio
RTC
Capacitor
LEDs
Boot
Reset
Power_ON
Esim
3.7V @ 1000mA
SIM
HOLDER
#2
Diversity
SIM
HOLDER
#1
GPS
SDIO
MAIN
Basic Architecture
miniUSB
CONN
Arduino
TypeA
USB
CONN
Primary
CF3
RJ45
+Mag.
+ LEDs
CF3
Secondary
Socket
DB9
IoT Connector #0
IoT Connector #1
IoT Connector #2
Gyroscope/
Accelerometer
Figure 2-1: mangOH Green Hardware Components Overview
Rev 2 Dec.16
7
4118903
mangOH Green (DV4) Developer’s Guide
1—IoT Expansion Card slot #2 (IOT2)
2—IoT Expansion Card slot #1 (IOT1)
3—IoT Expansion Card slot #0 (IOT0)
4—DC power (CN1200)
5—Power supply select (CN1204)
6—Battery connector (CN1202)
7—Recharge select (CN1203)
8—Signals control (SW401)
9—Main antenna
10—GNSS antenna
11—Diversity antenna
12—Ethernet
13—USB Host
14—Audio
15—Module reset
16—Capacitor discharge (DNI)
17—RS-232 DB9 console output
18—Arduino-compatible circuit 24
header
19—RTC backup capacitor
23
20—Secondary Main
21—Secondary GNSS
22
22—Secondary Diversity
23—Arduino-compatible circuit
header
24—Arduino-compatible circuit 21
reset
25—Secondary CF3 socket
26—Primary CF3 socket
4
1
2
5
3
6
7
8
9
10
25
11
26
20
19
18
17
16
15
14
13
12
Figure 2-2: mangOH Green—Top Side Switches/Connectors
Note: For reference only. For latest schematic, visit mangoh.io.
Rev 2 Dec.16
8
4118903
Hardware
1
2
3
4
1—USB power
2—micro-SIM (bottom slot)
3—microSD (top slot)
4—mini-SIM
5—Arduino-compatible
circuit mini-USB
6—ATmega32U4
5
6
Figure 2-3: mangOH Green—Bottom Side Switches/Connectors
Note: For reference only. For latest schematics, visit mangoh.io.
Rev 2 Dec.16
9
4118903
mangOH Green (DV4) Developer’s Guide
mangOH Green Hardware Architecture
The mangOH Green platform provides several hardware components, including:
•
CF3 module sockets (main and secondary)
•
Pluggable IoT Connectors (sockets for IoT Expansion Cards)
•
Integrated Arduino-compatible circuit with an on-board ATmega32U4 microcontroller
•
Several I/O connectors (SIM, SD, Audio, USB, Ethernet, etc.)
Figure 2-4 illustrates the hardware architecture of the mangOH Green platform
(connectors and signals), and the following sections describe their interfaces in
greater detail:
•
mangOH Green Hardware Components on page 11—Describes the hardware
components available to the CF3 modules and Arduino-compatible circuit.
•
Primary CF3 Module Signals on page 18—Describes how Primary CF3 module
signals connect to the mangOH Green hardware components.
•
Secondary CF3 Module Signals on page 32—Describes how Secondary CF3
module signals connect to the mangOH Green hardware components.
•
IoT Connector Interfaces on page 33—Describes how IoT Expansion Card
signals connect to the mangOH Green hardware components.
3.5mm
Jack
Audio
Codec
Analog
Switch
Diversity
GPS
MAIN
Detailed Architecture
SIM
HOLDER #1
Multi
Switch
Coin
Cell
SIM
HOLDER #2
MUX
MUX
MUX
MUX
uUSB
CONN
eSIM
PCM
RTC
Power Section
switch
SIM 2
PowerOn,
Boot
Analog
Audio
Battery
Charger
Ctrl
GPIO
CF3 Smart
PSU 1V8
PSU 3V3
Battery
Gauge
GPIO
Secondary
Snap In
socket
GPS
Diversity
I2C1
PSU 5V0
SIM 2
MAIN
Ctrl
GPIO
USB 2.0
CLIENT OTG
DC
Jack
Battery
Input
SIM 1
PowerOn,
Reset,
Boot
Ctrl
GPIO
SDIO
UART1
UART2
ADC
SPI1
USB 2.0
CLIENT
HSIC
SPI2
Ctrl
GPIO
I2C
Gyro,Acc.
Sensor
SDIO
MUX
I2C
HUB
SX1509 (x3)
16/32
GPIO/PWM
UART
MUX
UART
MUX
SPI
MUX
HSIC UP
USB #2
USB3503
USB DW
USB DW
uSD
HOLDER
4xGPIO
USB #1
USB to
UART
FTDI
USB #3
UART
MUX
USB UP
3xADC
Multi
Function
LEDs
USB DW
I2C
TXD+
TXD-
4xGPIO
LAN9514
4xGPIO
RXD+
RXD-
ARDUINO
#4
USB Host
#5
USB Host
#6
USB Host
#7
USB Host
USB DW
USB DW
USB DW
USB DW
UART
ATMega32u4
USB
I2C
XCVR
IOT Connector
#0
IOT Connector
#1
IOT Connector
#2
DB9
RS232
USB
TypeA
RJ45
+Mag.
+ LEDs
Mini
USB
CONN
Figure 2-4: mangOH Green Hardware Architecture
Rev 2 Dec.16
10
4118903
Hardware
mangOH Green Hardware Components
The mangOH Green hardware components that interact with installed CF3 modules
and with the integrated Arduino-compatible circuit are listed in Table 2-1. Details
shown include:
•
Hardware component type, PCB schematic designator, and description
•
CF3 module signal(s) connected to the hardware component
•
Component to signal path type
· Single—Component connects directly to one signal only.
· MUX—A hardware switch that connects one component to one of several
signals, or one of several components to one signal.
· Hub—One signal is connected to multiple components via a signal expander.
•
Notes (purpose, usage, etc.)
•
Links to detailed descriptions
The mangOH Green‘s default configuration enables specific interfaces when the
platform boots. For interface details, see:
•
MUXing on page 17
•
Primary CF3 Module Signals on page 18
•
Secondary CF3 Module Signals on page 32
•
IoT Connector Interfaces on page 33
•
Arduino-compatible Circuit Signals on page 34
•
Reset Methods on page 35
•
Power Management on page 37
Table 2-1: mangOH Green Hardware Components
mangOH Green Components
Type and
Designator a
Description
CF3 / Arduino-compatible
Circuit Signal(s)
Signal(s) and Module
Pins
Path b
Notes
See also ...
Modules/Processors/etc.
Primary CF3
(J200)
Secondary CF3
(J601)
IOT0, IOT1, IOT2
IoT Expansion
(CN1000,
Cards
CN1001,
CN1002)
Rev 2 Dec.16
See Primary CF3 Module Signals on page 18 for details.
See Secondary CF3 Module Signals on page 32 for details.
Multiple connections to
Primary CF3 and
Secondary CF3
interfaces.
11
See IoT Expansion Cards on page 16 for details.
4118903
mangOH Green (DV4) Developer’s Guide
Table 2-1: mangOH Green Hardware Components (Continued)
CF3 / Arduino-compatible
Circuit Signal(s)
mangOH Green Components
Type and
Designator a
ATmega32U4
(U1500)
Description
Signal(s) and Module
Pins
Path b
Notes
Purpose:
• Control interface for
Arduino-compatible
circuit.
• Connects to mini-USB
for direct interaction
with computer
• UART interface to a
UART-USB converter,
that connects to a
USB3503 hub, for
control by primary CF3
module.
Arduino-compatible
Circuit Signals on
page 34
UIM1 on page 30
Microcontroller
for integrated
Arduinocompatible
circuit
Primary CF3 HSIC
interface
(Pins: 14, 15)
Hub
Mini-SIM holder
Primary CF3 UIM1
(Pins: 26–29)
Single
Purpose: UIM required to
establish mobile network
connection.
MUX
Purpose: UIM required to
establish mobile network
connection through primary
CF3, or through secondary
CF3 for dual data streams.
See also ...
Card slots
Mini-SIM
(CN801)
•
Micro-SIM
(CN802)
micro-SD
(CN802)
Micro-SIM/
microSD holder
(bottom slot)
Micro-SIM/
microSD holder
(top slot)
•
•
Primary CF3 UIM2
(Pins: 55–58)
Primary CF3 UIM1
(Pins: 26–29)
Secondary CF3
UIM1
(Pins: 55–58)
Primary CF3 SDIO
(Pins: 161–166)
•
•
•
•
•
•
UIM2 on page 30
UIM1 on page 30
Secondary CF3
Module Signals
on page 32
MUXing on
page 17
SDIO on page 25
MUXing on
page 17
MUX
Purpose: Provide access to
microSD card.
Single
Purpose:
• Direct connection to
primary CF3 module
USB signals
• Power supply when
selected by the Power
Supply Selection
Jumper (CN1204). See
mangOH Green User
Guide for details.
• USB OTG
USB 2.0 on page 30
Single
Purpose: Interact directly
with Arduino-compatible
circuit from connected
computer.
Arduino-compatible
Circuit Signals on
page 34
USB-type connectors
micro-USB
(CN311)
micro-USB
connector
mini-USB
(CN330)
mini-USB
connector
Rev 2 Dec.16
•
•
Primary CF3 USB
(Pins: 12, 13, 16)
Power (if selected)
ATmega32U4 USB
12
4118903
Hardware
Table 2-1: mangOH Green Hardware Components (Continued)
mangOH Green Components
Type and
Designator a
Description
CF3 / Arduino-compatible
Circuit Signal(s)
Signal(s) and Module
Pins
Path b
Notes
See also ...
USB Type A
connector
Primary CF3 HSIC
(Pins: 14, 15)
Hub
Purpose: Provides USB host
capability to primary CF3
module.
HSIC (USB/Ethernet)
on page 23
Ethernet
(CN1100)
RJ-45
connector
Primary CF3 HSIC
(Pins: 14, 15)
Hub
Purpose: Provides Ethernet
connection to primary CF3
module.
HSIC (USB/Ethernet)
on page 23
RS-232
(CN700)
DB9 serial
connector
Primary CF3 UART2
(Pins: 96–99)
MUX
Purpose: Provide a serial
connection over the DB9
connector.
RF Antennas
Main (CN307)
u.FL connectors
GNSS (CN306)
Diversity (CN304)
Primary CF3 RF
(Pins: 49 (Main), 38
(GNSS), 31 (Diversity))
Single
Audio
(CN500)
Primary CF3 digital or
analog audio signals
(Pins: 17–20 (analog),
30–33 (digital))
USB Host
(CN327)
Cable connectors
•
•
UART2 on
page 28
MUXing on
page 17
RF and Audio connectors
3.5 mm
connector
RF on page 25
•
MUX
Purpose: Provide audio
capability to primary CF3
module.
•
Audio (Analog
and PCM) on
page 18
MUXing on
page 17
Other ICs and components
Primary CF3 I2C1
interface
(Pins: 1, 6)
Purpose: Provides rotation
and acceleration
measurements to primary
CF3 module.
Gyroscope +
Accelerometer
(U704)
Integrated
LSM6DS3
inertial module
RTC capacitor
(CN320)c
Keep-alive
circuit
BAT_RTC (Pin 21)
Single
GPIO/PWM
expanders
Integrated
SX1509
expanders
Primary CF3 I2C1
interface
(Pins: 1, 6)
Hub
IoT Expansion
Card 0
(D702)
Green LED
LED_CARD_DETECT_I
OT0
Purpose: Indicates IoT
Expansion Card is in slot
IOT0.
IoT Expansion
Card 1
(D703)
Green LED
LED_CARD_DETECT_I
OT1
Purpose: Indicates IoT
Expansion Card is in slot
IOT1.
Hub
I2C1 on page 24
Purpose: Keeps the real
time clock powered when
DC, USB, and battery power
are not provided.
Purpose: Provides
additional GPIOs.
•
•
GPIO Expanders
on page 21
I2C1 on page 24
LEDs
Rev 2 Dec.16
13
4118903
mangOH Green (DV4) Developer’s Guide
Table 2-1: mangOH Green Hardware Components (Continued)
mangOH Green Components
Type and
Designator a
Description
CF3 / Arduino-compatible
Circuit Signal(s)
Signal(s) and Module
Pins
Path b
Notes
IoT Expansion
Card 2
(D704)
Green LED
LED_CARD_DETECT_I
OT2
Purpose: Indicates IoT
Expansion Card is in slot
IOT2.
Rx/Tx (Primary
CF3 module)
(D705)
Green LED
2G_TX_ON
Purpose: Indicates primary
CF3 module is transmitting/
receiving.
Rx/Tx
(Secondary CF3
module)
(D706)
Green LED
S_2G_TX_ON
Purpose: Indicates
secondary CF3 module is
transmitting/receiving.
RF Disabled
(D707)
Green LED
W_DISABLE_N
Purpose: Indicates RF
power is disabled for
primary CF3 module.
WLAN
Connected
(D200)
Green LED
WWAN_LED_N
Purpose: Indicates device is
connected to a WLAN.
AirVantage
Connected
(D760)
Green LED
AV_LED
Purpose: Indicates device is
connected to AirVantage.
Rx (Arduinocompatible
circuit)
(D1501)
Green LED
RXLED/SS
Purpose: Indicates Arduinocompatible circuit is
receiving.
Tx (Arduinocompatible
circuit)
(D1500)
Green LED
TXLED
Purpose: Indicates Arduinocompatible circuit is
transmitting.
V_SYS_BAT
(D1201)
Green LED
V_SYS_BAT
Purpose: Indicates battery is
charging.
VCC_3V7
(D1210)
Green LED
VCC_3V7
Purpose: Indicates device is
powered on.
Rev 2 Dec.16
14
See also ...
4118903
Hardware
Table 2-1: mangOH Green Hardware Components (Continued)
CF3 / Arduino-compatible
Circuit Signal(s)
mangOH Green Components
Type and
Designator a
Description
Signal(s) and Module
Pins
Path b
Notes
See also ...
Platform controls
mangOH Green User
Guide
Eight dipswitches:
Multi-switch
(SW401)
Module signals
control
1.
POWER_ON
(Pri CF3 Pin 59)
Single
Enable/disable primary CF3
module’s POWER_ON
signal
2.
MDM_Power
Single
Reserved for future use
3.
W_DISABLE_N
(Pri CF3 Pin 151)
Single
Enable/disable RF power
for primary CF3 module
RF on page 25
4.
SIM2_Detect
(Pri CF3 Pin 65)
Single
Manual switch to indicate
when a second SIM card is
inserted/removed.
UIM Signals on
page 29
5.
SW_PWR_ON
(Sec CF3 Pin 59)
Single
Enable/disable secondary
CF3 module’s POWER_ON
signal.
6.
UART_CTRL
(Pri CF3 Pins 96–
97)
Mux
Connect primary CF3
module’s UART1 signal
(RX/TX) to IoT Connector
UART (slot IOT0 or IOT1) or
ATmega32U4.
Single
Enable/disable primary CF3
module’s TP1 (boot) signal.
Single
Enable/disable secondary
power supplies (1.8V and
5V) to put mangOH Green in
basic mode (only primary
CF3 module powered) or
normal mode (all powered).
7.
8.
TP1_BOOT
(Pri CF3 Pin 47)
DCDC_shutdown
Power Management
on page 37
a. Board designators (e.g. CN311, SW401, etc.) are for reference against the published mangOH Green schematic. For component locations on the board, see Figure 2-2 and Figure 2-3.
b. Single (dedicated); MUX (simple switch); Hub (signal expander)
c. By default, RTC capacitor is not installed. See mangOH Green schematic for details if you want to install it.
Rev 2 Dec.16
15
4118903
mangOH Green (DV4) Developer’s Guide
IoT Expansion Cards
mangOH Green includes three IoT Expansion Card slots (IOT0, IOT1, IOT2). Each
slot has an IoT Connector that connects to the primary CF3’s signals as detailed in
Table 2-2.
In general, these slots support IoT Expansion Card specification signals as follows:
· IOT0—Full support
· IOT1, IOT2—Partial support
By default, specific signals are enabled for each slot when the mangOH Green boots.
For additional information, including default configurations and how to temporarily
change them, see IoT Connector Interfaces on page 33.
For detailed information about expansion cards, see the Project mangOH IoT
Expansion Card Design Specification available at mangoh.io.
Table 2-2: IoT Expansion Card Signal Connections to Primary CF3 Module
CF3 Signal(s)
IoT
Signal
USB
Supported?
Signal
Path
Notes
IoT 0
IoT 1
IoT 2
See also
HSIC
(Pins 14, 15)
Single
Purpose: Data transfer; application
control
Yes
Yes
Yes
HSIC (USB/
Ethernet) on page 23
•
UART1
(Pins 2, 9)
MUX
Purpose: Data transfer
Yes
Yes
No
•
UART1 on
page 27
MUXing on
page 17
UART
•
UART2 on
page 28
MUXing on
page 17
UART2
(Pins 96–99)
Yes
Purpose: Data transfer
No
No
Yes
SPI1
(Pins 51–54)
Yes
Purpose: Data transfer
Yes
Yes
No
•
•
Single Purpose: Data transfer
No
No
Yes
SPI2 on page 27
•
SPI
SPI2
(Pins 92–95)
SPI1 on page 26
MUXing on
page 17
I2C
I2C1
(Pins 1, 6)
Hub
Purpose: Data transfer (standard
mode). Higher speeds possible if
supproted by host application.
Yes
Yes
Yes
I2C1 on page 24
GPIO
GPIO
Single
Purpose: Customer-defined data
communication
Yes
Yes
Yes
Primary CF3 GPIOs
on page 19
SDIO
SDIO
(Pins 161–166)
•
Rev 2 Dec.16
Yes
Purpose: Data transfer
Yes
16
No
No
•
SDIO on
page 25
MUXing on
page 17
4118903
Hardware
Table 2-2: IoT Expansion Card Signal Connections to Primary CF3 Module (Continued)
CF3 Signal(s)
IoT
Signal
ADC0
Power
Supported?
Signal
Path
ADC0
(Pin 25)
IoT 0
IoT 1
IoT 2
Purpose: General purpose ADC
output to host application (e.g.
Single
indicate when a sensor has
triggered)
Yes
No
No
ADC on page 18
ADC1
(Pin 24)
Purpose: General purpose ADC
output to host application (e.g.
Single
indicate when a sensor has
triggered)
No
Yes
No
ADC on page 18
ADC2
(Pin 107)
Single
Purpose: General purpose ADC
output to host application (e.g.
indicate when a sensor has
triggered)
No
No
Yes
ADC on page 18
Receives three power inputs:
• 5.0V @ 500 mA
• 3.3V @ 200 mA
• 1.8V @ 50 mA
Yes
Yes
Yes
Power Management
on page 37
Power
n/a
Notes
See also
MUXing
Several interfaces use MUXing (simple switches) to associate multiple hardware
connectors with a single CF3 or Arduino-compatible circuit signal, or multiple CF3/
Arduino-compatible circuit signals with a single hardware connector.
The following sections describe these MUX implementations
Rev 2 Dec.16
•
MUX
· Audio (Analog and PCM) on page 18
· SDIO on page 25
· SPI1 on page 26
· UART1 on page 27
· UART2 on page 28
· UIM Signals on page 29
•
Hubs
· HSIC (USB/Ethernet) on page 23
· I2C1 on page 24
17
4118903
mangOH Green (DV4) Developer’s Guide
Primary CF3 Module Signals
This section describes how the primary CF3 module‘s signals connect to the platform
hardware described in mangOH Green Hardware Components on page 11.
Important: CF3 module signal availability depends on the type of module used—some
modules may not implement certain Extension signals from the CF3 specification.
ADC
mangOH Green provides three ADC (Analog to Digital converter) signal sources
(ADC0, ADC1, ADC2) defined by the CF3 specification.
Note: The CF3 specification includes ADC3, which is not supported by the mangOH Green.
The primary CF3 module’s ADC signals connect directly to the mangOH Green IoT
Connectors (pin 20), as shown in Figure 2-5:
•
ADC0—IoT Connector 0 (CN1000, slot IOT0)
•
ADC1—IoT Connector 1 (CN1001, slot IOT1)
•
ADC2—IoT Connector 2 (CN1002, slot IOT2)
Main CF3
ADC0
ADC0
IoT Connector #0
(CN1000, slot IOT0)
ADC1
ADC0
IoT Connector #1
(CN1001, slot IOT1)
ADC2
ADC0
IoT Connector #2
(CN1002, slot IOT2)
Figure 2-5: ADC Configuration
Audio (Analog and PCM)
The primary CF3 module’s audio signals—analog and PCM (digital)—connect via an
analog switch to the mangOH Green’s 3.5 mm analog audio jack as shown in
Figure 2-6.
The audio interface configuration can be modified as described in Table 2-3.
Rev 2 Dec.16
18
4118903
Hardware
Table 2-3: Audio Interface Configuration Changes
Change type
Change effect
Method
Change duration
Software
Mux1—Use default
or alternate
configuration.
API command
Modifies running
configuration until device
reboots or another change is
made.
Hardware
Mux1—Use default
or alternate
configuration
Set resistor on Mux1: Selected configuration used
every time device boots up.
• Low—Default
• High—Alternate
Mux2
IoT Connector #0
(CN1000, slot IOT0)
PCM
DigitalAnalog
Codec
Main CF3
Mux1
3.5mm
Jack
Analog
Note: Green arrows show default
hardware configuration
Figure 2-6: Audio Configuration
Primary CF3 GPIOs
The mangOH Green connects a subset of the GPIOs defined in the CF3 specification,
as shown in Figure 2-7 (it does not connect to any other GPIOs defined in the CF3
specification):
•
Each GPIO signal passes through a debug connector.
By default, the debug connectors (CN601, CN602) are not installed. To use them,
you must solder on appropriate connectors. For location and details, see the
mangOH Green schematics at mangoh.io.
•
Twelve GPIOs connect to IoT slots (four for each slot)
•
One GPIO (GPIO2) is connected to the NINT (active low interrupt) output signal
from a GPIO expander (U906). To enable this signal a jumper must be placed on
CN900.
Note: The mangOH Green uses GPIO expanders for additional I/O functions. See GPIO
Expanders on page 21.
The CF3 GPIO configuration can be modified as described in Table 2-4.
Rev 2 Dec.16
19
4118903
mangOH Green (DV4) Developer’s Guide
Table 2-4: CF3 GPIO Interface Configuration Changes
Change type
Jumper
Change effect
•
•
Off—Connect
GPIO2 to GPIO
expander NINT
signal
Off—Not
connected
Method
Install a jumper on
CN900 to connect
GPIO2 to NINT
CN900
Debug Connector (CN602)
GPIO2
NINT
Change duration
Remains in effect until
jumper is added or
removed.
GPIO Expander
(U906)
Debug Connector (CN601)
GPIO42
GPIO1
Debug Connector (CN601)
GPIO33
GPIO2
IoT Connector #0
(CN1000, slot IOT0)
Debug Connector (CN602)
GPIO13
GPIO3
Debug Connector (CN602)
GPIO8
GPIO4
Debug Connector (CN601)
GPI25
Main CF3
GPIO1
Debug Connector (CN602)
GPIO7
GPIO2
IoT Connector #1
(CN1001, slot IOT1)
Debug Connector (CN601)
GPIO32
GPIO3
Debug Connector (CN602)
GPIO21
GPIO4
Debug Connector (CN602)
GPIO22
GPIO1
Debug Connector (CN602)
GPIO23
GPIO2
IoT Connector #2
(CN1002, slot IOT2)
Debug Connector (CN602)
GPIO24
EXT_GPS_LNA_EN
(PWM, not GPIO)
GPIO3
Debug Connector (CN601)
GPIO4
Figure 2-7: GPIO Configuration
Note: CF3 pin 43 (EXT_GPS_LNA_EN) is not currently available for use by IoT Expansion
Card #2.
Rev 2 Dec.16
20
4118903
Hardware
GPIO Expanders
The mangOH Green includes three SX1509 16/32 GPIO/PWM expanders, as
detailed in Table 2-5. These provide additional GPIOs (over the primary CF3 module’s
I2C1 interface) used for internal I/O functions such as driving LEDs, resetting board
components, etc.
For detailed specifications, see the mangOH Green schematics at mangoh.io.
Table 2-5: GPIO Expander Signals
Desig
GPIO
Pin
Signal Name
Purpose
I/O_0
27
ARDUINO_RESET_Level shift
Arduino-compatible circuit reset (connected to reset button (SW1500)
I/O_1
28
BattChrgr_PG_N
Indicate ‘power good’ from battery charger
I/O_2
1
BattGauge_GPIO
Query battery charge level
I/O_3
2
LED_ON
Set HIGH to disable LEDs on-board (see U702 on schematic)
I/O_4
5
ATmega_reset_GPIO
Arduino-compatible circuit reset (via system reset)
I/O_5
6
connect_to_AV_LED
Input from onboard function button used to connect to AirVantage server
I/O_6
7
PCM_ANALOG_SELECT
S/W control (via API) to select either digital or analog audio for primary CF3
I/O_7
8
connect_to_AV_LED
LED to indicate AirVantage connection
I/O_8
13
Board_rev_res1
User-configurable
I/O_9
14
Board_rev_res2
User-configurable
I/O_10
15
UART_EXP1_ENn
UART multiplexer control (internal)
I/O_11
16
UART_EXP1_IN
UART multiplexer control (internal)
I/O_12
17
UART_EXP2_IN
UART multiplexer control (internal)
I/O_13
20
SDIO_SEL
SDIO multiplexer control (internal)
I/O_14
21
SPI_EXP1_ENn
SPI multiplexer control (internal)
I/O_15
22
SPI_EXP1_IN
SPI multiplexer control (internal)
U903
Rev 2 Dec.16
21
4118903
mangOH Green (DV4) Developer’s Guide
Table 2-5: GPIO Expander Signals (Continued)
Desig
GPIO
Pin
Signal Name
Purpose
I/O_0
27
GPIOEXP_INT1
Interrupt input from other GPIO expander (internal)
I/O_1
28
Battery_detect
Input that indicates whether a battery is connected to the mangOH Green
I/O_2
1
GPIO_SCF3_RESET
Reset Secondary CF3
I/O_3
2
LED_CARD_DETECT_IOT0
Input that indicates when IoT Expansion Card is in slot IOT0
I/O_4
5
LED_CARD_DETECT_IOT1
Input that indicates when IoT Expansion Card is in slot IOT1
I/O_5
6
LED_CARD_DETECT_IOT2
Input that indicates when IoT Expansion Card is in slot IOT2
I/O_6
7
UIM2_PWM_SELECT
SIM cards multiplexer (internal)
I/O_7
8
UIM2_M2_S_SELECT
SIM cards multiplexer (internal)
I/O_8
13
TP900
Test point
I/O_9
14
SENSOR_INT1
Interrupt from accel sensor (internal)
I/O_10
15
SENSOT_INT2
Interrupt from accel sensor (internal)
I/O_11
16
CARD_DETECT_IOT0
Indicates IoT Expansion Card is in slot IOT0
I/O_12
17
CARD_DETECT_IOT2
Indicates IoT Expansion Card is in slot IOT2
I/O_13
20
CARD_DETECT_IOT1
Indicates IoT Expansion Card is in slot IOT1
I/O_14
21
GPIOEXP_INT3
Interrupt input from other GPIO expander (internal)
I/O_15
22
BattChrgr_INT_N
Interrupt line from battery charger (internal)
I/O_0
27
USB_HUB_INTn
Interrupt line from USB hub (internal)
I/O_1
28
HUB_CONNECT
HUB connect signal (internal)
I/O_2
1
GPIO_IOT2_RESET
Send reset signal to IoT Expansion Card in slot IOT2
I/O_3
2
GPIO_IOT1_RESET
Send reset signal to IoT Expansion Card in slot IOT1
I/O_4
5
GPIO_IOT0_RESET
Send reset signal to IoT Expansion Card in slot IOT0
I/O_5
6
TP901
Test point
I/O_6
7
TP902
Test point
I/O_7
8
TP903
Test point
I/O_8
13
UART_EXP2_ENn
UART multiplexer control (internal)
I/O_9
14
PCM_EXP1_ENn
PCM multiplexer control (internal)
I/O_10
15
PCM_EXP1_SEL
PCM multiplexer control (internal)
I/O_11
16
ARD_FTDI
CF3 to Arduino-compatible circuit serial port transceiver reset
I/O_12
17
TP904
Test point
I/O_13
20
TP905
Test point
I/O_14
21
TP906
Test point
I/O_15
22
RS232_Enable
Enable/disable console port (DB9 connector)
U906
U909
Rev 2 Dec.16
22
4118903
Hardware
HSIC (USB/Ethernet)
The primary CF3 module’s HSIC signal connects through a pair of hub controllers to
the following sources, as shown in Figure 2-8:
•
USB1—Connects via a USB–UART FTDI (bridge) to the Arduino-compatible
circuit’s ATmega32U4 UART signal
•
USB2—Connects to the secondary CF3 module’s USB2.0 CLIENT
•
USB3— Connects to a USB Hub controller for:
· USB4—IoT Connector 0 (CN1000)—Connects to USB signal
· USB5—IoT Connector 1 (CN1001)—Connects to USB signal
· USB6—IoT Connector 2 (CN1002)—Connects to USB signal
· USB7—USB Host connector (CN327)
· RJ45 (Ethernet) connector (CN1100)
USB #1
USB
DW
Main
CF3
HSIC
HSIC
Up
USB3503
Hub
USB to
UART
FTDI
UART
ATMega32U4
USB #2
USB
DW
USB 2.0
Client
Secondary
CF3
USB
DW
USB #3
USB
UP
LAN9514
Hub
USB
Host
USB
DW
USB
Host
USB
DW
USB
Host
USB
DW
USB
Host
USB
DW
Rx/Tx
USB #4
USB
IoT Connector #0
(CN1000, slot IOT0)
USB
IoT Connector #1
(CN1001, slot IOT1)
USB
IoT Connector #2
(CN1002, slot IOT2)
USB #5
USB #6
USB #7
USB Host Type A
Connector
RJ45
+Mag
+LEDs
Figure 2-8: HSIC Configuration
Rev 2 Dec.16
23
4118903
mangOH Green (DV4) Developer’s Guide
I2C1
The primary CF3 module’s I2C1 signal connects to a hub that expands to the
following sources, as shown in Figure 2-9:
•
GPIO/PWM expanders—Used internally on the mangOH Green for I/O functions
such as driving LEDs, resetting board components, etc. For detailed information,
refer to mangOH Green schematics available at mangoh.io.
•
Accelerometer/Gyroscope—Accessible via API commands.
•
Battery gauge—Accessible via API commands.
•
Battery charger—Accessible via API commands.
•
IoT Connector 0 (CN1000)
•
IoT Connector 1 (CN1001)
•
IoT Connector 2 (CN1002)
•
Audio codec (U501)
All signal sources are enabled by default.
Note: The mangOH Green I2C interface operates in a single-master/multi-slave setup.
Main CF3
I2C1
Gyroscope/
Accelerometer
I2C
IoT Connector #0
(CN1000, slot IOT0)
I2C
IoT Connector #1
(CN1001, slot IOT1)
I2C
IoT Connector #2
(CN1002, slot IOT2)
Battery Gauge
I2C
Hub
Expander (U903)
Expander (U906)
Expander (U909)
USB3503 Hub
Audio Codec (U501)
Figure 2-9: I2C1 Configuration
Rev 2 Dec.16
24
4118903
Hardware
RF
The primary CF3 module’s RF signals (RF_MAIN, RF_GPS, RF_DIV) connect
directly to the following u.FL connectors on the mangOH Green:
•
RF_MAIN—CN307
•
RF_GPS—CN306
•
RF_DIV—CN304
Power for these signals can be enabled/disabled as described in Table 2-6.
Table 2-6: CF3 GPIO Interface Configuration Changes
Change type
Hardware
Main CF3
Change effect
Method
Enable/disable RF
power for primary
CF3 module
Set SW401 switch 3
(W_DISABLE_N):
• OFF—Enable RF
power (Default configuration)
• ON—Disable RF
power
RF_MAIN
Main
(CN307)
RF_GPS
GPS
(CN306)
RF_DIV
DIversity
(CN304)
Change duration
Until switch position
changes
Note: Green arrows show default
hardware configuration
Figure 2-10: Primary CF3 module RF Connections
SDIO
The primary CF3 module’s SDIO signal connects via a MUX to one of the following
sources, as shown in Figure 2-11:
•
microSD holder (CN802)—Default configuration
•
IOT Connector 0 (CN1000)
The SDIO interface configuration can be modified as detailed in Table 2-7.
Rev 2 Dec.16
25
4118903
mangOH Green (DV4) Developer’s Guide
Table 2-7: SDIO Interface Configuration Changes
Change type
Change effect
•
Software
•
Hardware
•
Method
Change duration
Use default or
alternate configuration.
API command
Selected
configuration used
every time device
boots up.
Jumper off—Use
uSD holder
Jumper on—Use
IOT Connector #0
Place or remove jumper
on CN902 to select
configuration.
Selected
configuration used
every time device
boots up.
Mux1
uSD Holder
(CN802)
Main CF3
SDIO
IoT Connector #0
(CN1000, slot IOT0)
Note: Green arrows show default
hardware configuration
Figure 2-11: SDIO Configuration
SPI1
The primary CF3 module’s SPI1 signal connects via a MUX to one of the following
sources, as shown in Figure 2-12:
•
IOT Connector 0 (CN1000)—Default configuration
•
IOT Connector 1 (CN1001)
The SPI1 interface configuration can be modified as detailed in Table 2-8.
Table 2-8: SPI1 Interface Configuration Changes
Change type
Rev 2 Dec.16
Change effect
Method
Change duration
Software
Mux1—Use default or
alternate configuration.
API command
Hardware
Mux1—Use default or
alternate configuration
Set resistor on Mux1: Selected configuration
• Low—Alternate used every time device
boots up.
• High—Default
26
Modifies running
configuration until device
reboots or another
change is made.
4118903
Hardware
Mux1
Main CF3
SPI
IoT Connector #0
(CN1000, slot IOT0)
SPI
IoT Connector #1
(CN1001, slot IOT1)
SPI1
Note: Green arrows show default
hardware configuration
Figure 2-12: SPI1 Configuration
SPI2
The primary CF3 module’s SPI2 signal connects directly to the mangOH Green’s IoT
Connector 2 (CN1002) as shown in Figure 2-13.
Main CF3
SPI1
SPI
IoT Connector #2
(CN1002, slot IOT2)
Figure 2-13: SPI2 Configuration
UART1
The primary CF3 module’s UART1 signal connects through MUXes to one of the
following sources, as shown in Figure 2-14:
•
IoT Connector 0 (CN1000)—Default configuration
•
IoT Connector 1 (CN1001)
•
ATMega32U4 (U1500)
The UART1 interface configuration can be modified as detailed in Table 2-9.
Table 2-9: UART1 Interface Configuration Changes
Change type
Change effect
•
Software
Rev 2 Dec.16
•
Mux1—Use default
or alternate configuration.
Mux2—Use default
or alternate configuration.
27
Method
API command
Change duration
Modifies running
configuration until
device reboots or
another change is
made.
4118903
mangOH Green (DV4) Developer’s Guide
Table 2-9: UART1 Interface Configuration Changes (Continued)
Change type
Change effect
Mux1—Use default or
alternate configuration
Hardware
Mux2—Use default or
alternate configuration
Method
Change duration
Set resistor on Mux1:
• Low—Default
• High—Alternate
Selected
configuration used
every time device
boots up.
SW401 Dipswitch 6
(UART_CTRL)
• ON—IoT
Connector
• OFF—
ATMega32U4
Selected
configuration used
until switch position
changes.
Set resistor on Mux2:
• Low—Alternate
• High—Default
Selected
configuration used
every time device
boots up.
Mux2
Mux1
Main CF3
UART
IoT Connector #0
(CN1000, slot IOT0)
UART
IoT Connector #1
(CN1001, slot IOT1)
UART
ATMega32U4
(U1500)
UART1
Note: Green arrows show default
hardware configuration
Figure 2-14: UART1 Configuration
UART2
The primary CF3 module’s UART2 signal connects via a MUX to one of the following
sources, as shown in Figure 2-15:
•
RS-232 DB9 serial connector (CN700)—Default configuration
•
IoT Connector 2 (CN1002)
The UART2 interface configuration can be modified as detailed in Table 2-10.
Rev 2 Dec.16
28
4118903
Hardware
Table 2-10: UART2 Interface Configuration Changes
Change type
Change effect
Method
Change duration
Software
Mux1—Use default or
alternate configuration.
API command
Modifies running
configuration until device
reboots or another
change is made.
Hardware
Mux1—Use default or
alternate configuration
Set resistor on Mux1: Selected configuration
used every time device
• Low—Default
boots up.
• High—Alternate
Mux1
UART
Main CF3
IoT Connector #2
(CN1002, slot IOT2)
UART2
RS-232 DB9
(CN700)
Transceiver
Note: Green arrows show default
hardware configuration
Figure 2-15: UART2 Configuration
UIM Signals
The mangOH Green implements both UIM interfaces (UIM1, UIM2) defined by the
CF3 specification. Figure 2-16 shows the default configuration used when the board
boots.
Note: Throughout this document, ‘UIM’ is used to refer to UIM, USIM, SIM, UICC.
Mux1
SIM Holder #1
(CN801)
UIM1
Mux2
Main CF3
Mux3
UIM2
SIM Holder #2
(CN802)
Secondary
CF3
UIM2
Note: Green arrows show default
hardware configuration
Figure 2-16: SIM Interfaces Configuration
Rev 2 Dec.16
29
4118903
mangOH Green (DV4) Developer’s Guide
The UIM interface configuration can be modified as detailed in Table 2-11.
Table 2-11: UIM Interface Configuration Changes
Change type
Software
Change effect
•
•
Hardware
Mux2—Use default or
alternate configuration.
Mux3—Use default or
alternate configuration.
Mux1, Mux2, Mux3—Use
default or alternate
configuration
Method
Change duration
API command
Modifies running
configuration until
device reboots or
another change is
made.
Set resistor on Mux:
• Low—Default
• High—Alternate
Selected
configuration used
every time device
boots up.
UIM1
The primary CF3 module’s UIM1 signal connects through multiplexers (as shown in
Figure 2-16) to:
•
mini-SIM holder (CN801)—Default connection
•
micro-SIM holder (CN802)
Note: The primary CF3 module’s UIM1_DET signal will indicate when a SIM is present in the
holder.
To switch the connected component, see Table 2-11.
UIM2
The primary CF3 module’s UIM2 signal connects through multiplexers (as shown in
Figure 2-16) to:
•
micro-SIM holder (CN802)—Default connection
Note: If CN802 has been connected to the secondary CF3 module’s UIM2 signal,
then the primary CF3 module’s UIM2 is unused.
Note: The primary CF3 module’s UIM2_DET signal must be triggered using SW401 switch_4
to indicate when a SIM is present in the holder. Set switch 4 to:
• OFF—Indicate that a SIM is in the holder (Default setting)
• ON—Indicate that the holder is empty
To switch the connected component, see Table 2-11.
USB 2.0
The primary CF3 module’s USB signal connects directly to the mangOH Green’s
micro-USB connector (CN311) as shown in Figure 2-17, for control by a connected
computer.
Rev 2 Dec.16
30
4118903
Hardware
Note: The micro-USB connector also acts as a power source, if selected. See Power
Management on page 37.
The USB 2.0 interface configuration can be modified as detailed in Table 2-12.
Table 2-12: USB 2.0 Interface Configuration Changes
Change type
Hardware
Change effect
•
•
•
Jumper on pins
closest to DC jack—
Select DC Power
Jumper on pins
furthest from DC
jack—Select USB
Power
Jumper off—Use
battery if connected,
otherwise no power
supplied
Main CF3
Method
Change duration
Position jumper on CN1204 to
choose DC or USB power.
Note: mangOH Green ships with
DC power selected (jumper on pins
closes to DC jack).
mangOH Green uses the
selected power supply until
the jumper changes.
USB2.0 micro-USB
connector
(CN311)
USB
Figure 2-17: USB_2.0 Configuration
Rev 2 Dec.16
31
4118903
mangOH Green (DV4) Developer’s Guide
Secondary CF3 Module Signals
This section describes how the secondary CF3 module‘s signals connect to the
platform hardware described in mangOH Green Hardware Components on page 11.
Important: CF3 module signal availability depends on the type of module used—some
modules may not implement certain Extension signals from the CF3 specification.
RF
The secondary CF3 module’s RF signals (RF_MAIN, RF_GPS, RF_DIV) connect
directly to the following u.FL connectors on the mangOH Green:
Secondary
CF3
•
RF_MAIN—CN309
•
RF_GPS—CN310
•
RF_DIV—CN308
RF_MAIN
Main
(CN309)
RF_GPS
GPS
(CN310)
RF_DIV
DIversity
(CN308)
Note: Green arrows show default
hardware configuration
Figure 2-18: Secondary CF3 module RF Connections
UIM2
The secondary CF3 module’s UIM2 signal connects through a multiplexer (as shown
in Figure 2-16) to:
•
micro-SIM holder (CN802)
Note: By default, this holder is connected to the primary CF3 module’s UIM2 signal.
To switch the connected component, see Table 2-11.
USB 2.0
The secondary CF3 module’s USB signal connects through a hub controller to the
primary CF3 module’s HSIC signal, as shown in Figure 2-8.
Rev 2 Dec.16
32
4118903
Hardware
IoT Connector Interfaces
The mangOH Green provides three IoT Connectors (in slots IOT0, IOT1, and IOT2)
that each support a set of the signals defined in the Project mangOH IoT Expansion
Card Design Specification, as detailed in Table 2-2.
The default configurations (enabled signals) for the IoT Connectors are shown in
Figure 2-19.
The IoT Connector interface configurations can be modified as detailed in Table 2-13.
Table 2-13: IoT Connector Interface Configuration Changes
Change type
Software
Change effect
Method
Change duration
Enable/disable identified
signal(s) on a specific IoT
Connector.
API command
Modifies running configuration
until device reboots or another
change is made.
IoT Connector #0
(CN1000, slot IOT0)
IoT Connector #1
(CN1001, slot IOT1)
IoT Connector #2
(CN1002, slot IOT2)
UART
UART
UART
PCM
n/a
SPI
n/a
SPI
SDIO
Main
CF3
PCM
n/a
USB
Main
CF3
n_RESET
SPI
SDIO
USB
n_RESET
I2C
I2C
GPIO(1-4)
GPIO(1-4)
PCM
n/a
SDIO
USB
Main
CF3
n_RESET
I2C
GPIO(1-3)
n/a
GPIO4
ADC0
ADC0
PPS
PPS
ADC0
n_CARD_DETECT
n_CARD_DETECT
PPS
n_CARD_DETECT
Note: Green arrows show default
hardware configuration
Figure 2-19: IoT Connector Configuration
Rev 2 Dec.16
33
4118903
mangOH Green (DV4) Developer’s Guide
Arduino-compatible Circuit Signals
The mangOH Green’s integrated Arduino-compatible circuit is accessed via an onboard ATmega32U4 micro-controller (U1500):
•
UART—The ATmega32U4’s UART signal connects through a USB–UART FTDI
(bridge) to the primary CF3 module’s HSIC signal, as shown in Figure 2-8.
•
USB—The ATmega32U4’s USB signal connects directly to a mini-USB connector
(CN330) for control by a connected computer.
To Main CF3 HSIC
USB-UART FTDI
(bridge)
UART
Atmega32U4
(U1500)
Arduino
USB
CN330
USB2.0 mini-USB
connector
Note: Green arrows show default
hardware configuration
Figure 2-20: Arduino-compatible Circuit Signals
Rev 2 Dec.16
34
4118903
Hardware
Reset Methods
The mangOH Green supports hardware and software resets of the entire board or
certain parts of the board, as shown in Figure 2-21:
•
Reset entire board, including the primary CF3 module, via the primary CF3
module’s RESET_IN_N signal:
· Hardware (manual)—Press the Reset button (SW400)).
· Hardware (automatic)—When the low current detector is triggered.
When the board resets, it stays in the reset state as long as low current is
detected.
•
Reset everything except the primary CF3 module:
· Software—Use an API command to trigger GPIO6 (primary CF3 module
pin 46), which connects to the mangOH Green’s System_reset.
•
Reset individual IoT Expansion Cards:
· Software—Use an API command to trigger specific GPIO expander signals:
· GPIO_IOT0_RESET—Reset IoT Expansion Card in slot IOT0.
· GPIO_IOT1_RESET—Reset IoT Expansion Card in slot IOT1.
· GPIO_IOT2_RESET—Reset IoT Expansion Card in slot IOT2.
•
Reset the secondary CF3 module—use an API command to trigger the
GPIO_SCF3_RESET expander signal, which connects to the secondary CF3
module’s RESET_IN_N signal.
For detailed specifications showing how full or partial resets are enabled, see the
mangOH Green schematics available at mangoh.io.
Rev 2 Dec.16
35
4118903
mangOH Green (DV4) Developer’s Guide
Level Shifter
(VGPIO to 3.3V)
(NTB0101)
GPIO Expander #1
(SX1509)
USB HUB +
LAN
(LAN9514)
VCC_1V8
V_ARD
Battery
Charger
CF3
LDO
Not Installed
PG_LDO
(open drain out)
VCC_1V8
47k
47k
VCC_1V8
Atmega_Reset
Not Installed
WP2Arduino_reset
VCC_1V8
Level
Translator
Atmel CPU
47k
47k
VCC_1V8
3V7
47k
47k
NCP303
POR reset
3.0V
Reset
(open drain out)
GPIO Expander #2
(SX1509)
LowPower reset
GPIO_SCF3_RESET
Reset
Button
System_reset
GPIO Expander #3
(SX1509)
Main CF3
Reset_SCF3
CF3 #2
USB HUB
(USB3503)
Reset IoT #0
IoT Expansion Card
in slot IOT0
Reset IoT #1
IoT Expansion Card
in slot IOT1
Reset IoT #2
IoT Expansion Card
in slot IOT2
47k
47k
47k
Figure 2-21: Reset Methods
Rev 2 Dec.16
36
4118903
Hardware
Power Management
The mangOH Green has two primary power supplies (DC power and USB), and a
rechargeable backup battery power supply option.
Figure 2-22 illustrates these power supplies, their voltage/current specifications, and
how they supply various components on the mangOH Green platform.
A multi-function switch (SW401) controls some power-related features (see Multiswitch (SW401) on page 15), including:
•
Switch 1—Enables/disables primary CF3 module’s POWER_ON signal.
•
Switch 5—Enables/disables secondary CF3 module’s POWER_ON signal.
•
Switch 8—Turns on/off power to everything except the primary CF3 module. Set
the switch to ON to turn off the power.
EN
4.5V to 17V
DC Jack
Jumper
5V Peripherals
SW401
Switch8
(DCDC_shutdown)
Regulator
and
charger
DC Jack
100mA typ
500mA Max
Load
Switch
(OPT)
5V boost
Reverse
Polarity
Protection
300mA typ
600mA max
EN
Load
Switch
(OPT)
3.3V Buck
Battery Charger
with Power Path
50mA typ
100mA Max
3V3 Peripherals
1V8 Peripherals
uSUB
Connector
Jumper:
Battery
Charging
Enable
LiPo
Battery
3.7V
EN
3x IoT
Expansion Cards
Load
Switch
(OPT)
1.8V Buck
300mA typ
500mA Max
200mA typ
900mA max
JST-PH
Connector
50mA typ
100mA Max
Battery
Gauge
5V
3V3
Vbatt
1V8
3.7V @ 1A continous, 2.5A peak
LDO
3.7V
LDO
CF3 Main
LDO
CF3
Secondary
Figure 2-22: Power Management
Rev 2 Dec.16
37
4118903
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising