TPP2W and TPP2N
|Top Previous Next|
Hardware devices covered by this platform
•Size 2 Tibbo Project PCB (TPP2).
•Tibbo Project System (TPS) devices based on this board.
This section covers two separate platforms:
•TPP2W — supports the GA1000 Wi-Fi add-on.
•TPP2N — provides limited support for the WA2000 add-on (Wi-Fi only; BLE not supported).
Memory space and key info
1.The sock.allowedinterfaces property refers to the Ethernet interface as "NET", Wi-Fi — as "WLN", PPP — as "PPP", and PPPoE — as "PPPOE". 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
•Sock — socket communications (up to 16 UDP, TCP, and HTTP sessions);
•Net — controls the Ethernet interface;
•Wln — handles the Wi-Fi interface ("W" build works with the GA1000 add-on module, "N" build works with the WA2000 add-on module);
•Ser — in charge of serial ports (UART, Wiegand, and clock/data modes);
•Ssi — implements up to four serial synchronous interface (SSI) channels, supports SPI, I2C, clock/data, etc.;
•Io — handles I/O lines, ports, and interrupts;
•Lcd*— controls graphical display panels (several types supported);
•Kp**— scans keypads of matrix and "binary" types;
•Rtc — keeps track of date and time;
•Fd — manages flash memory file system and direct sector access;
•Stor — provides access to the EEPROM;
•Romfile — facilitates access to resource files (fixed data);
•Pppoe — provides access to the Internet over an ADSL modem;
•Ppp***— provides access to the Internet over a serial modem (GPRS, POTS, etc.);
•Pat — "plays" patterns on up to five LED pairs;
•Beep — generates buzzer patterns using the onboard buzzer;
•Sys — in charge of general device functionality.
** On this platform, the lcd. object will normally control the 320x240 TFT LCD with Solomon SSD1963 controller, which is built into the size 2 Tibbo Project System with LCD/keys (TPS2L). The object can also be configured to communicate with some other LCD module connected to the TPP2 board via Tibbits (Tibbit sockets). Only one LCD can be operated at a time.
*** On this platform, the kp. object will normally handle the 4-key sensor keypad, which is built into the size 2 Tibbo Project System with LCD/keys (TPS2L). The object can also be configured to communicate with an external keypad connected to the TPP2 board via Tibbits (Tibbo sockets). Only one keypad can be serviced at a time.
**** This may be an external modem connected to the TPP2 board or a GPRS Tibbit module plugged into the board.
You can find them here.