Mini-Z ZPAN 28-Pin Module

Reference Design Mini-Z™ ZPAN 28-Pin Module RD000902-0512 Overview The Mini-Z ZPAN 28-Pin Module is a stand-alone 802.15 Personal Area Network that ...
2 downloads 1 Views 218KB Size
Reference Design

Mini-Z™ ZPAN 28-Pin Module RD000902-0512

Overview The Mini-Z ZPAN 28-Pin Module is a stand-alone 802.15 Personal Area Network that is produced in a 28-pin Dual Inline Pin package. The Mini-Z ZPAN 28-Pin Module integrates Zilog’s powerful ZNEO microcontroller with a Roving Networks 2402–2480 MHz RN-41 Personal Area Network Module. Designed for the hobbyist, student and engineer to quickly develop prototypes, proof of concept and demonstrations as well as provide the functionality required for hands-on learning, the Module is designed to be pin-compatible with the Parallax BS2 Series of modules as well as with Basic-Micro-Technology’s Basic ATOM Pro 28-M module. This flexibility allows you to utilize different vendor’s base boards that you may already have in your arsenal. The Module ships preprogrammed with a boot loader and a control shell that can be accessed through the serial port to allow control of the Module from a terminal program and upload your code hex file through the serial port. The Module is fully compatible with the ZDS II for ZNEO tools suite. You can write your programs in C and Assembly, then compile and upload the hex file through the serial port to the Module. You can also attach the USB Smart Cable (included in the Mini-Z ZPAN SSR Kit) and have full control over the ZNEO chip, including interactive debugging sessions.

Mounting the Mini-Z ZPAN 28-Pin Module The Mini-Z ZPAN 28-Pin Module is designed to plug into a base board such as the SSR Design Board, a key component of Zilog’s Mini-Z ZPAN SSR Kit. Pin 1 on the Module must be aligned with Pin 1 on the design board. Pin 1 on the Module is located near the chamfered corner, as indicated in Figure 1.

Figure 1. The ZNEO-Based Mini-Z ZPAN 28-Pin Module

RD000902-0512

Page 1 of 10

Mini-Z™ ZPAN 28-Pin Module Reference Design

Note: The Mini-Z Library file associated with this reference design, RD0006-SC01.zip, is available for download on zilog.com. This file has been tested with version 5.0.0 of ZDS II for ZNEO-powered MCUs. Subsequent releases of ZDS II may require you to modify the code supplied with this reference design.

Mini-Z ZPAN 28-Pin Module Features •

Powerful 16-bit CISC microcontroller



128 KB of Flash program space with 16-bit access and in-circuit programming



4 KB internal RAM with 16 bit access



24-bit address space



24-bit stack with overflow protection



Direct register-to-register architecture, allows each memory address to function as an accumulator. This improves execution time and decreases the required program memory



5.5 V to 15 V input with internal 5 V and 3.3 V regulation



4-channel, 10-bit ADC



Analog Comparator



Internal Precision Oscillator



I2C Master/Slave Controller



Enhanced Serial Peripheral Interface (ESPI)



Three standard 16-bit timers with capture, compare and PWM capability



12-bit PWM module with three complementary pairs, or six independent PWM outputs, with deadband generation and fault trip input



24 interrupts with programmable priority



Watchdog Timer with Internal RC Oscillator



On-Chip Debugger



Voltage Brown-Out protection (VBO)



Power-On Reset (POR)



Low power modes

Networking Support •

RD000902-0512

Secure wireless authentication – Class 1 Radio: 330’ (100 m) distance – Frequency: 2402–2480 MHz – FHSS/GFSK modulation: 79 channels at 1 MHz intervals

Page 2 of 10

Mini-Z™ ZPAN 28-Pin Module Reference Design

– – – – –

Secure communications: 128-bit encryption Error correction for guaranteed packet delivery UART local and over-the-air RF configuration Autodiscovery/pairing requires no software configuration (instant cable replacement) Autoconnect master, I/O pin (DTR) and character-based trigger modes



Built in networking applications: – Embedded stack profiles included (requires no host stack): GAP, SDP, RFCOMM and L2CAP Protocols, with SPP and DUN profile support – Bluetooth SIG qualified; end product listing – Certifications: FCC, ICS, CE



Fully qualified Bluetooth 2.1/2.0/1.2/1.1 Module



Bluetooth v2.0+EDR support

Module Pin Description Table 1 describes the functions of each of the Mini-Z ZPAN 28-Pin Module’s 28 pins. Table 1. Mini-Z ZPAN 28-Pin Module Pin-Out Alternate Function 1

