102
A8105 2.4GHz SOC Chip A8105 BLE Introduction AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected] AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

  • Upload
    others

  • View
    25

  • Download
    0

Embed Size (px)

Citation preview

Page 1: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

A8105 2.4GHz SOC Chip

A8105 BLE Introduction

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 2: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

A8105 BLE 內容

內容

A8105簡介BLE簡介BLE LIB & Tool介紹BreakBluetooth Listing Process Introduction

ICE安裝及說明/Writer/TF 介紹

Q & A

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 3: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

A8105 SOC簡介

A8105 2.4GHz SOC Chip

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 4: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

MCU FEATURE

¡ High performance pipeline complicated 8051¡ 16KB Flash memory¡ 4 Wire SPI interface ¡ I2C interface¡ Uart interface¡ WatchDog function¡ INT0,INT1,INT2,INT3,INT4,INT5,INT6¡ Timer0, Timer1, Timer2, Timer16 bit(for RF)¡ RTC(32KHz/32.768KHz)¡ TTAG Interface(ICE_Mode, TTDIO, TTCK)

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 5: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

¡ Frequency bands: 2.4GHz @ FSK/GFSK¡ RF TX output power: up to 5dBm Data rate up to

1Mpbs@sensitivity : -92dB¡ Build in RSSI, temperature sensor function¡ Build in Battery Detector¡ external ADC function (8bits/12bits)¡ Supply voltage 2.2 ~ 3.6V¡ 64 bytes TX/RX FIFO buffer¡ Build in FIFO extension function with up to 256 bytes

FIFO ¡ Optional FEC / CRC / data whitening (encryption)

RF FEATURE

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 6: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

A8105 QFN TOP VIEW

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 7: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

A8105 INTERFACE

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 8: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

I/O PORTS

Setting PXOE PXPUN PXWUN

0 Input Enable Enable

1 Output Disable Disable

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 9: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

4 WIRE SPI INTERFACE

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 10: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

I2C INTERFACE

PIN TYPE DESCRIPTION

SCL(P0.5) INPUT/OUTPUT I2C clock input /output

SDA(P0.6) INPUT/OUTPUT I2C data input /output

Register AddressSlave address – I2CMSA 0xF4

Control – I2CMCR 0xF5Transmitted data I2CBUF 0xF6

Timer period - I2CMTP 0xF7

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 11: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

WATCHDOG FUNCTION

WDCON(0xD8)

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 12: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

¡ INT0, INT1 – Edge trigger/Level trigger¡ INT2,INT3,INT4 – Level trigger¡ INT5 – RF function trigger(ADC12bit, timer16bit, WTR, WOR,

WOT)¡ INT6 – Key(Pin) trigger

INTERRUPT

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 13: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

INTERRUPT

IE register

EIE register

EIP register

EIF register

RFINT, KEYINT, I2CMF, I2CSF - Must be cleared by software writing 1

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 14: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

¡ 8 bits ADC – for temp, RSSI, External input voltage(0~1.2V)¡ Ext pin input – pin7(VDD_R)

¡ 12 bit ADC – for temp, External input voltage(0~1.8V)¡ Ext pin input – P3_2, P3_3, P3_4, P3_5, P1_6, P_7,P 3_0, P3_1

ADC FUNCTION

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 15: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

¡RTC 32KHz/32.768KHz§ for WOR, WOT function§For BLE timer16bit function§Use pin P3_6, P3_7

RTC FUNCTION

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 16: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

¡TTAG(2-Wire) Debug§ for programmer code, debug§Use pin P0_4, P1_4, P1_5

DEBUG FUNCTION

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 17: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

16 BITS TIMER

16 bits Timer Range

[00] – 0156ms~10.24s

[01] – 0.3125ms~20.48s

[10] – 0.625ms~40.96s

[11] – 1.25ms~81.92s

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 18: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

¡ PM mode(Power Manager Mode)–§ Setting Power Control Register I, PCONE, PCON

PM MODE

PM mode VDD_A VDD_D Current

PM1 On On 3.3uA

PM2 Off On 3.0uA

PM3 Off Off 1.2uA

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 19: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

MCU Memory Organization

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 20: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

SPI FORMAT

Use XDATA Read/Write control

Address Word:Bit[15:0]: 控制暫存器位址

Data Bytes:Bit[7:0]: 資料位元

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 21: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

STROBE COMMAND

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 22: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

