This is an old revision of the document!
Strato Pi CAN setup
Jumpers
- 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.
Watchdog
The watchdog of the Strato Pi has to be configured for our use. First the firmware has to be updated to 3.5. Then we can connect to the serial interface.
USBUART | Stratopi | Corresponding pin on RPI |
---|---|---|
GND | 6 | GND |
5V | 2 | 5V |
RX | 35 | GPIO19 |
TX | 33 | GPIO13 |
Where counting begins with the pin closest to the screw terminals as 1
RS-485
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 Status
Board | Firmware | Watchdog | RS-485 |
---|---|---|---|
SPBC12X-FX314618SC-296 | 3.5 | ConfiguredĀ | Configured |
SPBC12X-FX314618SC-297 | 3.5 | Configured | Configured |