Alternate Function 2

GPIO

ANA 0 (ADC)

T0IN0

PB1

GPIO

ANA 1 (ADC)

T0IN1

P2

PB2

GPIO

ANA 2 (ADC)

T0IN2

8

P3

PB3

GPIO

ANA 3 (ADC)

OPOUT

9

P4

PD0

GPIO

PWMH1

10

P5

PD1

GPIO

PWML1

11

P6

PA7

GPIO

SDA

12

P7

PA6

GPIO

SCL

13

P16

PH2

GPIO

ANA10

14

P17

PH3

GPIO

ANA11

15

P18

PD2

GPIO

PWMH2

Pin

Pin Name

ZNEO Pin Name

Base Function

1

SOUT

PA5

MCU Transmit

2

SIN

PA4

MCU Receive

3

DTR

PA3

CTS/DTR

4

VSS

GND

Ground

5

PO

PB0

6

P1

7

RD000902-0512

CPINP

Page 3 of 10

Mini-Z™ ZPAN 28-Pin Module Reference Design

Table 1. Mini-Z ZPAN 28-Pin Module Pin-Out (Continued) Alternate Function 1

Alternate Function 2

Pin

Pin Name

ZNEO Pin Name

Base Function

16

P19

PD7

GPIO

PWML2

17

P8

PC0

GPIO

T1IN/#T1OUT

CINN

18

P9

PC1

GPIO

T1OUT

COMPOUT

19

P10

PC2

GPIO

SS

20

P11

PC3

GPIO

SCK

21

P12

PC4

GPIO

MOSI

22

P13

PC5

GPIO

MISO

23

P14

PC6

GPIO

T2IN/#T2OUT

PWMH0

24

P15

PC7

GPIO

T2OUT

PWML0

25

VCC I/O



5 V in/out

26

Reset

Reset

Reset

27

VSS

GND

Ground

28

VIN



5.5–15 V in

Mini-Debug Connector The Mini-Z ZPAN 28-Pin Module uses a miniature debug connector (included in the Mini-Z ZPAN SSR Kit) to connect to the smart cables and to ZDS II. Alternatively, you can build your own adapter. The mini-debug adapter features a 4-pin single-row header; its pins are 2 mm apart, center to center. To connect the mini-debug adapter, wire a male header (equivalent to Molex part number 90120-0124) to a 6-pin (2 x 3) male header (equivalent to Molex 90131-0763) using the connections shown in Figure 2.

Figure 2. Mini-Debug to Debug Pin-Out

RD000902-0512

Page 4 of 10

Mini-Z™ ZPAN 28-Pin Module Reference Design

Electrical Characteristics Tables 2 and 3 describe the electrical and power consumption characteristics, respectively, of the Mini-Z ZPAN 28-Pin Module, and reflect all available data as a result of testing prior to qualification and characterization. As such, the data presented in these tables are subject to change. Note: Stresses greater than those listed in Table 2 may cause permanent damage to the device. These ratings are stress ratings only. Operation of the device at any condition outside those indicated in the operational sections of these specifications is not implied. Exposure to absolute maximum rating conditions for extended periods affects device reliability. For improved reliability, unused inputs must be tied to one of the supply voltages (VDD or VSS).

Table 2. Mini-Z ZPAN 28-Pin Module Characteristics Parameter

Min

Max

Units

VIN Range

5.5

15

Volts

Max Voltage Range for Serial Interface

–15

15

Volts

Pin 1, 2 & 3.

Max Voltage range, all other pins

–0.3

5.5

Volts

I/O pins and Reset.

VCC I/O Range

4.8

5.1

Volts

Max Current for I/O pins

–25

25

Milliamps (mA)

Max Current on input/inactive output

–5

5

Microamps (µA)

Max Dissipation

540

Milliwatts (mW)

Max Current

134

Milliamps (mA)

Max Current out on VCC I/O

100

Milliamps (mA)

Low-level input

–0.3

1.08

Volts

High-level input

2.5

3.6

Volts

Low-level output

0

.6

Volts

High-level output

2.4

3.3

Volts

I/O leakage current

–5

5

Internal VREF

1.9

2.1

Volts

Ambient temperature

–40

105

Degrees Celsius

Storage temperature

–65

150

Degrees Celsius

RD000902-0512

Notes

With respect to the ZNEO MCU, not including VCC I/O.

Microamp (µA) 2V, typical.

Page 5 of 10

Mini-Z™ ZPAN 28-Pin Module Reference Design

