EM2000W Platform
Hardware Devices Covered by This Platform
- EM2000 programmable IoT module
- Optionally, with the WA2000 Wi-Fi/BLE add-on module
- Optionally, with the GA1000 Wi-Fi add-on module (no longer supported from TiOS V4)
- EM2001 programmable IoT board
- Optionally, with the WA2000 Wi-Fi/BLE add-on module
- Optionally, with the GA1000 Wi-Fi add-on module (no longer supported from TiOS V4)
Memory Space and Key Info
RAM |
66,816 bytes for application variables and data |
Flash |
786,432 bytes for application storage, and separately 1,048,576 bytes for data storage (dedicated flash disk memory) |
EEPROM |
2,040 bytes for application data |
TiOS Firmware Version |
Date |
Notes |
V4.01.02 (download) |
14NOV2022 |
|
V4.01.01 (download) |
26OCT2022 |
|
V4.00.01 (download) |
30DEC2020 |
|
V4.00.00 (download) |
25DEC2020 |
|
V3.80.18 (download) |
15JUL2019 |
|
32-bit platform |
|
Clock frequency (CLOCK) and clock control |
Frequency is fixed at 120MHz |
Available network interfaces |
|
Unidirectional(2) |
|
UART limitations |
Max practical baudrate ~460,800bps 7 bits/NO PARITY mode should not be used |
1 byte for TX, 1 byte for RX |
|
Depends on the serial port mode |
|
Interdependent |
|
Supported(3) |
|
ADC |
Four channels, 12 bits (7 bits effective) |
Pulse-width Modulation (PWM) |
NO |
GA1000 support |
YES (no longer supported from TiOS V4) |
WA2000 support |
YES |
Supported(5) |
|
beep.divider calculation |
beep.divider = CLOCK / (4 * desired_frq), beep.divider must be in the 2-65535 range |
Recommended buzzer frequency divider |
Depends on the attached buzzer |
At this time, only the SSD1964 LCD controller is supported. Line remapping is not supported. |
|
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 |
Green status (SG) LED and control line Red status (SR) LED and control line Yellow Ethernet status (EY) LED and control line Green Ethernet status (EG) control line (no LED) |
|
Ethernet / UDP Broadcast transport Ethernet /WinPCap transport |
1. The sock.allowedinterfaces property refers to the Ethernet interface as "NET," Wi-Fi as "WLN," PPP as "PPP," and PPPoE as "PPPOE." The sock.targetinterface and sock.currentinterface properties rely on the pl_sock_interfaces enum, whose members differ depending on the platform.
2. Surrounding hardware may dictate which GPIO lines must be used as inputs and which as outputs.
3. Default CTS/RTS mapping is different for each serial port:
RTS |
CTS |
|
Port 1 |
||
Port 2 |
||
Port 3 |
||
Port 4 |
4. Mapping of GA1000 and WA2000 control lines is fully flexible on the EM2000W. However, if the GA1000 or WA2000 module is installed on top of the EM2000 (the EM2000G module combination), then the following mapping must be applied:
CS |
|
CLK |
|
DI |
|
DO |
|
RST |
Supported Objects, Variable Types, and Functions
- adc — provides access to four ADC channels
- beep — generates buzzer patterns
- bt — responsible for Bluetooth Low Energy (BLE) communications
- button — monitors the MD line (setup button)
- fd — manages flash memory file system and direct sector access
- io — handles I/O lines, ports, and interrupts
- kp — scans keypads of matrix and "binary" types
- lcd — controls graphical display panels (several types supported)
- net — controls the Ethernet interface
- pat — "plays" patterns on up to five LED pairs
- ppp — provides access to the Internet over a serial modem (4G/LTE, POTS, etc.)
- romfile — facilitates access to resource files (fixed data)
- rtc — keeps track of date and time
- ser — in charge of serial ports (UART, Wiegand, and clock/data modes)
- sock — socket communications (up to 16 UDP, TCP, and HTTP sessions)
- ssi — implements up to four serial synchronous interface (SSI) channels, supports SPI, I2C, clock/data, etc.
- stor — provides access to the EEPROM
- sys — in charge of general device functionality
- wln — handles the Wi-Fi interface (requires the GA1000 or WA2000 add-on module to be connected to the EM2000)
This platform supports the standard set of variable types and functions (a.k.a. "syscalls").
Platform-Specific Constants
- Enum pl_redir — The list of constants that define buffer redirection (shorting) for this platform
- Enum pl_io_num — The list of constants that define available I/O lines
- Enum pl_io_port_num — The list of constants that define available 8-bit I/O ports
- Enum pl_int_num — The list of constants that define available interrupt lines
- Enum pl_sock_interfaces — The list of available network interfaces
- Enum pl_adc_num — The list of constants that define available ADC lines