93
External Use TM Kinetis MCU-Based M2M and VoIP Solution for Consumer and Commercial Applications FTF-CON-F0129 APR.2014 Rudan Bettelheim | Business Development Manager David Steele | Arcturus Product Manager

Hands-On Workshop: Kinetis MCU-Based M2M and VoIP … · Dolby DTS/SRS VoIP Others ... Ou tp u ts Console Netw o r k +12VDC Ex p an s i o n Co n n ec to r s I/O Co n n ec to r s SDc

  • Upload
    trinhtu

  • View
    213

  • Download
    0

Embed Size (px)

Citation preview

External Use

TM

Kinetis MCU-Based M2M and

VoIP Solution for Consumer and

Commercial Applications

FTF-CON-F0129

A P R . 2 0 1 4

Rudan Bettelheim | Business Development Manager

David Steele | Arcturus Product Manager

TM

External Use 1

Agenda

• Introduction to Freescale Audio Solutions

• M2M Introduction

• Voice Communication Crash Course

• Live Demo

• Freescale and Arcturus K60 Based Voice IoT Solution

• Q & A

• Hands on Lab

TM

External Use 2

Introduction to Freescale Audio Solutions

TM

External Use 3

Freescale Audio Solution Overview

Focus on Mono and Stereo audio with digital interconnect and processing, and multi-channel audio accessories • Optimized for ARM Cortex-M4 core and Kinetis K family

• Wide range of available MCUs with a rich selection of memory,

peripheral, and connectivity options

• Will support ARM Cortex-Ax (Vybrid and i.MX) families later,

primarily for multi-channel applications

• Flexible solution framework for easy configuration and customization

• Basic audio software is free for use on Freescale MCUs

• Premium Audio Functions are subject to a software royalty and possibly to licensing from IP owners

• Tower System support for development and rapid prototyping

TM

External Use 4

Au

dio

So

luti

on

So

ftw

are

Freescale Audio Solution

Hardware

Low Level

RTOS

Standard

Audio

Value Added

Audio

SW Codecs

T

M

MCU USB I2S Ethernet SD

CPU DSP

UART

Memory DMA

I2S Analog Audio

HW Codec/Class-D/FM Modulator

USB

Stack

TCP/IP

Stack

SD

Driver

Audio

Drivers

Serial

Drivers

I/O

Drivers

MP3 en., de.

AAC de.

HE AAC de.

APE de.

FLAC de.

OGG Vorbis de.

WAV en., de.

WMA de.

Volume

Control

Tone

Control

Graphic

Equalizer

Loudness

Control

Sample Rate

Converter

Stereo

Widening Dolby DTS/SRS VoIP Others

No RTOS (“Bare Metal”) Kinetis L, Kinetis K

MQX Kinetis K, Vybrid

Linux Vybrid, i.MX

TM

External Use 5

Freescale Audio Solution (FAS) Framework

• Freescale Audio Solution (FAS) Framework is being developed for Kinetis, Vybrid, and i.MX processors

• The framework includes functional blocks to deliver media player functionality:

− Multimedia Framework with Radio Tuner and CD Support.

− CE Device Connectivity supporting MFi, USB, SD and AOAP

− External device management and control.

− Input management and control for touch screen, buttons and knobs.

− HMI Framework

− Bluetooth Stack and Profiles with AEC/NS (HFP, A2DP, AVRCP)

• Using an OS Abstraction provides platform support on MQX and Linux* and can be modified to work with any modern operating system

TM

External Use 6

AA Solutions Framework and Components A

ud

io S

olu

tio

n

So

ftw

are

Hardware

Low Level

OS

TM MCU /MPU

USB I2S Ethernet SD

DSP

UART

Memory DMA

I2S Analog Audio

HW Codec/Class-D/FM Modulator

USB Stack

TCP/IP Stack

SD Driver

Audio Drivers

Serial Drivers

I/O Drivers

MQX Linux

Media Player

Media Browser

Media Indexing

Playlist / Play

Queue

Customer Applications

FAS Framework

Common Audio Framework API

Media Device Support

OS Abstraction Layer

Additional 3rd Party OS

Support (uItron)

Refe

ren

ce iO

S / A

ndro

id A

pp

s

Platform Teams

AA Team 3rd Party

De

vic

e M

an

ag

er

Input M

ana

ge

r

An

dro

id A

cce

ss

ory

So

ftw

are

Android Open Accessory Protocol (AOAP) • Device and AOA Detect • Audio Streaming • HID playback support • HID App and Accessory communication

Hardware

Low Level

RTOS

Accessory Interface

Software

Android App (Examples)

TM

MCU I2S

CPU DSP Memory DMA

USB Ethernet SD I2S Analog Audio

HW Codec/Class-D/ FM Modulator

USB Stack

TCP/IP Stack

SD Driver

Audio Drivers

Serial Drivers

I/O Drivers

Speaker Dock

EKG Altimeter Accessory

MCU Firmware Update

Others

I2C Driver

Accessory Software

USB/MHL Connector

GUI Sensor System

Actuator System

EKG Altimeter Digital Audio Processing

Accessory MCU Firmware

Update

Audio Decoder* (for USB MSC only)

MP3 AAC HE AAC APE FLAC OGG Vorbis WAV WMA

USB Mass Storage Class (requires audio decoder)

(does not support device

based playback control)

UART I2C

USB Host mode

streaming

No RTOS (“Bare Metal”) Kinetis L, Kinetis K

MQX Kinetis K, Vybrid

Linux Vybrid, i.MX

Au

dio

So

luti

on

So

ftw

are

Hardware

Low Level

RTOS

Standard Audio

Value Added Audio

SW Codecs

TM

MCU USB I2S Ethernet SD

CPU DSP

UART

Memory DMA

I2S Analog Audio

HW Codec/Class-D/FM Modulator

USB Stack

TCP/IP Stack

SD Driver

Audio Drivers

Serial Drivers

I/O Drivers

MP3 en., de.

AAC de.

HE AAC de.

APE de.

FLAC de.

OGG Vorbis de.

WAV en., de.

WMA de.

Volume Control

Tone Control

Graphic Equalizer

Loudness Control

Sample Rate Converter

Stereo Widening

Dolby DTS/SRS VoIP Others

No RTOS (“Bare Metal”) Kinetis L, Kinetis K

MQX Kinetis K, Vybrid

Linux Vybrid, i.MX

MF

i In

terf

ac

e S

oft

wa

re

30-pin Lightning

Hardware

Low Level

RTOS

MFi Interface Software

iOS App (Examples)

TM

MCU I2S

CPU DSP Memory DMA

USB Ethernet SD UART I2S Analog Audio

HW Codec/Class-D/ FM Modulator

USB Stack

TCP/IP Stack

SD Driver

Audio Drivers

Serial Drivers

I/O Drivers

Speaker Dock

EKG Altimeter Accessory

MCU Firmware Update

Others

I2C

I2C Driver

Accessory Software

Dock Connector

GUI Sensor System

Actuator System

EKG Altimeter Digital Audio Processing

Accessory MCU Firmware

Update

No RTOS (“Bare Metal”) Kinetis L, Kinetis K

MQX Kinetis K, Vybrid

Linux Vybrid, i.MX

Other

Freescale Audio Solution (FAS) Framework Architecture

TM

External Use 7

Accessories and Digital Audio MCUs and MPUs