162]0:15[]0:8[ FPIP +

VCO BLOCK DIAGRAM

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 23: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

FIFO TRANSMIT FORMAT

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 24: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

T=

1) [ Lpreamble + L ID + Lpayload ] * 1/Datarate2) [ Lpreamble + L ID + Lpayload + CRC ] * 1/Datarate3) [ Lpreamble + L ID + (Lpayload ) * 7/4 ] * 1/Datarate 4) [ Lpreamble + L ID + (Lpayload + CRC) * 7/4 ]*

1/Datarate

TRANSMIT TIME

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 25: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

FIFO FUNCTION

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 26: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

FIFO EXTENSION FUNCTION

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 27: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

STATE MACHINE

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 28: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

TX TRANSMIT TIMING CHART(FIFO MODE)

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 29: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

RX RECEIVE TIMING CHART(FIFO MODE)

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 30: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

BLE簡介

A8105 2.4GHz SOC Chip

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 31: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

STACK ARCHITECTURE

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 32: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

• PHYSICAL LAYER• Uses 2.4GHz ISM Band• License Free – with certain rules• 2400MHz to 2483.5MHz

PHYSICAL LAYER

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 33: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

CHANNEL

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 34: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

LINK LAYER CHANNELS

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 35: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

LINK LAYER CHANNELS

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 36: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

LINK LAYER CHANNELS

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 37: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

LINK LAYER CHANNELS

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 38: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

PACKET FORMAT

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 39: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

LINK LAYER STATE MACHINE

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 40: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

WHITENING

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 41: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

PREAMBLE

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 42: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

ACCESS ADDRESS

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 43: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

CRC

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 44: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

LINK LAYER STATE MACHINE

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 45: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

• Advertising• Used for Discoverability/Connectability

• Connections• Used to send application data

• Standby• Scanning(Master)• Initiating(Master)

LINK LAYER STATE MACHINE

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 46: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

ADVERTISING PACKET PDU TYPES

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 47: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

BLE LIB & Tool介紹

A8105 2.4GHz SOC Chip

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 48: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

LIBRARY提供FUNCTION

Function 概述

InitCrystalCL 設定Crystal CL值InitBLE 初始化A8105A8105WeiteRed A8105 Register寫入SetBLEAdvProcess 啟動或停止ADVBle_Service BLE服務程式InitTimer1 初始化Timer1RFTimer_interrupt RFTimer中斷處理程式RobotCtrl_BleSendKeyData BLE發送Data RobotCtrl_BleSendBattery BLE發送Battery RobotCtrl_BleSendTxPower BLE發送 Tx Power大小BleSendUpdateReq BLE發送更改Interval時間

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 49: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

INITCRYSTALCL

void InitCrystalCL(Uint8 Value);設定Crystal CL值由HW依客戶的Crystal零件調整出正確頻率CL值

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 50: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

INITBLE

呼叫此function來初始化A8105 BLE

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 51: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

A8105WRITEREG

呼叫此function來對A8105 Register寫入值

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 52: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

SETBLEADVPROCESS

Uint8 SetBLEAdvProcess(Uint8 type)發啟或停止ADVtype=ENABLE =>發啟type=DISABLE=>停止傳回值BLE Mode State

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 53: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

BLE_SERVICE

當A8105有BLE Interval到時呼叫此function來處理BLE須對應作的事

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 54: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

INITTIEMR1

呼叫此function來初始化Timer1

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 55: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

TIMER1_INTERRUPT

呼叫此function來處理Timer1中斷程式

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 56: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

RFTIMER_INTERRUPT

呼叫此function來處理RFTimer中斷程式

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 57: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

ROBOTCTRL_BLESENDDATA

Uint8 RobotCtrl_BleSendData(Uint8 length, Uint8* ptr)呼叫此function來發送Data資料,呼叫此function須給要傳送資料的長度及要傳送資料的Buffer開始位址,須在BLE_CONNECTION_KEY_MODE下才可發送,DataWriteFlag等於1時表示有資料還未送出,須等待DataWriteFlag等於0時在呼叫此function 以免傳送資料錯誤

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 58: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

ROBOTCTRL_BLESENDBATTERY

呼叫此function來發起送Battery資料,此function利用A8105提供Battery Detect功能送值給APP

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 59: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

ROBOTCTRL_BLESENDTXPOWER

呼叫此function來發起送Tx Power資料,此function提供送Tx Power值給APP,發送前先將值存入TxPowerVal變數

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 60: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

BLESENDUPDATEREQ

