BL600-Sx Hardware Integration Guide
Single Mode BLE Module
Americas: +1-800-492-2320 Option 2
Europe: +44-1628-858-940
Hong Kong: +852-2923-0610
www.lairdtech.com/bluetooth
28
CONN-HIG-BL600
5.8.2
Quadrature Decoder
The following feature exists in hardware but cannot be configured in the firmware currently:
The quadrature decoder provides buffered decoding of quadrature-encoded sensor signals. It is suitable
for mechanical and optical sensors with an optional LED output signal and input debounce filters. The
sample period and accumulation are configurable to match application requirements. All pins
individually can be configured to carry quadrature demodulator signals.
5.8.3
ADC
The ADC is an alternate function on SIO pins, configurable by
smart
BASIC.
The BL600 provides access to six-channel 10-bit incremental ADC. This enables sampling up to six external
signals through a front end MUX. The ADC has configurable input and reference prescaling and sample
resolution (8, 9, and 10 bit).
Note: Current
smart
BASIC runtime engine firmware (since v1.1.50.0) provides access to 10-bit mode
resolution only.
5.8.3.1
Analog Interface (ADC)
Table 17: Analog interface
Signal Name
Pin No
I/O
Comments
AIN – Analog Input
2
I
This interface is an alternate function on each pin,
configurable by
smart
BASIC. AIN configuration selected using
GpioSetFunc() function.
8, 9, 10 bit resolution. Voltage scaling 1/1, 2/3, 1/3.
AIN – Analog Input
4
I
AIN – Analog Input
5
I
AIN – Analog Input
6
I
AIN – Analog Input
7
I
AIN – Analog Input
8
I
5.8.4
PWM and FREQ signal output on up to 2 SIO pins
The PWM and FREQ output is an alternate function on SIO pins, configurable by
smart
BASIC.
The ability to output a PWM (Pulse Width Modulated) signal or FREQ output signal on up to 2 GPIO (SIO)
output pins has been added since
smart
BASIC runtime engine firmware v1.3.57.0 and can be selected using
GpioSetFunc() function.
PWM output signal has a frequency and duty cycle property. PWM output is generated using 32-bit hardware
timers. The timers are clocked by a 1MHz clock source. Frequency is adjustable (up to 1 MHz ) and the Duty
cycle can be set over range from 0% to 100% (both configurable by
smart
BASIC command). Note, the
frequency driving each of the 2 SIO pins is the same but the duty cycle can be independently set for each pin.
FREQ output signal frequency can be set over a range of 0Hz to 4MHz (with 50% mark-space ratio).