2 channel Audio Processing,

USB, Ethernet, Wireless

Connectivity

Media Library Browsing,

Complex Audio Processing,

Multi-channels Audio

Basic Audio

Processing

ARM Cortex A9

i.MX6 family

ARM9 i.MX2 family

ARM Cortex-A5

and Cortex-M4

Vybrid family

ARM

Cortex-

M4

Kinetis K

family

ARM

Cortex-

M0+

Kinetis L

family

USB Digital

Audio Streaming

Lin

ux O

S

No O

S

MQ

X L

ite

RT

OS

M

QX

RT

OS

TM

External Use 8

Target Audio Applications

Mono and Stereo audio with digital interconnect and processing, and multi-channel audio accessories • MFi Speaker Docks

• MFi Accessories

• Android Speaker Docks • Android Accessories

• SoundBars

• Portable audio recorders • Gaming Headsets

• Networked audio endpoints

• USB microphones • USB speakers

• XBOX Accessories

• Musical effects equipment • Professional audio equipment

• VoIP Intercom systems

• VoIP Public Address (PA) systems • VoIP telephony

• Automotive after market audio

• And many more, let your imagination run wild

TM

External Use 9

Target VoIP Application Areas

• Digital Intercom Systems

• Digital Public Address (PA) Systems

• IP Telephony

• Voice Control Systems

TM

External Use 10

Freescale Kinetis based VoIP Solutions

Software Hardware Hardware

VoIP System Overview

Internet

Mic

rop

ho

ne

Audio

CODEC

(AEC)

Sp

ea

ker

Analog to Digital

and

Digital to Analog

Conversion

An

alo

g

SS

I

Vocoders

G.711

G.722

OPUS

Voice

Compression

and

Decompression

AP

I

Call Control

and Signaling

(SIP)

AP

I

RTOS

(MQX)

Protocol

Stacks

and

Low Level

Drivers

(TCP/IP)

AP

I

Ethernet

MAC & PHY

(wired or

Wireless)

Eth

ern

et

Call Setup

and Control

Packet Handling

and Streaming

Bit Transmission

and Reception

CODEC MCU/MPU PHY

TM

External Use 11

VoIP System Software Overview

Software Hardware Hardware

Internet

Mic

rophone

Audio CODEC

Speaker

Analog to Digital

and

Digital to Analog

Conversion

Analo

g

SS

I

Vocoders

Voice

Compression

and

Decompression

AP

I

Call Control

and Signaling

(SIP)

AP

I

Protocol Stacks

and

Low Level

Drivers

(TCP/IP)

AP

I

Ethernet

MAC & PHY

(wired or

Wireless)

Eth

ern

et

Call Setup

and Control

Packet Handling

and Streaming Bit Transmission

and Reception

Partner: Consilient Technologies Supplied as binary, with some

parameters (such as echo

cancelation) tunable. Suitable for 1 or

2 Audio channel applications.

Algorithms supported:

G.168 LEC, AEC, DTMF, CPT, AGC,

G.711, G.722

Partner: Arcturus OpenSIP based telephony/media MiddleWare

solution from with proprietary components.

Open source portions supplied as source code,

proprietary portions as binary.

Telephony application includes support for:

Caller-ID, Call Waiting, Hold/Retrieve, Call

Transfers, Conference, Hotline, Push-to-Call,

Speed Dials, CID Privacy, Outgoing Call

Blocking, Call Back on Busy…

Part numbers include software

licenses and technical support

Software solution is supplied as a fully integrated and tested package

RTOS (MQX)

RTOS/OS: MQX or Linux

Device Management

Management MiddleWare from Arcturus including

web user interface, remote provisioning, voice response

TM

External Use 12

Freescale VoIP Solutions History and Roadmap

ARM Cortex-Ax MPU

Kinetis (ARM Cortex-M4) MCU Intercom

PA, IP Telephony

Kinetis K60 120

MHz

ColdFire V3 MPU Intercom

PA, IP Telephony

MCF53281

MCF5301x

MCF53271

Analog Telephone

Adaptor (ATA)

MCF52268

MCF5227x

Analog Telephone

Adaptor (ATA)

Kinetis K60 100

MHz

ColdFire V2 MCU

MQ

X R

TO

S

Lin

ux O

S

No O

S

Proposed

TM

External Use 13

Kinetis K60 VoIP and IoT System

Designed for:

• Public Address Systems

• Intercom Systems

• IP Telephony

− Includes optional IoT remote monitoring and control

− Developed and supported by Freescale partner Arcturus Networks

− Module and development system is available at:

− http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=ARCT-K60VOIP-KT&fsrch=1&sr=4

K60 MCU Software Hardware Hardware

Audio

Subsystem ASIC Analo

g

SA

I, I

2S

...

Vocoders

Ethernet

MAC & PHY

(wired or

Wireless)

M2M

Bit Transmission

and Reception

Software solution is preloaded and provided as binary

File system

Interrupts

Processes

Scheduler, Timers

Protocols, Drivers

Services

Interfaces

MQX

VoIP\SIP Stack

Firmware and Database

Digital I/O Inputs / Output

Controls

Network

1011011

MQX

MCU Middleware

Management

Middleware

Subsystem

Application Framework (future)

Device Virtualization

M2M Agent Discovery

Serial Sensors/SCADA

Wired/Wireless

Peripherals

(I2C, UART, SPI)

1011011

1101101

Voice

M2M

Host

GPIO – Input Push Buttons

GPIO – Output LEDs

PoE

Reset Button

Kinetis K60 VoIP MCU

Audio ASIC

Network Transceiver

15W Class-D

Amp

I/O Isolation Spark Gap +

TVS

Reset / Watchdog

Network Transformer

Head- phones

Line Out

Line In

Mic L Speaker Outputs

Console Network

+12VDC

Expansion Connectors

I/O Connectors

SDcard Slot

RTC BATT Holder

Mic R

Connector

Component

TM

External Use 14

So

ftw

are

OS Kernel

FSL BSP

Drivers

H

ard

ware

MS

S P

rim

ary

Fo

cu

s A

rea

UI &

Applications

Vybrid

Solutions

i.MX

Solutions

MSS Architecture Focus Area

Middleware

Kinetis

Solutions

Professional Services Focus

Software Services

• Linux, Android, MQX BSP’s, Audio Framework − Customization

− Integration

− Development

− Porting

− Testing

− Optimization

− Issue analysis, Debug & Fix

• Long-term support on Customer Board

Hardware Services

• Schematic and layout optimization & review

• Simulation

• On-site board bring-up

TM

External Use 15

define design develop integration

and test deploy

• Requirements

Gathering

• Project

Assessments

• IP Selection

• Design

Consulting

• System

Consulting

• Architecture

• Custom

Development

• Porting /

Migration

• Integration

• Testing

• Documentation

• Performance

Testing

• Performance

Optimization

• Knowledge

Transfer

• Project

Specific

Support

(3rd Level)

• Maintenance

• Performance

Tuning

Quality Assurance (ISO, CMMI & SPICE Level III)

Services Development Methodologies & Quality:

Engineering Discipline

TM

External Use 16

M2M Introduction

TM

External Use 17

M2M Introduction

What is M2M?

• Machine to Machine communications

• Autonomous – no human interaction

• Targets networks of connected sensors, actuators and end-points (IoT)

• Application layer protocol

• Device-to-host or device-to-device interaction

