WM2000

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

Platform type

32-bit platform

Clock frequency (CLOCK) and clock control

Frequency is fixed at 192MHz

Available network interfaces

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

GPIO type

Unidirectional2

UART limitations

Maximum practical baud rate ~921,620

Serial port FIFOs

1 byte for TX, 1 byte for RX

Serial port line configuration

Depends on the serial port mode

Serial port interrupts and io.intenabled

Interdependent

RTS/CTS remapping

Supported

ADC

Three channels, 12 bits (7 bits effective)

Beep frequency

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

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 fd.copyfirmware, fd.copyfirmwarelzo, fd.copyfirmwarefromfile, and fd.copyfirmwarefromfilelzo methods3

Status LEDs (LED Control Lines)

Status Green (SG) LED and control line

Status Red (SR) LED and control line

Status Yellow (SY) LED and control line

Debug communications

Serial

Wireless / UDP Broadcast transport

Wireless / WinPCap transport

TiOS Firmware Version

Date

Notes

V4.00

 

Initial release version

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 hardware may dictate which GPIO lines must be used as inputs or outputs.

3.All files in the WM2000's flash storage must be 4KB-aligned. For more information, please see Platform Objects.

Supported objects, variable types, and functions

  • Objects:

    • adc — provides access to three ADC channels

    • beep — generates buzzer patterns*

    • bt — in charge of the BLE (Bluetooth Low-Energy) interface*

    • button — monitors the MD (setup) line

    • fd — manages the flash memory file system and direct sector access*

    • 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*

    • romfile — facilitates access to resource files (fixed data)

    • rtc — keeps track of date and time

    • ser — controls serial ports (UART, Wiegand, clock/data modes)*

    • sock — socket comms (up to 32 UDP, TCP, and HTTP sessions)

    • ssi — controls serial synchronous interface channels (SPI, I²C...)

    • stor — provides access to the EEPROM

    • sys — in charge of general device functionality*

    • wln — handles the Wi-Fi interface*

  • Variable Types: Byte, char, integer (word), short, dword, long, real, string, plus user-defined arrays and structures

  • Function groups: String functions, trigonometric functions, date/time conversion functions, encryption/hash calculation functions, and more

* These platform objects are either new or have changed significantly for the WM2000. Please see Platform Objects for more information.

Platform-specific constants

You can find them here.