Data Sheet
LC840PA
Datasheet
https://www.lairdconnect.com
33
© Copyright 2021 Laird Connectivity
All Rights Reserved
Americas: +1-800-492-2320
Europe: +44-1628-858-940
Hong Kong: +852 2762 4823
Signal Name
Pin No
I/O
Comments
SIO_29/AIN5 – Analog Input
48
I
Configurable acquisition time 3uS, 5uS, 10uS(default),
15uS, 20uS, 40uS.
Full scale input range (VDD)
SIO_28/AIN4 – Analog Input
46
I
5.10.3 PWM Signal Output on up to 16 SIO Pins
The PWM output is an alternate function on ALL (GPIO) SIO pins, configurable by smartBASIC. The ProFLEX firmware does
not use the PWM interface.
The PWM output signal has a frequency and duty cycle property. Frequency is adjustable (up to 1 MHz) and the duty cycle can
be set over a range from 0% to 100%.
PWM output signal has a frequency and duty cycle property. PWM output is generated using dedicated hardware in the chipset.
There is a trade-off between PWM output frequency and resolution.
For example:
▪ PWM output frequency of 500 kHz (2 uS) results in resolution of 1:2.
▪ PWM output frequency of 100 kHz (10 uS) results in resolution of 1:10.
▪ PWM output frequency of 10 kHz (100 uS) results in resolution of 1:100.
▪ PWM output frequency of 1 kHz (1000 uS) results in resolution of 1:1000.
5.10.4 FREQ Signal Output on up to 16 SIO Pins
The FREQ output is an alternate function on 16 (GPIO) SIO pins, configurable by smartBASIC.
Note: The frequency driving each of the 16 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).
The ProFLEX firmware does not use the FREQ interface.
5.11 nRESET pin
Table 22: nRESET pin
Signal Name
Pin No
I/O
Comments
nRESET
19
I
LC840PA HW reset (active low). Pull the nRESET pin low for minimum 100mS
for the LC840PA to reset.
5.12 Two-wire Interface JTAG
The LC840PA firmware hex file consists of two elements:
▪ ProFLEX IEEE 802.15.4:2006 Application firmware
▪ MCUboot Bootloader
The bootloader allows for an application firmware image to be signed and enable a more secure upgrade path for firmware.
Programming the firmware must be performed using the JTAG interface.
Laird BL654PA smartBASIC firmware (FW) image part numbers are referenced as w.x.y.z (ex. v29.x.y.z). The BL654PA
smartBASIC runtime engine and Softdevice combined image can be upgraded by the customer over the UART interface.
You also have the option to use the two-wire (JTAG) interface, during production, to clone the file system of a Golden
preconfigured LC840PA to others using the Flash Cloning process. This is described in the following application note Flash
Cloning for the LC840PA. In this case, the file system is also part of the .hex file.