Table 3. ZPAN Module Power Consumption

RD000902-0512

State

Typical

Units

Sleep

2.5

Microamps (mA)

Connected (low power sniff)

8

Milliamps (mA)

Connected (NORMAL Mode)

30

Milliamps (mA)

Rx Supply Current

35

mA

Tx Supply Current

65

mA

Page 6 of 10

Mini-Z™ ZPAN 28-Pin Module Reference Design

Packaging Figure 3 labels each pin of the Mini-Z ZPAN 28-Pin Module.

Figure 3. Mini-Z ZPAN 28-Pin Module Pin Diagram RD000902-0512

Page 7 of 10

Mini-Z™ ZPAN 28-Pin Module Reference Design

Ordering Information The Mini-Z ZPAN 28-Pin Module can be ordered from the Zilog Store using the part number listed in Table 4. Table 4. Mini-Z ZPAN 28-Pin Module Ordering Information Part Number

Description

Store Product ID

Z16F28ZP100MODG

Mini-Z ZPAN 28-Pin Module

RD10008

Z16F28ZP100KITG

Mini-Z ZPAN SSR Kit

RD10009

Kit Contents The Mini-Z ZPAN SSR Kit contains the following elements: •

Mini-Z ZPAN 28-Pin Module



Mini-Z Solid State Relay Design Board



USB Smart Cable



Mini-Z to standard debug adapter



USB cable (A male to Mini-B male)



DIP Package Extractor

Related Documentation The documents associated with the Mini-Z ZPAN 28-Pin Module are listed in Table 5. Each of these documents can be obtained from the Zilog website (except where noted) by clicking the link associated with its Document Number. Table 5. ZAURA RF Wireless Module Documentation Document Number

Description

RD0009

This Mini-Z ZPAN 28-Pin Module Reference Design document

RD0006-SC01

Mini-Z Library

QS0086

Mini-Z ZPAN 28-Pin Module Quick Start Guide

RM0063

Mini-Z ZPAN Shell and Flash Loader Reference Manual

RD0006

Mini-Z ZNEO 28-Pin Module Reference Design document

PS0220

ZNEO Z16F Series Product Specification

UM0188

ZNEO CPU Core User Manual

UM0181

USB Smart Cable User Manual

RN website

Roving Networks Class 1 Bluetooth® Module Data Sheet

RN website

Roving Networks Bluetooth® Product User Manual Version 4.77

RD000902-0512

Page 8 of 10

Mini-Z™ ZPAN 28-Pin Module Reference Design

Schematic Diagram Figure 4 shows a schematic diagram of the Mini-Z ZPAN 28-Pin Module.

+

C2 .1uF

C3 10uF 6.3V

R2 3.0K

C5

LED1 BLU

22pF C7

C6 1uF

3.3V Y1 20MHZ

R3 R4 10K 10K DBG

22pF

RESET

3.3V

10K R7

R8

1 2 3 4 5 6 7 8 9 10 11 12 13 14

10K

R13 10K

R12 10K PA4 Q2 2N3904

28 27 26 25 24 23 22 21 20 19 18 17 16 15

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

3.3V RESET

R17 10K

PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 PD7 PD2

C13 .1uF

LED5 GRN

C10 10uF 6.3V

R15 470

64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49

VSS AVDD PH0/ANA8 PH1/ANA9 PB0/ANA0/T0IN0 PB1/ANA1/T0IN1 PB4/ANA4 PB5/ANA5 PB6/ANA6/OPINP/CINN PB7/ANA7/OPINN PB3/ANA3/OPOUT PB2/ANA2/T0IN2 PH2/ANA10 PH3/ANA11/CPINP VREF AVSS

C11 10nF

PA1/T0OUT PA2/DE0/FAULTY PA3/CTS0/FAULT0 VSS VDD PF7 PC5/MISO PD3/DE1 PD4/RXD1 PD5/TXD1 PC4/MOSI VDD VSS PA4/RXD0 PA5/TXD0 PA6/SCL

48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33

PF7 PC5 PD3 PD4 PD5 PC4 PA4 PA5 PA6

R9 2K

R10 2K

R11 470

17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32

R14 10K

VREF

R18 10K

OUTPUT

Z16minZ28

PB0 PB1 PB4 PB5 PB3 PB2 PH2 PH3

3.3V

3.3V DBG/TCK GND RST/DTI

SS MISO MOSI SCLK

4 3 2 1

PC4 PB5 PB4

(MOSI) HI=MASTER MODE High= 115Kb

PC3

(SCK)