• Various wired or wireless networks

• Consumer and industrial applications

• M2M is to IoT what html is to the web

What does it do?

• Provides centralized method to interact with devices via common host

• Provides personalization, presentation via host

• Enables subscription based services

• Enables device collaborations and connected intelligence

• Eliminates the need for “expensive” http GUI on device

• Results in a disruptive technology that creates desire and value

TM

External Use 18

Why is M2M the MTV of Technology?

TM

External Use 19

MTV

The birth of the music generation…

• In 1981 music was music and television was television

• Virtually no music videos existed

• No legitimate cable network would host them

• No TV executive believed the consumer would pay a premium for a

music television service

• Had virtually no network coverage

• Record companies saw it as a threat

How did it become so successful?

• Confluence of factors:

• Gross underestimation of consumer desire

• Cable companies saw a spike in second jack installation in rec-

rooms and bedrooms.

• Record sales spiked in areas serviced by MTV

• Bands realized videos led to exposure

• Record labels began providing videos for free to MTV

TM

External Use 20

M2M and IoT

The birth of the IoT generation….

• In 2011 was limited to industrial applications, cellular backhaul, satellite, SCADA

• in 2011 the web was for websites - apps were for services, not device interaction

• Virtually no cloud services suitable for telemetry data

• No executives believed the consumer would pay a premium for a thermostat controlled by a phone

• Traditional device manufacturers were not in the business to provide backend services

• No wide spread solution to control devices on a remote network

Why will it be successful?

• Confluence of factors:

• Gross underestimation of consumer desire

• Ubiquity of the $500+ free user interface

• Carriers saw it as a great way to expand data usage

• Equipment manufactures saw it as way to enable back end services

• Cloud service provides saw this as a great way to utilize capacity by

aggregating connectivity and data – even free (to start)!

$300 and “sexy”

TM

External Use 21

There is Value in Adaptation…

1Source: 10 Great Companies That Lost Their Edge - US News.com

1

1

1

1

1

1

1

1 1

TM

External Use 22

The Capabilities of M2M

Connection

Configuration

Control Maintenance

Telemetry

TM

External Use 23

Markets and Applications

• SCADA systems

• Building systems

• Smart metering /energy

• Digital signage/ PoS

• Environmental monitoring

• Home control / HVAC

• Fitness and wellness

• Home security

• Wearables

Industrial Consumer

Transportation Healthcare

• OnStar

• Fleet and asset tracking

• DBS-II reporting

• ACARS

• Biometrics

• Assisted living

• Nurse call

• Telehealth

TM

External Use 24

M2M / IoT Connectivity Overview

Technology Spectrum / Data Manufacturers Benefit Challenge

Satellite 1(min)-8Kbyte (max)

5-60 seconds latency

MHz to Ku-band 12-18GHz

Orbcomm, Tecom

Skywave, Inmarsat, Hughes,

Irridium , Globalstar

•Truly global

•Low earth orbit (LEO)

•Geostationary

•Line of sight

•Low data payload

•Expensive

•Modems only

Cellular CDMA/GSM (2G/3G), EDGE,

LTE, up to megabits/s 1.4, 3, 5,

10, 20MHz

Telit, Moxa, Sierra, Motorola,

Siemens, Qualcomm, Cinterion

•Global deployment •Compatibility across

networks - VNOC (such as

Kore)

•Certification / cost

Wireless LAN 802.11bgn, 2.4GHz – 5GHz

up to megabits/s

Qualcomm, Redpine, Gainspan

Ubiquity , No on-going

cost, high data rate,

secure

Configuration , certification

Low-power, indoor

Wired LAN N/A

Up to gigabit/s

Various •Ubiquity, no on going

cost, reliability

•Security, fixed

BT / BLE

2.4GHz, BLE up to 50m,

0.27Mbit/s, BT up to 100m,

0.7-2.1Mbit/s

Stonestreetone, CSR,

Panasonic, STmicro,

ConnectBlue, Microchip, Atmel,

Muli-Tech

•Security

•Low power modes

•BLE not suitable for audio

•Indoor, Pairing

Power line

Powerline PLC 9-500KHz up to

576Kbps Homeplug - 28,30,

86MHz 500Mbps

Qualcomm / Atheros, ST micro,

Sigma Designs, Broadcom,

Mstar

•Security •Fixed, certification , setup

ISM 260-470, 860-960MHz, 2.4-

2.5GHz, 10Kbps up to 900m

Digi, Linx, Silicon Labs,

Microchip, Micrel

•Easy to integrate

•Does not require

product cert

•Security

•Roll your own stack

Zigbee /

802.15.4

868MHz, 915MHz, 2.4

20kbps-250kbps

10-20m

Freescale, CEL, Panasonic,

Digi, Silicon Labs, Atmel

Low power, mesh

protocol, low cost,

security

•Low data rate, latency , not

suitable for audio

Other DECT, MESH… 900MHz, 1.9GHz 2.4GHz, •Good for specific

applications

Various

TM

External Use 25

M2M Public Network Model

Internet

Cloud Service

Aggregator

Devices

HTML or JSON M2M

Mobile

Fixed

Application &

Business Logic

Clients

Hosts

TCP/IP or UDP

salesforce.com

2lemetrey

TM

External Use 26

M2M Private Network Model

LAN or

Carrier /

Metro

Devices

HTML or JSON M2M

Mobile

Fixed

Aggregator

Application &

Business Logic

Clients

Hosts

TCP/IP, UDP, PPP

Internet

Edge Node

(services)

TM

External Use 27

Flash Security:

• Protected against X-ray data reads

• User backdoor access disable

• Factory access disable

• Mass erase disable

• Multiple transfers from Flash to config register

Memory Protection Unit (MPU):

• 16 areas, supervisor/user (config registers are fully

accessible)

Tamper Detection (with battery backup):

• Integrated sensors • Frequency

• Voltage

• Temperature

• 4x passive external tamper sources (inputs)

• 2x active external tamper sources (2x output and input)

Cryptographic Acceleration Unit (CAU):

• Symmetrical crypto

• Hashing functions

• Random Number Generator (RNG)

Enablement:

• High Assurance Boot (HAB) with tools

• Crypto stacks

Secure storage:

• 256 bit user area, erased by tamper event

• 128 bit unique chip identifier

Secure Real Time Clock (RTC):

• Monotonic

• Overflow and reprogram protection

Hardware Cyclic Redundancy Check (CRC)

Protected Wire

A B A B

GND Vcc

PCB

chip

Kinetis Secure System Overview Leading edge security technology on general purpose MCU

TM

External Use 28

Protected Wire

A B A B

GND Vcc

PCB

chip

Integrated Tamper Detection

Tamper Detection (with battery backup):

• Integrated sensors –

− Frequency

− Voltage

− Temperature

• 4x passive external tamper sources (inputs)

− For use with external sensors (e.g. micro switch, pressure sensor)

• 2x active external tamper sources (2x output and input)

− Generates pseudo random test signal, and monitors for corruption

• 256-bit secure user storage (key), erased on tamper

• Secure monotonic real time clock

TM

External Use 29

Integrated FLASH

CPU

SRAM

Peripherals

Se

cu

rity

B

it

CA

U

RN

G

Software IP Protection

• MPU Security Systems (e.g. i.MX25)

− Offers protection for all data in system

− Prevents data and software

corruption/manipulation

− Prevents system impersonation

− Does not – Protect software from being copied

• MCU Security Systems (Security Bit):

− Protects software from being copied

− Offers protection of all data in system

− Systems with Block Erase Disable (e.g. Kinetis)

prevent impersonation

TM

External Use 30

i.MX

i.MX Trust Architecture – Overview

ARM

CPU

ROM

(High Assurance

Boot)

Accelerator

(Cipher, Hash,

RNG)

Electrical Fuses

(Keys, Security Levels)

Secure

RAM

Tamper

Detect

Secure

Clock

Secure

Debug

External

Memory

Erase

JTAG

SW Alarm

Debug

Alarm

GPIO

Alarm

HW Firewall HW Firewall HW Firewall

DMA

Master

Peripheral

Slave

HW Firewall

HW Firewall

TM

External Use 31

Trusted Execution – Hardware Features

• HW system partitioning

• ARM TrustZone

− Secure & non-secure worlds

− Multicore support

• Memory isolation

− Virtual & physical

• Peripheral isolation

− Master & slave

• Interrupt separation

• Watchdog protection General RAM

Rich OS

User

Mode

Privileged

Mode

Hardware

Non-Secure World Secure World

General

Application

Protected

Peripheral

Trusted

DMA

Trusted

Service

General

Peripheral

General

DMA

Protected RAM

Trusted OS

TM

External Use 32

Trusted Execution – Physical Memory Isolation

HW Firewall

• Monitors internal bus to external memory controller

− Secure world access only vs shared access

• Programmed by secure world

General RAM

General

SW

Trusted

SW

Protected RAM

HW Firewall

TM

External Use 33

Trusted Execution – Peripheral Isolation

HW Firewall

• Monitors peripheral access

− Secure world access only vs shared access

• Monitors DMA transactions

− Secure vs non-secure privileges

• Programmed by secure world

General

SW

Trusted

SW

HW Firewall

Trusted

DMA

General

DMA

Protected

Peripheral

General

Peripheral

TM

External Use 34

High Assurance Boot – Operation

Private

Key

SW Image

Sign

(RSA)

Hash

Verify

(RSA)

Compare

Hash

SW Image +

Signature

Public

Key

Run OS

Reload Image

Secured

Environment

SW Image +

Signature

Fuse

SRK

Device

Boot

X

TM

External Use 35

High Assurance Boot – Encrypted

Secret

Key

SW Image

Encrypt

(AES) Decrypt

(AES)

Build

Environment

Encrypted

SW Image

AES

Key B

lob

OTP

Key

Key

Blo

b

Encrypted

SW Image

Decrypt

(AES) OTP

Key

Decrypted

SW Image

Secret

Key

Manufacturing

Device

Boot

Arcturus empower embedded.

Voice Communication

Crash Course

Proprietary and confidential - subject to change

Presented by:

David Steele, Product Manager

[email protected]

TM

External Use 37

Three Modes of Voice Communication

Application Control Media S.Rate

kHz

Data Vocoder Benefit Challenge

VoIP Two-way voice

Handsets

Speakerphones

Intercoms

SIP,

Legacy:

H.323,

MGCP

RTP

(unicast)

8/16 8-64Kbps,

20mS

packets

G.711a/u,

G.726, G721,

G.722, G.729

Speex, iLBC,

OPUS

Call

distribution

Audio intelligibility,

Latency

Audio

Distribution

One-to-many voice

Mass notification

Background Music

PA Announcement

Baby monitors

Proprietary

control

RTP

(multicast)

8/16 8-64Kbps,

20mS

packets

G.711a/u,

G.726, G721,

G.722, G.729

Speex, iLBC,

OPUS

One stream to

many

receivers with

one stream

Traversal, TTL,

Latency,

Synchronization

Pre-recorded Progress and status

information

MTP or simple filesystem

access

44.1 - MP3 or other Audio

intelligibility

Changing files

TM

External Use 38

SIP Stack Overview

SIP - Session Initiation Protocol

• UDP based control protocol for VoIP

• Human readable / text based similar to html

• Starts / stops and changes media session

• Includes media negotiation (SDP)

• Relies on RTP for media transport

• Client / Server (CAS/UAS)

• SIP METHODS are like “extensions” to the signaling

− – INVITE, ACK, REGISTER, BYE, INFO, OPTIONS,

REFER, SUBSCRIBE/NOTIFY

• Uses port 5060 or port 5061(TLS)

• Can be TCP

Mary Proxy Server

INVITE

180 Ringing180 Ringing

200 OK200 OK

Conversation

BYE

200 OK

ACKACK

RING

ANSWER

HANG

UP

Steve

INVITE

TM

External Use 39

SIP Invite

TM

External Use 40

Media Stack Overview

RTP – Real Time Transport Protocol for media

• UDP

RTCP – Real Time Control Protocol for media sessions

• Exchanges data between two end-points (or server and end-point)

• Latency / dropped packets

DTMF

• SIP INFO, RFC2833, in-band

STUN / TURN / ICE

• NAT traversal and firewall port keep-alives

Security

• SIP TLS

− 128bit AES

− Cert required at server

• sRTP – Negotiated as part of the SDP by SIP

− 128bit AES

− SHA1-80 hash on each outbound packet including sequence number

• zRTP – Negotiated as part of the RTP itself

Signaling and media are totally separate

TM

External Use 41

SDP–Media Negotiation

offer/answer – first matched pair

TM

External Use 42

Relation Between Peer-to-Peer and Infrastructure

Mode Services Application Benefits Challenges

Infrastructure •Authentication

•Location

•Availability/Presence

•Transcoding/Compatibility

•Call Distribution

•Voice mail

•Termination to other networks

•LAN Networks

•WAN Networks

•Building Systems

•Nurse call

•Transportation

•Service kiosks

•Flexibility

•Leverage existing VoIP

equip

•LAN or WAN

•Signaling compatibility

•Single point of failure

•Requires expertise to set up

service

Peer-to-Peer Calling only •Small installs

•Home Intercoms

•Door phones

•Baby monitors

•No additional equipment

required

•No single point of failure

•Limited to “hard coded”

installs

•No authentication

•No central reporting

•Auto config or discovery

•LAN only

•One call at a time

Hybrid All services •Intercom with

emergency call out

function

•Can provide failover

•Can offer local vs

outbound calling with no

server

Vulnerable

TM

External Use 43

Private VoIP Network

LAN

VoIP

End Point

PBX

VPN

SIP

SIP

Remote

Site

VoIP

End Point

VoIP

End Point

TM

External Use 44

VoIP Cloud Service Model

Internet

VoIP

End Point

Mobile

Fixed

PBX

or Softswitch

TCP/IP, UDP

Gateways

PSTN, IMS,3GPP

Residential

Network

Cable/DSL

VoIP

Carrier MSO

SIP SIP

SIP

Mobile

PSTN

TM

External Use 45

Multicast RTP

Page: 45

Packet Field Description

sig Packet signature

callid Call ID to display

callname Call Name to display

group Broadcast group ID

pgtype Message Type

codectype RTP vocoder used

codecptime Vocoder packet length in ms

codecsrate Codec sample rate in Hz

IP Multicast IP address of RTP media transmission

port Multicast port number of RTP media transmission

priority broadcast message priority type

answtype auto-answer priority

entype encryption algorithm

encparm encryption parameters

waitlen time to delay before alert tone

