Difference: TerminalIO (23 vs. 24)

Revision 242021-06-27 - PeterSchmid

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
%DASHBOARD{ section="banner"
Line: 68 to 68
 

Changed:
<
<
>
>
 

USB-CDC Serial Communication (API)

Buffered USB-CDC serial communication. The USB-CDC appears as a traditional RS-232 port in your operating system (Linux /dev/ttyACMx, Windoze COMx). No need to bother with baud rates, handshaking, parity and other awkward things. Under Linux I recommend to disable the ModemManager, otherwise the ModemManager tries to configure the ACM with some escape sequences.
Line: 84 to 84
 

Changed:
<
<
>
>
 

UART Serial Communication (API)

Changed:
<
<
The Rx buffer is 5 k, the Tx buffer 1 k. Copy and past source code into the terminal is possible without buffer overrun.
>
>
The Rx buffer is 5 k, the Tx buffer 1 k. Copy and paste source code into the terminal is possible without buffer overrun.

  • USB-CDC on the ST-LINK Micro USB connector on the MB1355 Nucleo Board. Serial port UART1 on PB6/PB7 (remove jumper SB2, close jumper SB6) on the MB1293 dongle.
  • USB to TTL Serial Cable for Raspberry Pi from Adafruit (RX green, TX white, GND black).
  • TTL-232R-RPi cable from FTDI Chip (RX orange, TX yellow, GND black).

Do not forget to set the baud rate. The default baud rate for the MecrispCube is 115200 baud, e.g. microcom -D /dev/ttyACM1 -s 115200 .

 
Deleted:
<
<
USB-CDC on the ST-LINK Micro USB connector on the MB1355 Nucleo Board. Serial port UART1 on PB6/PB7 (remove jumper SB2, close jumper SB6) on the MB1293 dongle. Do not forget to set the baud rate. The default baud rate for the MecrispCube is 115200 baud, e.g. microcom -D /dev/ttyACM1 -s 115200 .
 
serial-emit  ( char -- )  Emits one character to the UART interface. Blocking if the Buffer is full.
serial-key   ( -- char )  Waits and gets one character from the UART interface. Blocking if the buffer is empty.

Line: 103 to 108
 
Changed:
<
<
>
>
 

BLE Cable Replacement Serial Communication (API)

Classic Bluetooth has a Serial Port Profile (SPP). It emulates a serial cable to provide a simple substitute for existing RS-232, including the familiar control signals. But for BLE there is no official/standard service for serial communication. Many chip manufactures have their own proprietary service.

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback