EM2000W

Top  Previous  Next

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

2040 bytes for application data

 

TiOS firmware version

[V3.70]

Platform type

32-bit platform

Clock frequency (CLOCK) and clock control

Frequency is fixed at 120MHz

Available network interfaces

Ethernet (net.), PPP (ppp.), PPPoE (pppoe.)(1)

GPIO type

Unidirectional(2)

UART limitations

Max practical baudrate ~460800

7 bits/NO PARITY mode should not be used

Serial port FIFOs

1 byte for TX, 1 bytes for RX

Serial port line configuration

Depends on the serial port mode

Serial port interrupts and io.intenabled

Interdependent

RTS/CTS remapping

Supported(4)

ADC

4 channels, 12 bits (7 bits effective)

GA1000 lines remapping

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

Display type selection and line remapping

At this time, only the SSD1964 LCD controller is supported. Line remapping is not supported.

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 the Tibbo-BASIC/C app.

Supported through fd.copyfirmware, fd.copyfirmwarelzo, fd.copyfirmwarefromfile, and fd.copyfirmwarefromfilelzo methods

Status LEDs /LED control lines

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)

Debug communications

Ethernet / UDP Broadcast transport

Ethernet /WinPCap transport

 

Comments:

1.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.

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

0- PL_IO_NUM_0

0- PL_INT_NUM_0 (16- PL_IO_NUM_16_INT0)

Port 2

1- PL_IO_NUM_1

1- PL_INT_NUM_1 (17- PL_IO_NUM_17_INT1)

Port 3

2- PL_IO_NUM_2

2- PL_INT_NUM_2 (18- PL_IO_NUM_18_INT2)

Port 4

3- PL_IO_NUM_3

3- PL_INT_NUM_3 (19- PL_IO_NUM_19_INT3)

 

4.Mapping of GA1000 control lines is fully flexible on the EM2000W. However, if the GA1000 module is installed on top of the EM2000 (so called EM2000G module combination), then the following mapping must be applied:

CS

49- PL_IO_NUM_49

CLK

53- PL_IO_NUM_53

DI

52- PL_IO_NUM_52

DO

50- PL_IO_NUM_50

RST

51- PL_IO_NUM_51

 

Supported Objects, variable types, and functions

Sock — socket communications (up to 16 UDP, TCP, and HTTP sessions);

Net — controls the Ethernet interface;

Wln — handles the Wi-Fi interface;

Ser — in charge of serial ports (UART, Wiegand, and clock/data modes);

Ssi  — implements up to four serial synchronous interface (SSI) channels, supports SPI, I2C, clock/data, etc.;

Io — handles I/O lines, ports, and interrupts;

Lcd — controls graphical display panels (several types supported);

Kp — scans keypads of matrix and "binary" types;

Rtc — keeps track of date and time;

Fd — manages flash memory file system and direct sector access;

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 up to five LED pairs;

Beep — generates buzzer patterns;

Button — monitors the MD line (setup button);

Sys — in charge of general device functionality.

Adc — provides access to four ADC channels.

 

This platform supports the standard set of variable types and functions (a.k.a. "syscalls").

 

Platform-specific constants

You can find them here.