PE7

SPI 3.3V

PC0 PC1

25 SPI_MISO SPI_CSB PIO4 PIO5 PIO3 PIO2 USB_DUSB_D+ UART_CTS UART_RTS UART_TX UART_RX

24 23 22 21 20 19 18 17 16 15 14 13

DISCOVERY

PE5

RESET FACTORY DEFAULTS

PE6

CONCT STATUS

PD3 PD6 PD4 PD5

35 29 34 33 32 31 28 30

C9 .1uF

GND SPI MOSI PIO6 PIO7 RESET SPI_CLK PCM_CLK PCM_SYNC PCM_IN PCM_OUT VDD GND

AIO1 GND PIO11 PIO10 PIO9 PIO8 GND AIO0

P1

GND

U3 RN-41 1 2 3 4 5 6 7 8 9 10 11 12

27

(SS) (MISO)

GND

PF7 PC5

PD7 PC3 PD6 PA7

3.3V

PB0 PB1 PB2 PB3 PD0 PD1 PA7 PA6 PH2 PH3

PA5/TX VIN VSS PA4/RX PA3/RTS RESET VSS VCC/IO P0 P15 P1 P14 P2 P13 P3 P12 P4 P11 P5 P10 P9 P6 P7 P8 P16 P19 P17 P18

5V

PE7 PE6 PE5

D1 1N4148WX

5.5-15V

U2

PC6 PC7

C8 1.0uF

PA5

38.3K

PC0/T1IN/T1OUT/CINN PC1/T1OUT/COMPOUT DBG PC6/T2IN/T2OUT/PWM0H PC7/T2OUT/PWM0L VDD PG3 VDD PE7 PE6 PE5 VSS PD7/PWM2L PC3/SCK PD6/CTS1 PA7/SDA

100 Q1 MMBT5401LT1G

XIN XOUT PD0/PWM1H PD1/PWM1L VSS PE0 PE1 PE2 VSS PE3 PE4 VDD RESET PC2/SS PD2/PWM2H PA0/T0IN/T0OUT

U1 Z16F2810AG20SG

5V R6

J1

DEBUG2MM

C12 .1uF

R5

1 2 3 4

GRN

4

RED

NR

LED4

GND

LED3

EN

YEL

3

LED2

C1 22uF 10V

PC2 PD2

R1 1M

3.3V 5

PE3

GND GND FB AGND

VIN VOUT

PE0 PE1 PE2

6.8uH 1.6A 12 11 10 9

VR1 REG102NA-3.3

5 6 7 8

C4 10uF 25V

PGND VIN VIN EN

SYNC PGND LBO SW LBI SW VINA PG

1 2 3 4

1

PD0 PD1

5V L1

2

VR2 TPS62112RSAT 16 15 14 13

5.5-15V

PE0 PE1 PE2 PE3

RF (RX/TX) STATUS

Figure 4. Mini-Z ZPAN 28-Pin Module Schematics RD000902-0512

Page 9 of 10

Mini-Z™ ZPAN 28-Pin Module Reference Design

Customer Support To learn more about this product, find additional documentation, get your technical questions answered or report issues, please contact [email protected].

Warning:

DO NOT USE THIS PRODUCT IN LIFE SUPPORT SYSTEMS.

LIFE SUPPORT POLICY ZILOG’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS PRIOR WRITTEN APPROVAL OF THE PRESIDENT AND GENERAL COUNSEL OF ZILOG CORPORATION. As used herein Life support devices or systems are devices which (a) are intended for surgical implant into the body, or (b) support or sustain life and whose failure to perform when properly used in accordance with instructions for use provided in the labeling can be reasonably expected to result in a significant injury to the user. A critical component is any component in a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness. Document Disclaimer ©2012 Zilog, Inc. All rights reserved. Information in this publication concerning the devices, applications, or technology described is intended to suggest possible uses and may be superseded. ZILOG, INC. DOES NOT ASSUME LIABILITY FOR OR PROVIDE A REPRESENTATION OF ACCURACY OF THE INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED IN THIS DOCUMENT. ZILOG ALSO DOES NOT ASSUME LIABILITY FOR INTELLECTUAL PROPERTY INFRINGEMENT RELATED IN ANY MANNER TO USE OF INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED HEREIN OR OTHERWISE. The information contained within this document has been verified according to the general principles of electrical and mechanical engineering. ZNEO and Mini-Z are trademarks or registered trademarks of Zilog, Inc. All other product or service names are the property of their respective owners.

RD000902-0512

Page 10 of 10