DS1100 Platform
Hardware Devices Covered by This Platform
- DS1100 programmable serial controller.
Memory Space and Key Info
RAM |
17,920 bytes for application variables and data |
Flash |
327,680 bytes for application and data storage (shared flash memory) |
EEPROM |
200 bytes for application data |
16-bit platform |
|
Clock frequency (CLOCK) and clock control |
Frequency is fixed at 80MHz |
Available network interfaces |
|
Bidirectional(2) |
|
UART limitations |
Maximum practical baudrate of ~115,200bps |
16 bytes for TX, 16 bytes for RX |
|
N/A (as CPU GPIO lines are bidirectional) |
|
Independent |
|
Not supported(3) |
|
ADC |
N/A |
Pulse-width Modulation (PWM) |
N/A |
GA1000 support |
NO |
WA2000 support |
NO |
N/A (Wi-Fi not supported) |
|
beep.divider calculation |
N/A (buzzer not provided) |
Recommended buzzer frequency divider |
N/A (buzzer not provided) |
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 Tibbo BASIC/C applications |
Not supported |
Green status (SG) LED control line Red status (SR) LED control line Yellow Ethernet status (EY) LED control line |
|
Ethernet / UDP Broadcast transport Ethernet / WinPCap transport |
- 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.
- Surrounding board hardware dictates 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.
Supported Objects, Variable Types, and Functions
- button — monitors the MD line (setup button)
- io — handles I/O lines, ports, and interrupts
- net — controls the Ethernet port
- pat — "plays" patterns on a pair of LEDs
- ppp — provides access to the Internet over a serial modem (GPRS, POTS, etc.)
- pppoe — provides access to the Internet over an ADSL modem
- romfile — facilitates access to resource files (fixed data)
- ser — in charge of the RS232 port
- sock — socket communications (up to 16 UDP, TCP, and HTTP sessions)
- stor — provides access to the EEPROM
- 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 DS1100 platform.
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