Fanstel BlueFan BT680E User manual

BlueFanBT680F/E/TBLE5Module
1
Features
Standalone or used with a host MCU by UART interface/HCI Commands
Hybrid Castellated/LGA pins, easier prototyping, easier production
Toshiba SOC, built-in Cortex M0 processor
Masked-ROM:
▪ Boot program
▪ HCI/Extended HCI command
▪ Control API for GATT/SM layer
▪ API for hardware control
RAM: retention, 144 KB (user area RAM, 76 KB).
Flash:128 KB
Bluetooth RF analog core, baseband digital core and integrated antenna
Transmitter power +8 dBm;
Receiver sensitivity at 1Mbps: -95 dBm.
Receiver sensitivity at 125 Kbps: -105 dBm.
Bluetooth Low Energy (BLE) V5 GATT profile with OTA (Over The Air) support.
Bluetooth SIG certified BLE 5 stacks embedded in mask-ROM.
Up to18 General Purpose IOs to be configured by firmware:
▪ SPI interface,
▪ I
2C interface
▪ UART interface, 9600bps to 921.6 Kbps
▪ Up to 2 wake up interfaces
▪ Up to 5 ADC channels (1 for internal monitoring of VDD).
▪ Up to 4 PWM channels
On board 32 MHz main clock
External 32.768 kHz sleep clock
Operation voltage: 1.9V-3.6V
Peak current consumption, 11.5 mA (+8 dBm TX, 2 Mbps PHY)
Deep sleep mode, <0.1uA
Operation Temperature: -40oC to +85oC
Sizes: 15x20.8x1.9mm;
Hybrid pins: 16 castellated and 24 LGA pins
Integrated shield to resist EMI
Applications:
Access Points
Industrial Control
Medical
Scanners
iOS and Android devices
Wireless sensors
Cable replacement
Instrumentation
Automobile
Sports
Proximity
Ordering Information:
module BT680F BT680T BT680E
SoC TC35680FSG-002 TC35681FSG-002 TC35680FSG-002

BlueFanBT680F/E/TBLE5Module
2
RAM 144KB 144KB 144KB
Flash 128KB 0128KB
antenna PCB trace PCB trace u.FL
Antenna Gain 1.32dBi 1.32dBi 6dBi
Line of sight range 3000 meters at 125 Kbps 3000 meters at 125 Kbps
Sizes, mm 15x20.8x1.9 15x20.8x1.9 15x20.8x1.9
Evaluation board EV-BT680F EV-BT680T EV-BT680E
FCC ID X8WBT680 X8WBT680 X8WBT680
Industrial Canada ID 4100A-BT680 4100A-BT680 4100A-BT680
Availability Sample Sample Sample

BlueFanBT680F/E/TBLE5Module
3
1. Introduction ................................................................................................................................................... 5
2. Product Features .......................................................................................................................................... 5
BT680F with PCB trace antenna
BT680E with an u.FL Connector for External Antenna
BT680T Communicating with a Host MCU Using HCI Commands
3. Hardware Description ................................................................................................................................... 8
Module Footprint Drawing
BT680F Pin Assignments
Pin Functions
Example of GPIO Functions
Mounting BT680F on the Host PCB
4. Hardware Interfaces ................................................................................................................................... 14
Bluetooth Interfaces
UART Features
SPI Interface
I2C interface
Pulse Width Modulation Interface
Analog to Digital Converter
5. BlueFan Module Specifications .................................................................................................................. 18
Absolute Maximum Ratings
Recommended Operating Conditions
Current Consumption
6. System Operation ........................................................................................................................................ 20
Setting Operation Mode
Standalone Mode
HCI Mode
7. Module Evaluation Board ........................................................................................................................... 21
Evaluation Software for Windows PC
Evaluation Software for MAC
Android OS App
iOS App
Evaluation Board Schematics
Battery Powered Products
8. FCC ............................................................................................................................................................. 23
9. Soldering Temperature-Time Profile for Re-Flow Soldering ...................................................................... 23
10. Cautions and Packaging ........................................................................................................................... 23
Cautions

BlueFanBT680F/E/TBLE5Module
4
Packaging
Revision History ............................................................................................................................................... 27
11. Contact Us ................................................................................................................................................ 28

