WS1102 Platform

Hardware Devices Covered by This Platform


Memory Space and Key Info

RAM

22,271 bytes for application variables and data

Flash

983,040 bytes for application and data storage (shared flash memory)

EEPROM

2,040 bytes for application data


TiOS Firmware Version

Date

Notes

V4.02.01 (download)

30MAR2022

  • Fixed an issue preventing sock. events from firing when using doevents

V4.02.00 (download)

13DEC2021

V4.01.04 (download)

04NOV2021

V4.01.02 (download)

17JUN2021

  • Improved pin and PWM initialization
  • Serial debug port initialization fixed
  • Added HMAC256 functionality

V4.01.01 (download)

25DEC2020

  • Initial release

Platform type

32-bit platform

Clock frequency (CLOCK) and clock control

Frequency is fixed at 192MHz

Available network interfaces

Wi-Fi (wln. object), PPP (ppp. object)(1)

GPIO type

Unidirectional(2)

UART limitations

Maximum practical baudrate of ~921,620bps

Serial port FIFOs

512 bytes for TX, 512 bytes for RX

Serial port line configuration

Depends on the serial port mode

Serial port interrupts and io.intenabled

Interdependent

RTS/CTS remapping

Supported

ADC

No

Pulse-width Modulation (PWM)

No

GA1000 support

N/A

WA2000 support

N/A

GA1000 and WA2000 lines remapping

N/A

Beep frequency

beep.frequency defines the frequency used, from 30Hz to 20KHz

Recommended buzzer frequency setting

2,750Hz, beep.frequency = 2750

Display type selection and line remapping

N/A

Special configuration section of the EEPROM

28 bytes for MAC and device password storage

Device serial number

128 bytes: 64 OTP bytes + 64 fixed bytes

Flash memory configuration

Dedicated

Self-upgrades for Tibbo BASIC/C applications

Supported through the fd.copyfirmware, fd.copyfirmwarelzo, fd.copyfirmwarefromfile, and fd.copyfirmwarefromfilelzo methods

Status LEDs (LED Control Lines)

Status Green (SG) LED

Status Red (SR) LED

Yellow Association status (EY) LED

An LED bar consisting of five blue LEDs

Debug communications

Serial

Wireless / UDP Broadcast transport

Wireless / WinPCap transport

  1. The sock.allowedinterfaces property refers to the Wi-Fi interface as "WLN" and PPP as "PPP." The sock.targetinterface and sock.currentinterface properties rely on the enum pl_sock_interfaces, whose members differ depending on the platform.
  2. Surrounding board hardware dictates which GPIO lines must be used as inputs and which — as outputs.

Supported Objects, Variable Types, and Functions

  1. These platform objects have new features. Please see Updated Platform Objects for more information.
  2. TLS1.2 with RSA-2048 cryptosystem, supported on a single outgoing TCP connection.

Platform-Specific Constants

Enum

Description

To see the list of constants, in TIDE type...

pl_app_num

Available Tibbo BASIC/C application binaries stored in the flash memory

sys.defaultapp=

pl_int_num

Available interrupt lines

io.intnum=

pl_io_num

Available general-purpose I/O (GPIO) lines

io.num=

pl_io_port_num

Available 8-bit GPIO ports

io.portnum=

pl_redir

Buffer redirection constants.

sock.redir=
ser.redir=

pl_ser_baud

Standard baudrates supported by the serial ports

ser.baudrate=

pl_sock_interfaces

Network interfaces supported by the platform

sock.targetinterface=
if sock.currentinterface=

pl_ssi_baud

Suggested baudrates supported by serial synchronous interfaces (SSI)

ssi.baudrate=

pl_sys_debug_mode

Available debugging interfaces

sys.debugmode=

pl_wln_domains

Available Wi-Fi regulatory domain choices

wln.domain=


Dual Tibbo BASIC/C Apps

The WS1102 is equipped with the same Wi-Fi/BLE SoC as the WM2000 module and has the same dual-application capability.

For more information, see Dual Tibbo BASIC/C Apps.


WS1102 Platform

Hardware Devices Covered by This Platform

Memory Space and Key Info

Supported Objects, Variable Types, and Functions

Platform-Specific Constants

Dual Tibbo BASIC/C Apps