tonelen Alert tone length

tonetype Alert tone type

tonecadence Alert tone cadence

tonefreq DTMF Alert tone frequencies

tonemodfreq Alert tone modulation frequency

tonegain Alert tone gain

Arcturus empower embedded.

Live Demo

Proprietary and confidential - subject to change

Presented by:

David Steele, Product Manager

[email protected]

Arcturus empower embedded.

Freescale and Arcturus

K60 Based

Voice IoT Solution

Proprietary and confidential - subject to change

Presented by:

David Steele, Product Manager

[email protected]

TM

External Use 48

Kinetis K60 | VoIP MCU

Features and Benefits

VoIP Intercom (PIP) firmware – using SIP / RTP

Public Address (PAS) firmware – Using multicast RTP

Kinetis ARM Cortex-M4 120MHz MCU

Boot and ready to call in under 10 seconds

No external flash or RAM required

Narrow and wide-band vocoder support

Dedicated I/O for control, status and event reporting

Mbarx-M2M protocol for supervision and remote operation

Mbarx-M2M host, slave and peripheral on-boarding

Mbarx site-wide configuration and maintenance tools

No upfront NRE, no complex BSP, no expensive tools

No MCU firmware development required

Modules, development kit and reference design available

Suitable for operation in harsh environments (-40 to +85C)

Proprietary and confidential

TM

External Use 49

uCMK60 System

Software solution is preloaded and provided as binary

Hardware

SA

I, I2

S..

.

K60 MCU Software Hardware

Audio

Subsystem

ASIC

Analo

g

Vocoders

Ethernet

MAC & PHY

(wired or

Wireless)

M2M

Bit Transmission

and Reception

File system

Interrupts

Processes

Scheduler,

Timers

Protocols, Drivers

Services

Interfaces

MQX

VoIP\SIP Stack

Firmware and Database

Digital I/O Inputs / Output

Controls

Networ

k

1011011

MQX Operating System

Mbarx Middleware

M2M Middleware

Application Framework (future)

Serial Sensors/SCADA

Wired/Wireless

Peripherals

(I2C, UART,

SPI)

1011011

1101101

Voice

M2M

Host

M2M Slave

Peripheral

Device

M2M Agent

M2M Discovery

External Host or Peripheral

VoIP Middleware

TM

External Use 50

Features Core Processor

• Freescale Kinetis K60 MCU

• 120MHz ARM Cortex M4 with DSP instructions

• 1MByte internal Flash / 128K SRAM

System

• RS232

• PoE - 802.af Power over Ethernet

• 10/100 BaseT Network Transceiver

• Optional 802.bgn WLAN or BLE (Q1 2014)

• 15W Class-D Amplifier / Audio Subsystem ASIC

• External Watchdog Controllers and Reset Monitor

External Connections:

• Power input

• RJ45 Network Connector (802.3af PoE)

• DB9 Serial Connector (RS232 or RS485)

• Up to 8 digital inputs and 8 outputs (isolated)

• SDHC card slot connector

• Realtime Clock – Battery Holder

• Leds / Status / Push Buttons

Expansion Terminations

• Up to 5 UARTS, SPI, I2C, SAI, CAN, DAC / ADC,

Touch Sense, USB, SDHC, JTAG

• Additional dedicated I/O for control and events

uCMK60 Block Diagram

uCMK60 System Solutions Board and Dev Kit

uCMK60- Module

NAND

RTC

UART(6) CAN USB

SAI (3)

SDHC I/O

SPI(3) I2C (2) FEC

DAC/ADC

WDOG

SUPERV

WDOG

I/O

ISOLATION

802.11BGN

WLAN

BLE

(BT4) RS232 CLOCKS

SI3050

POE

10/100

PHY

RTC

BATT

AUDIO

ASIC

CLASS-D

AMP

POWER /

RESET

EXPANSION

NETWORK +12VDC AUDIO

DEBUG SDCARD SERIAL I/O

ARM®

CORTEX

M4

JTAG

SRAM

1MBYTE

FLASH INT

TIMERS

CACHE

DMA

Kinetis K60 MCU

802.3AF POE

TM

External Use 51

GPIO – Input

Push Buttons

GPIO – Output

LEDs

PoE

Reset Button

Kinetis K60

VoIP MCU

Audio

ASIC

Network

Transceiver

15W

Class-D

Amp

I/O Isolation

Spark Gap +

TVS

Reset /

Watchdog

Network

Transformer

Head-

phones

Line

Out

Line

In

Mic L Speaker

Outputs

Console Network

+12VDC

Expansion

Connectors

I/O Connectors

SDcard

Slot

RTC BATT

Holder

Mic R

uCMK60 | System Solutions Board

Connector

Component

TM

External Use 52

VoIP Firmware (PIP Mode)

VoIP / PIP Firmware Features

• Suitable for intercoms, handsets, speakerphones

• SIP based VoIP end-point with two-way, low-latency, real-time voice

• SIP infrastructure (SIP server) and Peer to Peer (P2P) modes

• Call progress announcements

• G.711ulaw, G711alaw and G.722 vocoders

• 16bit, 16KHz PCM audio Interface

• Acoustic Echo Cancelation (AEC), Noise Reduction (NR)

• RFC2833 DTMF via RTP event presentation

• 10 PTC (push-to-call) numbers assigned to dedicated I/O

• Dedicated I/O for status and call control (stateless)

• Optional MIC Beam Forming, far-field microphone pickup, auto gain control (AGC),

Range Compression, Loudness Adaptation

• Optional HARC – background acoustic sensor and event detection

• Mic In, Line In, Line Out, Headset Out, Powered Speaker Output

• Autonomous, Supervised or Controlled Operating Modes

Features

•Call originate

•Accept or reject call

•Terminate

•Call ID

•Call transfer

•Call forward

•Call hold / Retrieve

•Do not disturb

•Auto answer

•Auto hang up

•Input source select

•G711, G.722 speech codec

•20mS packetization periods

•Mute and volume controls

•Jitter buffer

•Acoustic Echo Cancellation

•Noise Reduction

•Auto Gain Control

•RFC2833 DTMF Presentation

SIP Methods

•INVITE, ACK, BYE, OPTIONS,

NOTIFY, REFER, REPLACES

Signalling and Media Transport

•SIP / RTP

•UDP transport

SIP / RTP

SIP P2P (Peer-to-Peer)

SIP

Server

SIP / RTP SIP / RTP

SIP Infrastructure

TM

External Use 53

Push Buttons and LEDs

IN8 – Spare

IN7 – Spare

IN6 – Reset

IN5 – Mic Mute

IN4 – Volume Down

IN3 – Volume Up

IN2 – Terminate

IN1 – Push to Call 1

(PTC)

O8 – Spare

O7 - Spare

O6 – Supervised

O5 – External AMP

O4 – Alarm

O3 – Network Ready

O2 – Ringing / Call

O1 – Reg/Ready

PIP / VoIP mode firmware

I/O interface provides stateless operation Inputs

Outputs

TM

External Use 54

Dedicated MCU I/O Signals

DND toggle

Call forward enable

toggle

Speaker mute toggle

Answer call (dedicated)

Factory reset (dedicated)

PTC Input 2

PTC Input 3

PTC Input 4

PTC Input 5

PTC Input 6

PTC Input 7

PTC Input 8

PTC Input 9

PTC Input 10

Hook State (off hook)