BlueFanBT680F/E/TBLE5Module
5
1. Introduction
BlueFan modules are Bluetooth Smart module using Toshiba SoC. Toshiba SoC provides
Bluetooth
TM
HCI (Host Control Interface) function specified in Bluetooth
TM
Core Specifications. The
HCI function allows BlueFan to be connected to an external host processor for Bluetooth applications.
Bluetooth stacks and GATT 5 profiles are embedded with OTA support.
BT680F modules work in standalone alone mode without a host processor. An SWD (Serial Wire
Debug) 2-wire interface is available for firmware development.
2. Product Features
BT680F with PCB trace antenna
The following is a block diagram of BT680F. It operates in standalone mode or with a host
processor. A 32MHz main clock crystal is on board. A 32.768 KHz crystal can be added on the main
board to provide precise sleep clock in sleep mode. This module can be wake up by an external
signal. Printed antenna is integrated. Co-existence connection with WiFi is provided.
Standalone or used with a host MCU by UART interface/HCI Commands
Hybrid Castellated/LGA pins, easier prototyping, easier production
Toshiba SOC, built-in Cortex M0 processor
Masked-ROM:
▪ Boot program
▪ HCI/Extended HCI command
▪ Control API for GATT/SM layer
▪ API for hardware control
RAM: retention, 144 KB (user area RAM, 76 KB).
Flash:128 KB

BlueFanBT680F/E/TBLE5Module
6
Bluetooth RF analog core, baseband digital core and integrated antenna
Transmitter power +8 dBm;
Receiver sensitivity at 1Mbps: -95 dBm.
Receiver sensitivity at 125 Kbps: -105 dBm.
Bluetooth Low Energy (BLE) V5 GATT profile with OTA (Over The Air) support.
Bluetooth SIG certified BLE 5 stacks embedded in mask-ROM.
Up to18 General Purpose IOs to be configured by firmware:
▪ SPI interface,
▪ I
2C interface
▪ UART interface, 9600bps to 921.6 Kbps
▪ Up to 2 wake up interfaces
▪ Up to 5 ADC channels (1 for internal monitoring of VDD).
▪ Up to 4 PWM channels
On board 32 MHz main clock
External 32.768 kHz sleep clock
Operation voltage: 1.9V-3.6V
Peak current consumption, 11.5 mA (+8 dBm TX, 2 Mbps PHY)
Deep sleep mode, <0.1uA
Operation Temperature: -40oC to +85oC
Sizes: 15x20.8x1.9mm;
Hybrid pins: 16 castellated and 24 LGA pins
Integrated shield to resist EMI
BT680E with an u.FL Connector for External Antenna
BT680E has the same specifications as BT680F except the integrated PCB trace antenna is replaced
with an u.FL connector for external antenna.
BT680T Communicating with a Host MCU Using HCI Commands

BlueFanBT680F/E/TBLE5Module
7
BT680T specifications are the same as that of BT680F except flash memory size. A host MCU sends
HCI commands to manage operation of BT680T. BT680T can work in standalone mode by adding an
external serial EEPROM.

BlueFanBT680F/E/TBLE5Module
8
3. Hardware Description
Module Footprint Drawing
A mechanical drawing is shown below.

BlueFanBT680F/E/TBLE5Module
9
BT680F Pin Assignments

BlueFanBT680F/E/TBLE5Module
10
Pin Functions
BT680F module has 16 castellated pins for product needing limited GPIOs and additional 24 Land
Grid Array (LGA) pins.
All Toshiba TC35680-FSG GPIO pins are accessible. GPIO pins can be configured by firmware as
UART, SPI, I2C, ADC, or PWM pins. The followings are configurable examples. For additional
examples of configuration, please refer to Toshiba data sheets.
Pin pin name Descriptions
1 GPIO8 GPIO8, configured as I2C-SDA on evaluation board.
2 GPIO7 GPIO7, configured as I2C-SCL on evaluation board
3 XOUT Connection for external 32.768 kHz sleep clock
4 XIN Connection for external 32.768 kHz sleep clock
5 GPIO0 GPIO 0
6 GPIO1 GPIO 1
7 GPIO2 GPIO 2 or PWM 1
8 GPIO15 GPIO 15
9 VDD VDD, 1.9 to 3.6V DC power supply
10 GND Ground
11 GPIO9 GPIO 9 or ADC 3
12 GPIO10 GPIO 10 or ADC 4
13 GPIO11 GPIO 11 or SPI-DOUT 2 or I2C-SCL 2.
14 RESETX Hardware reset input, low to reset.
15 SWDCLK Serial Wire Debug clock pin
16 SWDIO Serial Wire Debug data pin
A0 GND0 Ground
A1 NC
A2 NC
A3 NC
A4 GPIO12 GPIO 12 or SPI-DIN 2 or I2C-SCL 2
A5 GPIO13 GPIO 13 or SPI-SCS 2 or UART 1 RTSX
B0 GND1 Ground

