BT900-Sx Hardware Integration Guide
Intelligent BTv4.0 Dual Mode Module
Embedded Wireless Solutions Support Center:
http://ews-support.lairdtech.com
www.lairdtech.com/bluetooth
24
Americas: +1-800-492-2320
Europe: +44-1628-858-940
Hong Kong: +852 2923 0610
The BT900 provides access to 2-channel 12-bit incremental ADC. This enables sampling multiple external
signals through a front end MUX. The ADC has configurable input.
Note: Current
smart
BASIC runtime engine firmware (v9.1.2.0) provides access to 12-bit mode resolution.
5.8.2.1
Analog Interface (ADC)
Table 14: Analog interface
Signal Name
Pin #
I/O
Comments
AIN – Analog Input
24
I
This interface is an alternate function on each pin,
configurable by
smart
BASIC. AIN configuration selected using
GpioSetFunc() function.
12 bit resolution.
AIN – Analog Input
25
I
5.8.3
PWM and FREQ signal output on up to two SIO pins
The PWM and FREQ output is an alternate function on SIO pins and is configurable by
smart
BASIC.
The ability to output a PWM (Pulse Width Modulated) signal or FREQ output signal on up to three GPIO (SIO)
output pins has been available as of
smart
BASIC runtime engine firmware v9.1.2.0 and can be selected using
the 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 4 MHz 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 the two 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 0 Hz to 4 MHz (with 50% mark-space ratio).
5.9
nRESET pin
Table 15: nRESET pin
Signal Name
Pin No
I/O
Comments
nRESET
16
I
BT900 HW reset (active low). Pull the nRESET pin low for
minimum 500 nS in order for the BT900 to reset.
Note: You MUST fit an external pull-up resistor (10K) on nRESET (pin 16) to VCC for the BT900 to be out
of reset. nRESET needs to be held low (0V) for greater than 500 nS to reset the module.
5.10
nAutoRUN pin
Refer to section
nAutoRUN pin and Operating Modes
regarding operating modes and the nAutoRUN pin.
Self-contained Run mode
Interactive/Development mode
5.11
smart
BASIC runtime engine firmware upgrade
The BT900 software consists of the following:
BT900
smart
BASIC runtime engine FW (loaded at production, may be upgraded by the customer).
BT900
smart
BASIC application script developed by customer (loaded through UART by the customer).