stratopican_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
stratopican_setup [2019/10/15 12:35] – [Watchdog] nikolalstratopican_setup [2022/09/19 11:34] (current) – external edit 127.0.0.1
Line 2: Line 2:
 ===== Jumpers ===== ===== Jumpers =====
   * For the CAN bus, we use the built in 120Ω terminal resistor, activated by bridging jumper JP3.   * 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. //TODO, check this// +  * For the RS-485, we use the built in bias network of resistors, activated by bridging jumpers JP1, JP2 and JP4. 
-===== Watchdog ===== +===== Logic Controller Configuration ===== 
-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.+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)
  
-Heading 1      Heading 2       ^ Heading 3          ^ +USBUART      Stratopi       ^ Corresponding pin on RPI          ^ 
-Row 1 Col 1    Row 1 Col 2     | Row 1 Col 3        | +GND        | GND        | 
-Row Col 1    some colspan (note the double pipe) || +5V    | | 5V | 
-Row 3 Col 1    Row 3 Col 2     | Row 3 Col 3        |+| RX    35     GPIO19        
 +TX    33     | GPIO13        | 
 +Pin counting begins with the pin closest to the screw terminals as 1.
  
-USBUART - Stratopi - Corresponding pin on RPI +This configuration assumes FW 3.5 on the logic controller.
-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+
  
-1200 baud, 8N1 +==== Watchdog ==== 
-We have FW3.1deduced by XFW?(and othersnot working  +  * ''XWED'' Set the watchdog enable mode to disabled (Badly namedin this mode, it's enabled by setting WatchdogEnable gpio pin from the RPI). 
-Seems buggy, only responds if beginning with command "XSM?"Can then run command: +  * ''XWH00005'' Set timeout to 5 sec. 
-"XWH00005" to set timeout to 5 sec +  * ''XWW00001'' Set the watchdog forced shutdown timeout to 1sec(min). 
-"XCCSto permanently save setting+  * ''XCCS''  Make configuration permanent. 
 + 
 +==== 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 [[https://www.sferalabs.cc/files/strato/doc/stratopi-logic-controller-advanced-configuration-guide.pdf|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       ^ Configured ^ Location ^ Note ^ 
 +| SPBC12X-FX314618SC-296 | 3.5 | X | Loose | | 
 +| SPBC12X-FX314618SC-297 | 3.5 | X | Loose | PPS lever-shifter | 
 +| SPBC12X-FX314618SC-292 | 3.5 | X | Loose |  | 
 +| SPBC12X-FX432220SC-F21200269 | 4.3/0.8 | X | ntnu-otter-02 |  | 
 +| SPBC12X-FX314618SC-F21200097 | 4.3/0.8 | X | ntnu-otter-01 |  | 
 +| SPBC12X-FX314618SC-F21200301 | 4.3/0.8 | X | ntnu-otter-03 |  |
  
-Boards with changed settings: 
-SPBC12X-FX314618SC-296 
-SPBC12X-FX314618SC-297(+XPW00000 + XPO00001) FEIL, skift til XPW00001 
  • stratopican_setup.1571135723.txt.gz
  • Last modified: 2022/09/19 11:33
  • (external edit)