BlueFanBT680F/E/TBLE5Module
11
Pin pin name Descriptions
B1 NC
B2 NC
B3 GPIO17 GPIO17orUART2RX
B4 GPIO16 GPIO16orUART2TX
B5 GPIO14 GPIO14orSPI‐SCLK2orUART1CTSX
C0 GND2 Ground
C1 NC
C2 NC
C3 NC
C4 GPIO3 GPIO or PWM 2
C5 GPIO5‐TXD GPIO5orUART1TX
D0 GND3 Ground
D1 NC
D2 NC
D3 NC
D4 GPIO4 GPIO 4 or PWM 3
D5 GPIO6‐RXD GPIO6orUART1RX

BlueFanBT680F/E/TBLE5Module
12
Example of GPIO Functions
The following shows examples of possible GPIO. For details about combination of settings, refer to
Toshiba software application notes.
Example 1 Example 2 Example 3 Example 4 Example 5
GPIO0 GPIO0 GPIO0 GPIO0 GPIO0 GPIO0
GPIO1 GPIO 1 GPIO 1 GPIO 1 GPIO 1 GPIO 1
GPIO2 PWM 1 PWM 1 PWM 1 GPIO 2
GPIO 2
GPIO3 PWM2 PWM2 PWM2 SPI-DOUT1 GPIO3
GPIO4 PWM3 PWM3 PWM3 SPI-DOUT2 GPIO4
GPIO5 UART1-TX UART1-TX UART1-TX UART1-TX UART1-TX
GPIO6 UART1-RX UART1-RX UART1-RX UART1-RX UART1-RX
GPIO7 UART1-RTSX UART1-RTSX I2C-SCL1 SPI-SCS1 I2C-SCL1
GPIO8 UART1-CTSX UART1-CTSX I2C-SDA1 SPI-SCLK1 I2C-SDA1
GPIO9 ADC3 ADC3 ADC3 ADC3 GPIO 9
GPIO10 ADC4 ADC4 ADC4 ADC4 GPIO 10
GPIO11 SPI-DOUT2 I2C-SCL2 GPIO 11 I2C-SCL 2 GPIO 11
GPIO12 SPI-DIN2 I2C-SDA2 GPIO 12 I2C-SDA2 GPIO12
GPIO13 SPI-SCS2 GPIO13 UART1-RTSX UART1-RTSX GPIO13
GPIO14 SPI-SCLK2 GPIO14 UART1-CTSX UART1-CTSX GPIO14
GPIO15 GPIO15 GPIO15 GPIO15 GPIO15 GPIO15
GPIO16 UART2-TX GPIO16 GPIO16 GPIO16 GPIO16
GPIO17 UART2-RX GPIO17 GPIO17 GPIO17 GPIO17

BlueFanBT680F/E/TBLE5Module
13
Mounting BT680F on the Host PCB
The following figure shows recommended mounting of BT680F module on the host PCB.
• For the best Bluetooth range performance, the antenna area of module shall extend 6 mm outside the edge
of host PCB board, or 6 mm outside the edge of a ground plane.
• The next choice is to place module on a corner of host PCB, the antenna area shall extend 6mm from the
edge of ground plane. Ground plane shall be at least 5 mm from the edge of the antenna area of module.
• Bluetooth range performance is degraded if a module is placed in the middle of the host PCB.
For the best Bluetooth range performance, keep all external metal at least 30mm from the antenna area.

BlueFanBT680F/E/TBLE5Module
14
4. HardwareInterfaces
Bluetooth Interfaces
BT680 Series with an integrated PCB trace antenna or u. FL connector for an external antenna; RF analog,
baseband hardware, embedded firmware in ROM of TC35680, provide complete supports of Bluetooth Low
Energy (BLE) interfaces.
Bluetooth Core Specification features supported and not supported by BT680F Series are in the table
below.
BT Core Spec. Description Notes
v4.0 features Central Supported
Peripheral Supported
Multi Profile/point Supported
Connection Updates Supported
Random Address Supported
WhiteList Supported
Security Property (Just Works) Supported
Security Property (PassKey Entry) Supported
Security Property (OBB) Supported
Security Property (Numeric Comparison) Supported
GATT-Client Supported
GATT-Server Supported
Broadcaster Supported
Observer Supported
v4.1 features Low Duty Cycle Directed Advertising Supported
32-bit UUID support in LE Supported
LE L2CAP Connection Oriented Channel Support Not Supported
LE Privacy v1.1 Supported
Connection Parameter Request Procedure Supported
Extended Reject Indication Supported
Slave-initiated Features Exchange Supported
LE Ping Supported
Act as LE Master and LE Slave at the same time Supported
Act as LE Slave to more than one LE Master at the same time Supported