void BleSendUpdateReq (Uint16 MinInterval, Uint16 MaxInterval,Uint16 TimerOut)在連線成功後發起更改Interval 時間MinInterval: Interval Time最小值(單位1.25ms)MaxInterval: Interval Time最大值(單位1.25ms)TimerOut: 未連線斷線時間(單位10ms)

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 61: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

BLE MODE STATE

Value 狀態

0 BLE在Stadby狀態

1 BLE在ADV狀態

2 BLE在連線溝通資料狀態

4 BLE在連線成功狀態

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 62: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

APP送資料給DEVICE

APP發送資料給Device在收到APP Data 時1.DataReadFlag設為ENABLE2.ReadBuf存放

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 63: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

LIBRARY提供FLAG

Flag Name 概述

DataOverWriteFlagData 等於1表示在DataReadFlag=1時又有接收到

DataReadFlag 等於1表示有接收到Data 寫0清除

DataWriteFlag 等於1表示有Data未送出

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 64: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

APP送資料給DEVICE

APP發送資料給Device在收到APP Data 時1.DataReadFlag設為ENABLE2.ReadBuf存放

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 65: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

LIGHTBLUE APP

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 66: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

LIGHTBLUE APP

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 67: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

LIGHTBLUE APP

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 68: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

LIGHTBLUE APP

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 69: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

客戶 APP

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 70: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

客戶 APP

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 71: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

LIBRARY提供FUNCTION

Function 概述

InitCrystalCL 設定Crystal CL值InitBLE 初始化A8105A8105WeiteRed A8105 Register寫入SetBLEAdvProcess 啟動或停止ADVBle_Service BLE服務程式InitTimer1 初始化Timer1RFTimer_interrupt RFTimer中斷處理程式Heart_BleSendData BLE發送心跳Data BleSendUpdateReq BLE發送更改Interval時間

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 72: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

HEART_BLESENDDATA

呼叫此function來發送心跳Data資料給APP

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 73: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

WAHOO APP

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 74: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

WAHOO APP

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 75: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

WAHOO APP

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 76: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

Bluetooth Listing Process Introduction

A8105 2.4GHz SOC Chip

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 77: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

Architecture

ApplicationsProfile

Subsystem

Generic Access Profile (GAP) Remote Control Proximity (PXP) … Heart Rate (HRP)

HostSubsystem

Generic Attribute Profile (GATT)

Security Manager Protocol (SMP)

Attribute Protocol (ATT)

Logical Link Control and Adaptation Protocol (L2CAP)

Host Controller Interface (HCI) Interface

Link Layer (LL) Direct Test Mode

ControllerSubsystem

Physical Layer (PHY)

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 78: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

Product types

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 79: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

Product types – AMICCOM offered

¡ Profile Subsystem:§ QDID: 49896§ AMC_BLE Profile SPL01

§ QDID: 51582§ AMC_BLE Profile SPL02

¡ Host Subsystem:§ QDID: 45008§ AMC_BLE Host

¡ Controller Subsystem:§ QDID: 45153§ A7107 BLE Transceiver

§ QDID: 52727§ A8105 51 family SOC

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 80: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

¡ Heal th Thermometer Prof i le (HTP)§ Health Thermometer Service (HTS)

¡ Device Informat ion Ser v ice (D IS)¡ Find Me Prof i le (FMP)§ Immediate Alert Service (IAS)§ Link Loss Service (LLS)

¡ Proximity Profi le (PXP)¡ Tx Power Ser v ice (TPS)¡ Hear t Rate Prof i le (HRP)§ Heart Rate Service (HRS)

¡ Blood Pressure Profi le (BLP)§ Blood Pressure Service (BLS)

¡ Batter y Ser v ice (BAS)¡ HID over GATT Prof i le (HOGP)§ HID Service (HIDS)

¡ Scan Parameters Profi le (ScPP)§ Scan Parameters Service (ScPS)

¡ Running Speed and Cadence Prof i le (RSCP)§ Running Speed and Cadence Service (RSCS)

¡ Cycl ing Speed and Cadence Ser v ice (CSCP)§ Cycling Speed and Cadence Profile (CSCS)

Product types – Profile function

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 81: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

¡ An EPL must be created by a SIG member company and create their own EPL.

KEY GUIDELINES – 1(FOR CREATING A VALID EPL)

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 82: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

¡ End Products implementing Subsystems must reference, at a minimum, both the Controller Subsystem QDID and Host Subsystem QDID.

KEY GUIDELINES - 2(FOR CREATING A VALID EPL)

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 83: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

