TPP2W and TPP2N Platforms

Hardware Devices Covered by This Platform


This section covers two 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


Platform type

16-bit platform

Clock frequency (CLOCK) and clock control

PLL on: 88.4736Mhz

PLL off: 11.0592Mhz

Available network interfaces

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

GPIO type

Unidirectional(2)

UART limitations

Max practical baudrate ~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

Interdependent

RTS/CTS remapping

Supported(3)

ADC

Available through Tibbit modules

Pulse-width modulation (PWM)

Available through Tibbit modules

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

2,048Hz, beep.divider = 21600 (with PLL ON)

Display type selection and line remapping

Type selection and line remapping supported. To use the LCD built into the TPB2L, select the "Solomon SSD1963 (fixed I/O-2)" LCD driver. This driver does not support line remapping.

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

Shared

Self-upgrades for the Tibbo-BASIC/C app.

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

Status LEDs (LED Control Lines)

Green status (SG) LED

Red status (SR) LED

Yellow Ethernet status (EY) LED

An LED bar consisting of five blue LEDs

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 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:

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:


Supported Objects, Variable Types, and Functions


  1. 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 via Tibbits. Only one keypad can be serviced at a time.
  2. On this platform, the lcd. object will normally control the 320x240 TFT LCD with Solomon SSD1963 controller built into the TPB2L. The object can also be configured to communicate with other LCD modules connected to the TPP2 via Tibbits. Only one LCD can be operated at a time..
  3. This may be an external modem connected to the TPP2, a 4G (LTE) Tibbit, or a Cat-M1/NB-IoT Tibbit plugged into the board.

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


Platform-specific constants


TPP2W and TPP2N Platforms

Hardware Devices Covered by This Platform

Memory Space and Key Info

Supported Objects, Variable Types, and Functions

Platform-specific constants