BlueFanBT680F/E/TBLE5Module
15
BT Core Spec. Description Notes
v4.2 features LE Data Packet Length Extension Supported
LE Secure Connections Supported
Link Layer Privacy NotSupported
Link Layer Extended Scanner Filter Policies Supported
v5 features 2Msym/s OHY for LE Supported
High Duty Cycle Non-Connectable Advertising Supported
LE Advertising Extensions Supported
ChannelSelectionAlgorithm#2 Supported
Bluetooth transmission power is selectable from +8, +7, +6, 0,-6, and -20 dBm.
The RSSI of reception block has an accuracy of +/- 2 dB (typical) for an input signal between -90 and
-10 dBm.
Reset
A RC circuit is on board to reset Toshiba processor on powering up. A host processor can reset
module by setting RESETX pin low.
UART Features
Depending on firmware setting, BT680F supports with 2 channels of UART. Channel 1 has flow
control (TX1, RX1, CTS1, RTS1).Channel 2 doesn’t have flow control.
• Default baud rate 115.2Kbps; programmable baud rate:9600 bps to 921.6 Kbps.
• Full duplex start-stop synchronization data transfer (RX, TX).
Data format:
▪ LSB first
▪ 1 start bit
▪ 8 data bit
▪ 1 stop bit
▪ No parity bit
• Error detection:
▪ Receiver timeout error
▪ Receiver overrun error
▪ Receiver frame error
The interval of transmit to transmit, insert the duration of 12 characters or more. Interval can be
changed by the command.
Host wake-up function.

BlueFanBT680F/E/TBLE5Module
16
In host mode, BlueFan module communicates commands, status, and data with a host CPU through
UART interfaces. The UART interfaces are shared with GPIO pins, and during boot process after a
reset, module firmware assigns UART functions to the GPIOs.
Flow Control Function
BlueFan module UART interface uses flow control function by hardware signal, Transmit flow control
(CTSX) and receive flow control (RTSX). Above Figure shows signals input and output direction .
CTSX input signal is used for UART transmitting. Low input indicates close of the preparation of the
other party to receive data and module executes UART transmitting data if there is data for
transmission. In case of input high level, module stops transmitting by UART frame.
RTSX input signal is used for UART receiving. Low output indicates request data transmission to
UART transmitside device of the other party. module outputs Low level from RTSX when being able
to receive data and prepares to receive data.Response time of UART transmitting and receiving for
flow control signal depends on baud rate and internal process status of frame. It is from 1 frame to 4
frames.
Response time of UART transmitting and receiving for flow control signal depends on baud rate and
internal process status of frame. It is from 1 frame to 4 frame.
Error Detect Function
Module UART interface has 3 kinds of error functions.
• Receiver timeout error
• Receiver over run error
• Receiver frame error
Receiver timeout error reports as an error if the receiver frame interval counted by internal timer is
equal to or greater than a predetermined time
Receiver over run error is reported if UART internal receive frame buffer isoverflowed.
Receiver frame error is reported if it fails to recognize the unit frame.
SPI Interface
Features SPI interface.
• Utilize VDDIO power supply
SPI interface:
▪ Chip select: 2 channels
▪ Chip select polarity: High-active, Low-active
▪ Serial clock master operation: Polarity and phase are adjustable
▪ Serial clock frequency: 8 kHz to 16 MHz
▪ Serial data transfer mode: MSB-first or LSB first
I2C interface
Features of I2C interface
• Utilize VDDIO power supply

BlueFanBT680F/E/TBLE5Module
17
• Operation mode: I2C bus master
• Serial clock frequency: standard mode(100 kHz maximum), fast mode (100 to 400 kHz).
• Output mode: Open drain, CMOS output
• Device address format: 7 bit address, 10 bit address is not supported.
Pulse Width Modulation Interface
Features of PWM interface.
• Utilize VDDIO power supply
• Pulse generation function
• Selectable source clock, 16 MHz or 32.768 kHz
• 12 bit clock division setting, divider up to 1/4096: 8Hz to 16.384kHz for 32.768 kHz clock;
• Divider up to 1/16777216, 0.954 Hz to 8MHz for 16 MHz clock.
• It can mask the pulse output with 1 second period, 50 ms unit width (rhythm function).
• The interrupt can be generated in synchronization with the cycle of 1 second rhythm pattern.
• It can switch the pulse output to Low/High active
• Duty of pulse output is adjustable.
• Each PWM output can be synchronized by the pulse output synchronization function.
Analog to Digital Converter
BT680F has 6 channels of 12 bit ADC for battery monitoring and analog inputs from external sensors.
• Utilize VDDIO power supply
• 1 internal input channel (ADC 0) for VBAT voltage monitoring.
• 5 channels for analog inputs, shared with GPIOs
• Maximum conversion rate is 1 MS/s
• 10-bit by default, 12-bit selectable
The ADC has up to 12-bit conversion accuracy and can work for input voltage from 0V to 3.6V (VDD).
ADC channel 0 is connected to the VDDCORE2, whose voltage level is 1.2V, an IC internal voltage.
When a battery is used as power source, the reference voltage can slide over time because the
battery is connected as reference voltage.
AD converted data can be calculated by CPU into voltage values because the channel 0 is supplied
with 1.2V to its input.
Input voltage of ADC 1 to ADC 5 = (conversion result of ADCn/conversion result of ADC0) x1.2V