¡ The EPL description should define the product being listed and not use the description from the implemented Qualified Design(s).

KEY GUIDELINES - 3(FOR CREATING A VALID EPL)

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 84: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

¡ Fill the correct info.

KEY GUIDELINES - 4(FOR CREATING A VALID EPL)

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 85: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

¡ Products must follow the correct Spec. Naming Conventions defined in the Bluetooth brand guide.¡ For example,

Bluetooth 4.0+EDR or 3.0+EDR are not valid Spec. Names.

KEY GUIDELINES - 5(FOR CREATING A VALID EPL)

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 86: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

¡ The listing is now complete.

KEY GUIDELINES - 6(FOR CREATING A VALID EPL)

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 87: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

¡ Once redirected, click on the Declaration ID of the listing user want to add a product. ¡ Note: user must be the listing owner in order to edit the

listing.

ADD MORE PRODUCTS - 1

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 88: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

¡ Once redirected, user can add a new product to the listing by clicking “Add” button.

ADD MORE PRODUCTS - 2

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 89: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

¡ Fill in all required fields marked with *.

ADD MORE PRODUCTS - 3

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 90: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

¡ The new product added will be saved in the Product List.

ADD MORE PRODUCTS - 4

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 91: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

Innovation Incentive Program - IIP

¡ Enables small and star t-up member companies who are new to Bluetooth technology to l ist their first Bluetooth products at a discounted price¡ Benefits:§ To declare up to 2 listings for an introductory fee of $2,500 each.

¡ Requirements:§ The company does not have any prior product listings — no QDLs, EPLs, or

Declarations.§ The company’s annual revenue is less than $1M USD.

¡ Process:§ Apply online at .ORG (URL to be provided by Feb 1)§ Format must be one of the following: § Annual Report§ Yearly Profit and Loss Statement/Balance Sheet (independently audited)§ Tax Documents or Report or Letter from an independent auditor

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 92: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

Innovation Incentive Program – IIP (FAQ)

¡ Does the IIP discount pricing expire?§ Yes, once approved for IIP, you have 18 months to purchase and use

the Declaration IDs at discounted price.¡ How many times can I apply for IIP?§ If approved, you may only participate in IIP one time.§ If rejected, and your revenue changes, you may reapply after 6

months of your previous application.¡ Are IIP Declaration IDs any dif ferent from regular Declaration

IDs?§ IIP Declaration IDs are 2,500 USD instead of the regular price of

8,000 for Adopters or 8,000 USD for Associates, and IIP Declaration IDs expire in 18 months of approval. Other than that, they work the same way as standard Declaration IDs.

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 93: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

ICE安裝及說明/Writer/TF 介紹

A8105 2.4GHz SOC Chip

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 94: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

ICE HARDWARE

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 95: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

• 請手動安裝驅動程式

• 選擇Keil的安裝目錄下,C51裡有個DRIVERS的目錄,若您的系統為64bits OS則選x64,其餘均選x86

• 安裝完成後,會在裝置管理員中出現

ICE DRIVER SETUP

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 96: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

• 設定Database時,請選擇AMICCOM

• Debug頁面

KEIL PROJECT SETUP (1/2)

• 按Settings按鈕

Clock freq為MCU clock,通常跟Xtal是一致的

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 97: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

• Utilities頁面

• Settings

KEIL PROJECT SETUP (2/2)

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 98: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

WRITER HARDWARE

• Type:– 1-1– 1-4– 1-8

• Writer interface:

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 99: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

• 選擇正確之Chip及Xtal:

• Setup à Port Setup: • 按Auto Scan

WRITER SOFTWARE (1/2)

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 100: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

• Setup à Viewer

WRITER SOFTWARE (2/2)

• Option

• Auto Program

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 101: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

TESTFIXTURE

• 測試RF功能是否正常TX powerTX 頻偏RX sensitivity (FIFO)

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]

Page 102: A8105 BLE Introduction - Weeblyamiccom.weebly.com/uploads/3/9/5/9/3959395/a8105_ble__introduction... · A8105 BLE 內容 內容 A8105簡介 BLE簡介 BLE LIB & Tool介紹 Break Bluetooth

Q & A問題討論

討論A8105

AMICCOM 笙科電子總代理 瑋忠科技 WWW.AVANTCOM.COM.TW [email protected]

AMICCOM 笙科電子總代理 深圳奇翰電子 WWW.AVANTCOM.COM.CN [email protected]