TPP2W(G3) Platform
Hardware Devices Covered by This Platform
- Size 2 Tibbo Project PCB (TPP2), Gen. 3
- Optionally, with the WA2000 Wi-Fi/BLE add-on module
- Tibbo Project System (TPS) devices based on the TPP2(G3)
- Optionally, with the WA2000 Wi-Fi/BLE add-on module
Memory Space and Key Info
RAM |
132,352 bytes for application variables and data |
Flash |
1,310,720 bytes for application storage, and separately 4,194,304 bytes for data storage (dedicated flash disk memory) |
EEPROM |
2,040 bytes for application data |
TiOS Firmware Version |
Date |
Notes |
V4.01.06 (download) |
11DEC2024 |
|
32-bit platform |
|
Clock frequency (CLOCK) and clock control |
Frequency is fixed at 180MHz |
Available network interfaces |
Ethernet (net.), Wi-Fi (wln.) , PPP (ppp.), PPPoE (pppoe.)(1) |
Unidirectional(2) |
|
UART limitations |
Max practical baudrate ~921,600bps 7 bits/NO PARITY mode should not be used |
1 byte for TX, 1 byte for RX |
|
Depends on the serial port mode |
|
Interdependent |
|
Supported(3) |
|
Onboard temperature sensor |
-40°C to 125°C range; available through sys. object |
Onboard 3-axis accelerometer |
Up to 6g; accessible via sys. object |
ADC |
Available through Tibbit modules |
1-wire/Single-wire interface |
Available through Tibbit modules |
Pulse-width modulation (PWM) |
Available through Tibbit modules |
WA2000 support |
YES |
Supported(4) |
|
beep.divider calculation |
beep.divider = CLOCK / (4 * desired_frq), beep.divider must be in the 2-65535 range |
Recommended buzzer frequency divider |
2,700Hz, beep.divider = 11111 |
The 18 and 24 bit variants of the SSD1963 LCD controller are supported. Line remapping is not supported. |
|
28 bytes for MAC and device password storage |
|
128 bytes: 64 OTP bytes + 64 fixed bytes |
|
Dedicated |
|
Self-upgrades for the Tibbo-BASIC/C app. |
Supported through the fd.copyfirmware, fd.copyfirmwarelzo, fd.copyfirmwarefromfile, and fd.copyfirmwarefromfilelzo methods |
Green status (SG) LED Red status (SR) LED Yellow Ethernet status (EY) LED An LED bar consisting of five blue LEDs |
|
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 board hardware and installed Tibbits 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 |
||
Port 2 |
||
Port 3 |
||
Port 4 |
4. Although the platform itself supports remapping, actual "wires" connecting the system to the GA1000 or WA2000 are fixed and your mapping should reflect this:
CS |
|
CLK |
|
DI |
|
DO |
|
RST |
Supported Objects, Variable Types, and Functions
- Objects
- beep — generates buzzer patterns
- bt — in charge of the BLE (Bluetooth Low-Energy) interface
- button — monitors the MD button
- fd — manages the flash memory file system and direct sector access
- i2c — implements up to eight software I²C channels on the general-purpose I/O lines
- io — handles I/O lines, ports, and interrupts
- kp — works with matrix and binary keypads
- lcd — controls the LCD
- net — controls the Ethernet port
- pat — "plays" patterns on up to five LED pairs
- ppp — accesses the Internet over a serial modem (GPRS, etc.)
- pppoe — accesses the Internet over an ADSL modem
- romfile — facilitates access to resource files (fixed data)
- rtc — keeps track of date and time
- ser — controls serial ports (UART, Wiegand, clock/data modes)
- sock — socket comms (up to 32 UDP, TCP, and HTTP sessions)
- ssi — controls serial synchronous interface channels (SPI, I²C...)
- stor — provides access to the EEPROM
- sys — in charge of general device functionality
- wln — handles the Wi-Fi interface.
- On this platform, the kp. object will normally handle the four-key sensor keypad built into the Size 2 Tibbo Project Box With LCD/Keys (TPB2L). The object can also be configured to communicate with an external keypad connected to the TPP2(G2) via Tibbits. Only one keypad can be serviced at a time.
- On this platform, the lcd. object will only work with the 320x240 TFT LCD with Solomon SSD1963 controller, which is built into the TPS2L.
- This may be an external modem connected to the TPP2(G2), a 4G (LTE) Tibbit, or a Cat-M1/NB-IoT Tibbit plugged into the board.
This platform supports the standard set of variable types and functions (a.k.a. "syscalls").
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