EM1202EV
This is a legacy device. The following information is provided as it was documented originally, albeit with some corrections and changes for clarity and style.
Introduction
The EM1202EV is a Tibbo BASIC/C-programmable board designed primarily for serial-over-IP and serial control applications. Being small enough to fit inside your product, the board offers a rapid development alternative to using modules, which require making a new host PCB. The EM1202EV can also be used to evaluate and test the EM1202 module it is based on.
The EM1202EV features a multi-channel serial port. The board has a single serial port connector and is priced as a single-port product, yet it packs four independent serial channels. Have no use for those DSR and DTR lines? Turn them into the RX and TX of an additional serial channel. Don't want CTS and RTS either? That's one more channel! In total, there are 15 different configurations to choose from.
The board is supplied in three versions offering various serial port and power options (see below).
The EM1202EV is fully supported by Tibbo IDE (TIDE) and a dedicated DS1202 platform that covers all the hardware facilities of the board. The EM1202 platform can be used with the board as well. This product ships preloaded with a fully functional serial-over-IP application. Written in Tibbo BASIC/C, the application is compatible with the Tibbo Device Server Toolkit (TDST) software suite, comes with full source codes, and can be modified by the user.
Available Models
The board is supplied in three versions.
The EM1202EV-RS is, essentially, a DS1202 without its housing. The board has a proper RS232 port (RS232 transceiver IC and DB9M connector), a power jack and a power regulator ("12V"-to-3.3V), a pair of status LEDs on top of the board, and a setup button.
The EM1202EV-TM is different from the "-RS" version in that it has a TTL serial port and no status LEDs on top of the board. The port is accessible through a 12-pin connector on the PCB. The power regulator of the board can be used to supply 3.3V power to the attached serial device as well.
Finally, the DS1206N-TS is like the "-TM" version but has no power jack and no "12V"-to-3.3V power regulator. Instead, an attached serial device is supposed to provide stabilized 3.3V power to the board.
Available models and their features |
EM1202EV-RS (RS232) |
EM1202EV-TM (TTL master) |
EM1202EV-TS (TTL slave) |
Setup button |
YES |
||
Status LEDs (on top of the board) |
YES |
NO |
|
RS232 transceiver & DB9M connector |
YES |
NO |
|
TTL interface connector |
NO |
YES |
|
Power jack and "12V"-to-3.3V regulator |
YES |
NO |
Hardware Features
- Based on the EM1202 Tibbo BASIC/C-programmable embedded module
- Powered by Tibbo OS (TiOS)
- 10/100BaseT auto-MDIX Ethernet port
- Up to 3.5 serial channels:
- EM1202EV-RS: RS232 port (DB9M connector)
- EM1202EV-TM and "-TS": TTL serial port (pin header)
- Baudrates of up to 921,600bps
- None/even/odd/mark/space parity modes
- 7/8 bits/character modes
- Full-duplex mode with optional flow control
- EM1202EV-TM and "-TS": half-duplex mode with direction control
- Flexible mapping with 15 different options, such as:
- A single channel: RX, TX, CTS, RTS, DSR, and DTR lines
- 3.5 channels: RX, TX, RX2, TX2, RX3, TX3, and RX4 lines
- 1,024KB flash memory for firmware, application, and data storage
- 2KB EEPROM for data storage
- Up to six LEDs:
- EM12-2EV-RS: Green and red status LEDs on top of the device
- Green and red status LEDs on the RJ45 jack
- Link and speed Ethernet status LEDs on the RJ45 jack
- Software-controlled onboard PLL to select the clock frequency of the device:
- 11.0592MHz with PLL off
- 88.4736MHz with PLL on
- Power:
- EM1202EV-RS and "-TM": onboard regulator, 10-24V input range
- EM1202EV-TS: direct 3.3V input (must be regulated to ±5%)
- Board dimensions: 52.6x38.0mm
- Firmware and Tibbo BASIC/C application are upgradeable through the serial port or network
- Tibbo BASIC/C application can be debugged through the network and no additional debugging hardware, such as in-circuit emulator, is required
- Also available as the DS1202 (EM1202EV-RS board with housing)
Programming Features
The EM1202EV runs Tibbo OS (TiOS). The following is a list of the features supported by its programming platforms (EM1202 or DS1202).
- Objects:
- button — monitors the setup button
- fd — manages flash memory file system and direct sector access
- io — handles I/O lines, ports, and interrupts
- net — controls the Ethernet port
- pat — "plays" patterns on green and red status LEDs
- romfile — facilitates access to resource files (fixed data)
- ser — in charge of serial channels
- sock — socket communications (up to 16 UDP, TCP, and HTTP sessions)
- stor — provides access to the EEPROM
- sys — in charge of general device functionality
- Variable Types: Byte, char, integer (word), short, dword, long, real, string, plus ser-defined arrays and structures
- Function Groups: 27 string functions, eight date/time conversion functions, encryption/hash calculation functions (AES128, RC4, MD5, SHA-1), and more