stratopican_setup

This is an old revision of the document!


Strato Pi CAN setup

  • For the CAN bus, we use the built in 120Ī© terminal resistor, activated by bridging jumper JP3.
  • For the RS-485, we use the built in bias network of resistors, activated by bridging jumpers JP1, JP2 and JP4.

Configuration of the StratoPi logic controller is performed through a 1200 baud, 8N1 UART connection at the following pins (5V if board is not connected to RPI)

USBUART Stratopi Corresponding pin on RPI
GND 6 GND
5V 2 5V
RX 35 GPIO19
TX 33 GPIO13

Pin counting begins with the pin closest to the screw terminals as 1.

This configuration assumes FW 3.5 on the logic controller.

  • XWH00005 Set timeout to 5 sec.
  • XCCS Make configuration permanent.

The StratoPi uses the PIC MCU to toggle between receiving and transmitting on the half-duplex RS-485 connection. selecting the toggleing configuration is supposed to happen automatically, but for 115200baud, this happens too slow in cases where the receiving and transmitting switches instantaneously, producing garbage data. An example of this is the command mode of the TB Live hydrophone used.

To fix this, the StratoPi logic controller must be configured sending these commands over the 1200 8N1 setup serial:

XSMF // Set TX-Enable fixed speed mode
XSP98N1 // Set 115200 baud, 8N1
XCCS // Make configuration permanent
Board Firmware Watchdog RS-485 Location Note
SPBC12X-FX314618SC-296 3.5 ConfiguredĀ  ntnu-otter-01
SPBC12X-FX314618SC-297 3.5 Configured Loose PPS lever-shifter
SPBC12X-FX314618SC-292 3.5 Configured Loose
  • stratopican_setup.1623655038.txt.gz
  • Last modified: 2022/09/19 11:33
  • (external edit)