EM1206, EM1206W, and EM1206N Platforms

Hardware Devices Covered by This Platform


This section covers three separate platforms:


Memory Space and Key Info

RAM

22,271 bytes for application variables and data

Flash

983,040 bytes for application and data storage (shared flash memory)*

EEPROM

2,040 bytes for application data

*Some earlier devices had only 458,752 bytes of flash memory available


Platform type

16-bit platform

Clock frequency (CLOCK) and clock control

PLL on (default): 88.4736Mhz

PLL off: 11.0592Mhz

Available network interfaces

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

EM1206W: Ethernet (net.), Wi-Fi (wln.) , PPP (ppp.), PPPoE (pppoe.)(1)

GPIO type

Unidirectional(2)

UART limitations

Maximum practical baudrate of ~921,600bps

Serial port FIFOs

16 bytes for TX, 16 bytes for RX

Serial port line configuration

Depends on the serial port mode

Serial port interrupts and io.intenabled

Independent

RTS/CTS remapping

Supported(3)

ADC

NO

Pulse-width Modulation (PWM)

NO

GA1000 support

YES

WA2000 support

Supports Wi-Fi, BLE is not supported

GA1000 and WA2000 lines remapping

Supported(4)

beep.divider calculation

beep.divider = CLOCK / (2 * desired_frq)

Recommended buzzer frequency divider

Depends on the attached buzzer

Display type selection and line remapping

Type selection and line remapping supported

Special configuration section of the EEPROM

28 bytes for MAC and device password storage

Device serial number(5)

128 bytes: 64 OTP bytes + 64 fixed bytes

Flash memory configuration

Shared

Self-upgrades for Tibbo BASIC/C applications

Supported through the fd.copyfirmware, fd.copyfirmwarelzo, and fd.copyfirmwarefromfile 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 (no control line)

Green Ethernet status (EG) LED (no control line)

Debug communications

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. Notice that CTS and RTS lines in default mapping interfere with each other. Do remember to select meaningful mapping for these lines!

4. Mapping of GA1000 and WA2000 control lines is fully flexible on the EM1206W. However, if the EM1206EV board is used, then the following mapping must be applied:

5. Older EM1206 and EM1206W devices did not contain the serial number. To find out if your EM1206(W) has the serial number onboard, try to read this serial number with the sys.serialnum R/O property. If this property returns an empty string, then the serial number is not present. This property returns all 128 bytes of the serial number. The first 64 bytes are one-time programmable (OTP) with the sys.setserialnum method.


Supported Objects, Variable Types, and Functions


These platforms support the standard set of variable types and functions (a.k.a. "syscalls").


Platform-Specific Constants


EM1206, EM1206W, and EM1206N Platforms

Hardware Devices Covered by This Platform

Memory Space and Key Info

Supported Objects, Variable Types, and Functions

Platform-Specific Constants