RING (dedicated)

MIC mute enabled

DND enabled

Speaker mute enabled

Call forward enabled

PTC Output 2

PTC Output 3

PTC Output 4

PTC Output 5

PTC Output 6

PTC Output 7

PTC Output 8

PTC Output 9

PTC Output 10

External Door Lock Signal (DTMF)

Message Waiting Indicator (MWI)

Unassigned / Future Use

Unassigned / Future Use

Unassigned / Future Use

Unassigned / Future Use

Unassigned / Future Use

Registered / Ready

Call-in-Progress / Ringing

Network Ready

Alarm

External Amp Enable

Application Connected

Spare (user)

Spare (user)

Push-to-Call (PTC) Input 1 / Answer

Terminate

Speaker Volume Up

Speaker Volume Down

MIC Mute toggle

SW Reset

Spare (user)

Spare (user)

Connected to isolation &

push buttons on System

Solutions Board

Connected to LEDs on

System Solutions Board

Additional

MCU Signals

Additional

MCU Signals

PIP / VoIP mode firmware

Inputs Outputs

TM

External Use 55

Audio Distribution (PAS) Firmware

Multicast Audio Distribution / Public Address (PAS) Features

• Suitable for IP speakers, mass-notification, background music

• Supports one-to-many audio distribution

• One way real-time audio via multicast RTP

• Light-weight, out-of-band multicast signaling protocol

• Protocol supports unique messages per channel/group

• Up to 100 unique groups with concurrent paging support

• Receivers can subscribe to any combination of groups

• Last-in-wins arbitration

• Auto disconnect on lost keep-alive messages (stuck mic protection)

• Auto pick-up on lost start messages (late arrival protection)

• 16bit, 16KHz PCM audio Interface

• G.711ulaw optional G.722 and Opus (coming soon)

• 10 paging groups assigned to dedicated inputs

• 10 dedicated outputs for status and control (stateless)

• Mic In, Line In, Line Out, Headset Out, Powered Speaker Output

• Autonomous, Supervised or Controlled Operating Modes

TM

External Use 56

Push Buttons and LEDs

IN8 – Spare

IN7 – Spare

IN6 – Reset

IN5 – Mute / DND

IN4 – Volume Down

IN3 – Volume Up

IN2 – Terminate

IN1 – Group 1 Listen

O8 – Spare

O7 - Spare

O6 – Supervised

O5 – External AMP

O4 – Alarm

O3 – Network Ready

O2 –PA in Progress

O1 –Group 1 Listen

PAS / Audio Distribution mode firmware

I/O interface provides stateless operation Inputs

Outputs

TM

External Use 57

Dedicated MCU I/O Signals

-

-

-

-

-

Factory reset (dedicated)

Group 2 Listen Input

Group 3 Listen Input

Group 4 Listen Input

Group 5 Listen Input

Group 6 Listen Input

Group 7 Listen Input

Group 8 Listen Input

Group 9 Listen Input

Group 0 Listen Input

-

-

-

DND enabled

-

-

Group 2 Listening Output

Group 3 Listening Output

Group 4 Listening Output

Group 5 Listening Output

Group 6 Listening Output

Group 7 Listening Output

Group 8 Listening Output

Group 9 Listening Output

Group 0 Listening Output

External Door Lock Signal (DTMF)

-

Unassigned / Future Use

Unassigned / Future Use

Unassigned / Future Use

Unassigned / Future Use

Unassigned / Future Use

Group 1 Listening

PA In Progress / Active

Network Ready

Alarm

External Amp Enable

Application Connected

Spare (user)

Spare (user)

Group 1 Listen

Terminate

Speaker Volume Up

Speaker Volume Down

DND/Mute

SW Reset

Spare (user)

Spare (user)

Inputs Outputs

Connected to isolation &

push buttons on System

Solutions Board

Connected to LEDs on

System Solutions Board

Additional

MCU Signals

Additional

MCU Signals

PAS / Audio Distribution mode firmware

TM

External Use 58

Provides OS abstraction

Mbarx-M2M End-Point Software

Proprietary and confidential

File system

Interrupts

Processes

Scheduler,

Timers

Protocols,

Drivers

Services

Interfaces

OS

Firmware and Database

M2M Middleware

M2M Agent

M2M Discovery

ASD Protocol

get status>

I/O notification

Event notification

set output>

UART2Net

display message

set configuration

update firmware

MDNS Service

Discovery

Announcement

…Device name…

…Device location…

…MAC address…

…IP address…

… Firmware version…

… Operating mode…

Other…

Supports TCP/IP and

UART Communication

Supports , envars /

objects, license keys

firmware sector

management / auto

failover

TM

External Use 59

Mbarx Autonomous Mode

Autonomous (unsupervised) Mode

• For standalone applications

• Ideal for simple handsets, service kiosks, intercoms, door intercoms

• Uses I/O call control interface (dedicated MCU signals)

• Inputs can be used for device operation, place/receive calls, volume controls, basic features

• Outputs can be used as status indicators or for external equipment

• Requires limited external integration (mic /speaker / push button..)

• Suitable for supervision or operation by I/O block /PLC

Autonomous (supervised) Mode

• Report events through M2M

• Does not rely on M2M for command and control

• M2M may override

Proprietary and confidential

I/O Event

Call Connected

SIP / RTP

End-point M2M Host End-point

SIP / RTP

End-point End-point

TM

External Use 60

Mbarx Controlled Mode

Controlled Operating Mode:

• For applications that require integration into a workflow system

• Nurse call, security alarm, building systems, public safety, transit communications, aviation, military, RoIP

• Uses an M2M interface (Mbarx) connected to a host system

• Digital inputs are reported as events over M2M

• Digital outputs can be controlled by M2M

• Call control over M2M includes originate, answer, progress events, volume controls...

• M2M is suitable to control connected devices such as visual indicators, door locks, horns/bells, strobes, external

equipment…

• Supports work-flow integration and persistent or ad-hoc supervision

I/O Event

Startcall

SIP / RTP

End-point M2M Host End-point

Call Connected

TM

External Use 61

Mbarx–ASD Protocol

State/Status – Call (SC)

+ - - - - - - - - - - - - - - - - +

| asd: Arcturus Socket Daemon 1.0 |

+ - - - - - - - - - - - - - - - - +

date: 1970-01-01 00:04:40

Executing from Program Flash Block 0

SC

SC[NOT_CONNECTED]

SR

SR[REGISTERED sphone.vopr.vonage.net 14168487156

"14168487156"]

CS 14166210125

CS[OK]

NC[OUTGOING_CALL 14166210125]

NC[EARLY_MEDIA]

NC[CONNECTED 14166210125]

NG[GPIO: O 2 ON]

NG[GPIO: O 5 ON]

SC

SC[CONNECTED 14166210125]

CE

CE[OK]

NG[GPIO: O 5 OFF]

NG[GPIO: O 2 OFF]

NC[NOT_CONNECTED]

SC

SC[NOT_CONNECTED]

State/Status – Registration (SR)

Call Start (CS)

Notification Call Status (NC)

Notification GPIO (NG)

State/Status – Call (SC)

Call End (CE)

Notification GPIO (NG)

State/Status Check (SC)

Notification Call Status (NC)

TM

External Use 62

Mbarx–System Manager

Site wide configuration and maintenance

Configuration / Firmware

Device/Service

Discovery

