EM500W
Hardware devices covered by this platform
- EM500 programmable IoT module (optionally, with GA1000 Wi-Fi add-on).
- Other devices incorporating the EM500 module.
Memory space and key info
RAM |
17,920 bytes for application variables and data |
Flash |
327,680 bytes for application storage, data cannot be stored in this memory |
EEPROM |
200 bytes for application data |
TiOS firmware version |
[V3.6x] |
16-bit platform |
|
Clock frequency (CLOCK) and clock control |
Frequency is fixed at 80MHz |
Available network interfaces |
Ethernet (net.), Wi-Fi (wln.) , PPP (ppp.), PPPoE (pppoe.)(1) |
Bidirectional(2) |
|
UART limitations |
Max practical baudrate ~115200 |
16 byte for TX, 16 bytes for RX |
|
N/A (as all GPIO lines are bidirectional) |
|
Independent |
|
Not supported(3) |
|
ADC |
NO |
Pulse-width Modulation (PWM) |
NO |
GA1000 support |
YES |
WA2000 support |
NO |
Not supported(4) |
|
Beep.divider calculation |
N/A (buzzer not supported) |
Recommended buzzer frequency divider |
N/A (buzzer not supported) |
Display not supported |
|
28 bytes for MAC and device password storage |
|
4 bytes, the number can't be changed |
|
Dedicated memory for firmware/application Data cannot be stored in this memory |
|
Self-upgrades for the Tibbo-BASIC/C app. |
Not supported |
Green status (SG) LED control line Red status (SR) LED control line Patented Ethernet link status indication mechanism: LED brightness indicates link status |
|
Ethernet / UDP Broadcast transport Ethernet /WinPCap transport |
Comments:
- The sock.allowedinterfaces property refers to the Ethernet interface as "NET", Wi-Fi — as "WLN", PPP — as "PPP", and PPPoE — as "PPPOE". Sock.targetinterface and sock.currentinterface properties rely on the pl_sock_interfaces enum, whose members differ depending on the platform.
- Surrounding hardware may dictate which GPIO lines must be used as inputs and which — as outputs.
- CTS is permanently mapped to 0- PL_INT_NUM_0 (0- PL_IO_NUM_0_INT0). RTS is permanently mapped to 2- PL_IO_NUM_2.
- Connect the GA1000 add-on module as follows (also see schematic diagram C in Connecting GA1000 and WA2000):
CS |
|
CLK |
|
DI |
5- PL_IO_NUM_5 (yes, DI and DO lines are on the same GPIO line) |
DO |
|
RST |
Choose any suitable GPIO or use NAND gates to generate reset |
Supported Objects, variable types, and functions
- Sock — socket communications (up to 16 UDP, TCP, and HTTP sessions);
- Net — controls the Ethernet port;
- Ser — in charge of the serial port (UART, Wiegand, and clock/data modes);
- Io — handles I/O lines, ports, and interrupts;
- Fd* — manages flash memory file system and direct sector access (requires an externally connected flash IC);
- Stor — provides access to the EEPROM;
- Romfile — facilitates access to resource files (fixed data);
- Pppoe — provides access to the Internet over an ADSL modem;
- Ppp — provides access to the Internet over a serial modem (GPRS, POTS, etc.);
- Pat — "plays" patterns on a pair of LEDs;
- Button — monitors the MD line (setup button);
- Sys — in charge of general device functionality.
- Fully supported with the exception of fd.copyfirmware. Disabled by default — enable it in Project Settings -> Customize.
This platform supports the standard set of variable types and functions (a.k.a. "syscalls") except aes128enc and aes128dec. These AES128 functions are not present on the EM500W platform.
Platform-specific constants
You can find them here.