WS1102 Platform
Hardware Devices Covered by This Platform
- WS1102 programmable serial controller.
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 |
|
V4.02.00 (download) |
13DEC2021 |
|
V4.01.04 (download) |
04NOV2021 |
|
V4.01.02 (download) |
17JUN2021 |
|
V4.01.01 (download) |
25DEC2020 |
|
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) |
Unidirectional(2) |
|
UART limitations |
Maximum practical baudrate of ~921,620bps |
512 bytes for TX, 512 bytes for RX |
|
Depends on the serial port mode |
|
Interdependent |
|
Supported |
|
ADC |
No |
Pulse-width Modulation (PWM) |
No |
GA1000 support |
N/A |
WA2000 support |
N/A |
N/A |
|
Beep frequency |
beep.frequency defines the frequency used, from 30Hz to 20KHz |
Recommended buzzer frequency setting |
2,750Hz, beep.frequency = 2750 |
N/A |
|
28 bytes for MAC and device password storage |
|
128 bytes: 64 OTP bytes + 64 fixed bytes |
|
Dedicated |
|
Self-upgrades for Tibbo BASIC/C applications |
Supported through the fd.copyfirmware, fd.copyfirmwarelzo, fd.copyfirmwarefromfile, and fd.copyfirmwarefromfilelzo methods |
Status Green (SG) LED Status Red (SR) LED Yellow Association status (EY) LED An LED bar consisting of five blue LEDs |
|
Serial Wireless / UDP Broadcast transport Wireless / WinPCap transport |
- 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.
- Surrounding board hardware dictates which GPIO lines must be used as inputs and which — as outputs.
Supported Objects, Variable Types, and Functions
- Objects:
- beep — generates buzzer patterns(1)
- bt — in charge of the BLE (Bluetooth Low-Energy) interface(1)
- button — monitors the MD (setup) line
- fd — manages the flash memory file system and direct sector access(1)
- io — handles I/O lines, ports, and interrupts
- pat — "plays" patterns on up to five LED pairs
- ppp — accesses the Internet over a serial modem (GPRS, etc.)
- romfile — facilitates access to resource files (fixed data)
- rtc — keeps track of date and time
- ser — controls serial ports (UART, Wiegand, clock/data modes)(1)
- sock — socket comms (up to 32 UDP, TCP, and HTTP sessions) and support for TLS(2)
- ssi — controls serial synchronous interface channels (SPI, I²C...)
- stor — provides access to the EEPROM
- sys — in charge of general device functionality(1)
- wln — handles the Wi-Fi interface(1)
- Function groups: String functions, trigonometric functions, date/time conversion functions, encryption/hash calculation functions, and more
- Variable Types: Byte, char, integer (word), short, dword, long, real, string, plus user-defined arrays and structures
- These platform objects have new features. Please see Updated Platform Objects for more information.
- 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 |
|
pl_int_num |
Available interrupt lines |
|
pl_io_num |
Available general-purpose I/O (GPIO) lines |
|
pl_io_port_num |
Available 8-bit GPIO ports |
|
pl_redir |
Buffer redirection constants. |
|
pl_ser_baud |
Standard baudrates supported by the serial ports |
|
pl_sock_interfaces |
Network interfaces supported by the platform |
|
pl_ssi_baud |
Suggested baudrates supported by serial synchronous interfaces (SSI) |
|
pl_sys_debug_mode |
Available debugging interfaces |
|
pl_wln_domains |
Available Wi-Fi regulatory domain choices |
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.