Mbarx-M2M

Consolidated system wide view of all devices:

Firmware version, operation modes, availability

Click through workflow for upgrades, configuration

status checks , logging

Mbarx End-Points

Available for Windows® and Mac®

FREE Eval. – Available from support site

TM

External Use 63

Mbarx–Virtual Control Panel (VCP)

Reference for Windows or Mac Host Integration Source Code Provided (QT + Python)

Remote M2M Console

for debug and status

Click-to-call and call

control interface

I/O Status and control Interface

Connection

information

and setup

FREE –

Available from

support site

TM

External Use 64

Mbarx–Operations Controller

HTML5 Central, Fixed

or Mobile Operations

Mbarx-M2M

3rd Party IP Devices/Data

Mobile Operations Clients

(HTML5)

Central (fixed) Operations Clients

(HTML5)

Command / Control

Events and Notifications

Wireless or Wired

Mbarx End-Points

IP Data

Available for Windows and LinuxTM

TM

External Use 65

VoIP and call status

SIP Account (extension)

VoIP operation

Integrated mJPEG

3rd party IP camera

Integrated camera

PTZ camera controls

Digital I/O controls

M2M interface status

Device info, name location,

MAC/IP

Developer

<view demo video>

As displayed on an iPad®

Mbarx–Operations Controller

TM

External Use 66

Kits and Boards

uCMK60-VoIP Development Kit includes:

• uCMK60 System Solutions Board

• Power supply, cable kit and headset

• Getting Started Guide

• Out-of-the-box demos

• Access to dedicated support site (1 year)

• Schematics and documentation

• Mbarx-M2M QT Example implementation (FREE)

• Mbarx-M2M System Manager tool (FREE eval)

• Tutorial videos

• Installation support (email)

uCMK60-VoIP System Solutions Board

• Available as production ready alternative to RYO

• Available in low and medium volume

• Fits standard 100mm wide enclosures including

Hammond Manufacturing 1455 series extruded aluminum

• Pads for direct solder-to-board or header connectivity

TM

External Use 67

\\\\\\\\\\\\\\\\\\\

Modules and Daughtercards

Atheros

QCA4002 802.11bgn

WiFi Module

uCMK60-VoIP-MOD

Production Module

Development kit add-ons

3x4+2 I/O inputs

15 LED outputs

Module

Proprietary and confidential

TM

External Use 68

Physical and Connectivity

Module (MCU + Network + Audio)

Dev Kit Board / Full up System Solutions Board (SSB)

System Solutions Board / Extended Module (PoE + AMP)

Physical connection options:

15

5m

m

100m

m 6

1m

m

61m

m

11

4m

m

TM

External Use 69

Pricing and Availability

Business Model and Support

• No upfront NRE / No complex BSP / No expensive tools

• uCMK60 VoIP Development kit available from – Arcturus/Freescale/Distribution

• uCMK60 VoIP System solutions boards available in QTY from – Arcturus

• K60 VoIP MCU available from – Freescale / Distribution

• Product Support and dedicated support site – Arcturus

• VoIP MCU and Kinetis support – Freescale

• Software and hardware customization – Arcturus

Pricing and Availability

• uCMK60-VoIP Dev kit - pricing $495

• uCMK60-VoIP Modules - $69-150 in QTY.

• uCMK60-VoIP System Solutions Board – $100-240

• VoIP MCU – Pricing Freescale - Freescale

Buy Now! - From Freescale Buy Now! – From Arcturus

TM

External Use 70

uCMK60 Combined Roadmap

PAT

Mulitcast Tx

Freescale K64 256Kbyte SRAM

Planning

PAS Mode

Mulitcast Rx

Config Announce

P2P

RFC2833 DTMF

Door Lock Signal

G.722 WB

(ASR) Voice

Control

16KHz AEC Opus

802.11n WiFi

uCMK60-VoIP

rev3

Beam Forming

Far Field Mic

Execution

UART-to-Net

App Framework Crypto

QCA4002 WiFi

4x3 Keypad I/O

Bluetooth LE

System

Manager v3

2013 Fall Release

General SW Mbarx Tools Firmware

Mode Board/Module

2 Line LCD

Keypad +

LCD

Dynamic Audio

Routing

iBeacon

Operations

Controller +

WebRTC

AEC Tuning

Tool

Audio Sensing

App Builder

uCMK60-MOD uCMK60-MOD-

WIFI

GPS/GPRS/GSM

Daughter Card MK60 SW

TM

External Use 71

Public

Private

Fallback

Hardware P1020 Software Hardware

Network

Bit Transmission

and Reception

File system

Interrupts

Processes

Scheduler,

Timers

Protocols,

Drivers Services

Interfaces

Firmware and Database

HTML5

Operation

Operating System

Middleware External Network

Bootloader and HAL

HTML Configuration

VPN,

Secure

Edge,

Data

Logging

IP PBX

/ VoIP

Mbarx

Operations

Controller

Mbarx

Services

Framework

Middleware

Network

Network

Digital I/O Inputs / Output

Controls

1011011

Sensors/SCAD

A

Wired/Wireless

Peripherals

(I2C, UART,

SPI)

1011011 1101101

Mass Storage SDIO/USB

PCIe Specialized/Hig

h Data Rate

1011011

1101101

Analo

g

Audio/Analog TDM/I2S

Linux

Optional Applications Packages/Solutions

uCP1020 System

TM

External Use 72

Features Core Processor

• Freescale Kinetis K60 MCU

• 120MHz ARM Cortex M4 with DSP instructions

• 1MByte internal Flash / 128K SRAM

System

• RS232

• PoE - 802.af Power over Ethernet

• 10/100 BaseT Network Transceiver

• Optional 802.bgn WLAN or BLE (Q1 2014)

• 15W Class-D Amplifier / Audio Subsystem ASIC

• External Watchdog Controllers and Reset Monitor

External Connections:

• Power input

• RJ45 Network Connector (802.3af PoE)

• DB9 Serial Connector (RS232 or RS485)

• Up to 8 digital inputs and 8 outputs (isolated)

• SDHC card slot connector

• Realtime Clock – Battery Holder

• Leds / Status / Push Buttons

Expansion Terminations

• Up to 5 UARTS, SPI, I2C, SAI, CAN, DAC / ADC,

Touch Sense, USB, SDHC, JTAG

• Additional dedicated I/O for control and events

uCMK60 Block Diagram

uCMK60 System Solutions Board and Dev Kit

uCMK60- Module

NAND

RTC

UART(6) CAN USB

SAI (3)

SDHC I/O

SPI(3) I2C (2) FEC

DAC/ADC

WDOG

SUPERV

WDOG

I/O

ISOLATION

802.11BGN

WLAN

BLE

(BT4) RS232 CLOCKS

SI3050

POE

10/100

PHY

RTC

BATT

AUDIO

ASIC

CLASS-D

AMP

POWER /

RESET

EXPANSION

NETWORK +12VDC AUDIO

DEBUG SDCARD SERIAL I/O

ARM®

CORTEX

M4

JTAG

SRAM

1MBYTE

FLASH INT

TIMERS

CACHE

DMA

Kinetis K60 MCU

802.3AF POE

TM

External Use 73

uCP1020 Edge Node Application

3rd Party IP Devices & Data

Mobile Clients (WiFi) Central Operations

M2M

Cloud

Service Local Presentation

Fixed / Mobile