BlueFanBT680F/E/TBLE5Module
18
5. BlueFan Module Specifications
Absolute Maximum Ratings
Symbol Minimun Maximum
Powersupply VBAT,VDDIO ‐0.3V +3.9V
IOpininputvoltage VIN ‐0.3V VDDIO+0.3V,<3.9V
IOpininputcurrent IIN ‐10mA +10mA
Storagetemperature Tstg –40°C +125°C
Inputpower RFIO +10dBm

BlueFanBT680F/E/TBLE5Module
19
Recommended Operating Conditions
Min Typ Max
1 Powersupplyvoltage(BT680F) 1.9 3.0 3.6 V
2 Powersupplyvoltage(BT680T) 1.8 3.0 3.6 V
3 Maximumambientoperatingtemperature(BT680F) ‐40 25 85 °C
4 Maximumambientoperatingtemperature(BT680T) ‐40 25 125 OC
Current Consumption
Parameters Condition Min Typ Max mA
Digitaloperation 0.8 mA
Flashread 2.4 mA
Flashwrite 15.6 mA
Receivingdata 1Mbps 5.1 mA
Receivingdata 2Mbps 5.5 mA
Transmittingdata Outputpower=0dBM,1Mbps 6.0 mA
Transmittingdata Outputpower=0dBm,2Mbps 6.5 mA
Transmittingdata Outputpower=0dBM,1Mbps 11.0 mA
Transmittingdata Outputpower=+8dBm,2Mbps 11.5 mA
Lowpower,withconnection 32MHzdisabled,32.768KHzenabled(sleepmode) 2.5 uA
Lowpower,noconnection 32MHzdisabled,32.768KHzenabled(backupmode) 2.4 uA
Lowpower,noconnection 32MHzdisabled,32.768KHzdisabled(deepsleepmode) 0.05 uA

BlueFanBT680F/E/TBLE5Module
20
6. System Operation
Two operation options on starting up.
• Control module by an external MCU, or HCI (Host Control Interface) mode.
• Control module by user application program in module, or standalone mode.
Setting Operation Mode
Operation Mode GPIO 1 SWDIO Purpose
User-App mode H
_
Execute user program, including AT command mode
HCI Mode L HControl module by a host MCU
Test Mode L LInhibit
Standalone Mode
When user-app mode or standalone mode is selected, user program in internal flash is loaded to
internal RAM during boot-up sequence. Then, the applications are executed. To build a standalone
system, both the wireless protocol and the user application can be handled by the embedded Cortex
M0. The masked-ROM has Bluetooth low energy protocol stack and API for hardware control. They
can be used by the user program.
Application programs are developed and compiled in a Windows PC and downloaded into flash ROM
of module.
HCI Mode
On HCI mode, module receives control commands from the host MCU by the UART interface. Default
baud rate of UART is 115200. Program codes are stored in masked-ROM. No firmware development
or programming of flash memory is required for BT680F operating in HCI mode.
HCI command evaluation software are available for Windows PC and MAC. Sample scripts for setting
up communication to an iOS or Android device is available. HCI command control flow can be
developed on Windows PC or MAC before porting onto the target MCU.
This manual suits for next models
2
Table of contents
Other Fanstel Control Unit manuals
Popular Control Unit manuals by other brands

BOC Edwards
BOC Edwards Q Series instruction manual

Etherma
Etherma eNEXHO-IL Assembly and operating instructions

LEGRAND
LEGRAND DRD5 v2 installation instructions

Truma
Truma iNet Box installation instructions

WAGO
WAGO 750-481/040-000 manual

Genebre
Genebre 2009 Installation, operation and maintenance manual