WM2000 Platform
Hardware Devices Covered by This Platform
- WM2000 programmable wireless IIoT module
Memory Space and Key Info
RAM |
59,392 bytes for application variables and data |
Flash |
1,728,512 bytes for storing up to two compiled Tibbo BASIC/C application binaries 4,194,304 bytes for data storage (dedicated flash disk memory) |
EEPROM |
2,048 bytes for application data |
TiOS Firmware Version |
Date |
Notes |
V4.01.04 (download) |
04NOV2021 |
|
V4.01.02 (download) |
17JUN2021 |
|
V4.00.00 (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 |
Three channels, 12 bits (7 bits effective) |
Pulse-width Modulation (PWM) |
Nine channels with a common 2MHz core clock 30Hz to 20KHz frequency range frequency and duty cycle resolution is frequency-dependent |
GA1000 support |
N/A |
WA2000 support |
N/A |
N/A |
|
Beep frequency |
beep.frequency defines the frequency used, from 30Hz to 20KHz |
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(3) |
Status Green (SG) LED and control line Status Red (SR) LED and control line Status Yellow (SY) LED and control line |
|
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 hardware may dictate which GPIO lines must be used as inputs or outputs.
- All files in the WM2000's flash storage must be 4KB-aligned. For more information, please see Updated Platform Objects.
Supported Objects, Variable Types, and Functions
- Objects:
- adc — provides access to three ADC channels
- 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
- kp — works with matrix and binary keypads
- pat — "plays" patterns on up to five LED pairs
- ppp — accesses the Internet over a serial modem (GPRS, etc.)
- pwm — handles pulse-width modulation settings for I/O(1)
- 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 are either new or have new features (as compared to the EM2000). 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_adc_num |
Available analog-to-digital (ADC) channels |
|
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_pwm_num |
Available pulse-width modulation (PWM) channels |
|
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 |