Operation and Control

Mbarx Devices VoIP Trunks

PSTN

Other

Mobile Apps

& Push Notification

VPN to

Remote site IPsec

Connected

Intelligence / Device

Collaboration

uCP1020

TM

External Use 74

Q & A

Arcturus empower embedded.

Part-3 - Hands on Lab

Proprietary and confidential

Presented by:

David Steele, Product Manager

[email protected]

TM

External Use 76

GPIO – Input

Push Buttons

GPIO – Output

LEDs

PoE

Reset Button

Kinetis K60

VoIP MCU

Audio

ASIC

Network

Transceiver

15W

Class-D

Amp

I/O Isolation

Spark Gap +

TVS

Reset /

Watchdog

Network

Transformer

Head-

phones

Line

Out

Line

In

Mic L Speaker

Outputs

Console Network

+12VDC

Expansion

Connectors

I/O Connectors

SDcard

Slot

RTC BATT

Holder

Mic R

uCMK60 | System Solutions Board

Connector

Component

TM

External Use 77

Push Buttons and LEDs

IN8 – Spare

IN7 – Spare

IN6 – Reset

IN5 – Mic Mute

IN4 – Volume Down

IN3 – Volume Up

IN2 – Terminate

IN1 – Push to Call 1

(PTC)

O8 – Spare

O7 - Spare

O6 – Supervised

O5 – External AMP

O4 – Alarm

O3 – Network Ready

O2 – Ringing / Call

O1 – Reg/Ready

PIP / VoIP mode firmware

TM

External Use 78

Dedicated MCU I/O Signals

DND toggle

Call forward enable

toggle

Speaker mute toggle

Answer call (dedicated)

Factory reset (dedicated)

PTC Input 2

PTC Input 3

PTC Input 4

PTC Input 5

PTC Input 6

PTC Input 7

PTC Input 8

PTC Input 9

PTC Input 10

Hook State (off hook)

RING (dedicated)

MIC mute enabled

DND enabled

Speaker mute enabled

Call forward enabled

PTC Output 2

PTC Output 3

PTC Output 4

PTC Output 5

PTC Output 6

PTC Output 7

PTC Output 8

PTC Output 9

PTC Output 10

External Door Lock Signal (DTMF)

Message Waiting Indicator (MWI)

Unassigned / Future Use

Unassigned / Future Use

Unassigned / Future Use

Unassigned / Future Use

Unassigned / Future Use

Registered / Ready

Call-in-Progress / Ringing

Network Ready

Alarm

External Amp Enable

Application Connected

Spare (user)

Spare (user)

Push-to-Call (PTC) Input 1 / Answer

Terminate

Speaker Volume Up

Speaker Volume Down

MIC Mute toggle

SW Reset

Spare (user)

Spare (user)

Connected to isolation &

push buttons on System

Solutions Board

Connected to LEDs on

System Solutions Board

Additional

MCU Signals

Additional

MCU Signals

PIP / VoIP mode firmware

Inputs Outputs

TM

External Use 79

Before We Begin

You will need:

1. Windows PC

2. uCMK60-SSB-DEV (Rev2.0) Board

3. Network switch with DHCP Server

You will need to download and install the following on your Windows PC:

− Mbarx-System Manager Tool (for configuring uCMK60 devices)

Mbarx-System Manager (Zip file with Windows and Mac versions)

(log in and download from support site)

− Teksip Free SIP Proxy (required for demo)

Windows version

www.teksip.com

− Zoiper Classic Free VoIP Softphone (required for demo)

Windows version

www.zoiper.com

The links above are clickable only in presenter mode

A list of the links is included at the end of the presentation

TM

External Use 80

uCMK60–VoIP Board Connections

Connect

Network

Connect Power

12VDC

Connect

Headset Speaker

(HP)

Connect

Headset Mic

(MIC-L)

Network

Link LED

Power LED

NOTE: Board also supports

802.3af PoE

TM

External Use 81

Network Setup

Windows PC Running: Mbarx System Manager

TekSIP, Zoiper

uCMK60 Device

Example IP : 192.168.0.101 (DHCP client enabled)

(wireless disabled)

Example IP : 192.168.0.102 (Connect Mic –> MIC L)

(Connect Speaker – >HP)

Make sure both devices are

on the same subnet!

Speaker (HP)

Ethernet Ethernet

Network Switch

(with DHCP Server)

Mic (MIC L)

Network Configuration

NOTE: For simplicity during first time setup it is recommended to setup a private, isolated network.

TM

External Use 82

Step 1 – Install and Start TekSIP

IP address Teksip

is running on

TekSIP service

status bar

NOTE: TekSIP requires exclusive access to port

5060. If another application is bound to port 5060

TekSIP will not start.

NOTE: TekSIP runs as a service, to exit TekSIP

stop the service, then exit the application,

otherwise TekSIP will continue to run in the

background.

Start TekSIP service

by clicking on

SERVICE and

selecting START

TM

External Use 83

Step 2 – Setup Two VoIP Accounts

2. Enter 1000, 1000 then

click ADD/UPDATE

repeat for 1001, 1001

3. Confirm added

accounts appear here

1. Click on

ENDPOINTS tab

TM

External Use 84

Step 3 – Install and Start Zoiper

Page: 84

1. Click on

SETTINGS and

select CREATE

NEW ACCOUNT

2. Select SIP and

click on NEXT

3. Enter the following:

USER/USER@HOST: 1000

PASSWORD :1000

DOMAIN/OUTBOUND PROXY:

192.168.0.101

Then click NEXT

NOTE: Zoiper runs as a service, exit properly or it will

continue to run in the background.

TM

External Use 85

Step 4 – Install and Start Mbarx System Manager

1. uCMK60 is

detected

automatically

2. Double click on

uCMK60 device

entry or select and

press CONFIGURE

to open uCMK60

configuration pop up

window System

Manager

Home Panel

uCMK60

Configuration

pop up window

TM

External Use 86

Configure VoIP Account

2. Setup account

USERNAME: 1001

PASSWORD: 1001

CALLER ID:

uCMK60 Demo

3. Enter TekSIP server

IP address

4. Enter Zoiper

SIP Extension in

PTC (push-to-call)

5. Apply Settings

1. Click on VoIP tab

TM

External Use 87

Step 5 – Confirm Setup

1. View TekSIP

Registrations panel to

confirm that both

devices appear

REGISTERED with

TekSIP

2. uCMK60 LEDs:

O1 – REGISTERED ON

O3 - NETWORK READY ON

TM

External Use 88

Step 6 – Confirm Setup (cont.)

3. Click on

SETTINGS and

select

PREFERENCES

4. Confirm green

checkmark beside

account and

REGISTERED status

TM

External Use 89

Demo: Calling uCMK60 from Zoiper

2. LED O2 – BLINKS on

Indicating RINGING CALL

1. Enter SIP Extension

of uCMK60 Device (1001),

then click CALL button

Press SW1 to ANSWER CALL

Press SW2 to HANGUP

TM

External Use 90

Calling Zoiper from uCMK60

1. Press SW1 to CALL Zoiper using PTC1

Press SW2 to hangup

Click ANSWER to accept ringing

call on Zoiper

2. LED O2 – BLINKS

on ringing/SOLID on

active call state

Arcturus empower embedded.

Additional Information:

www.arcturusnetworks.com

[email protected]

416.621.0125 x 233