sl-firmware
602fbc6ab3
feat: UART command protocol for Jetson-STM32 (Issue #629)
Implements binary command protocol on UART5 (PC12/PD2) at 115200 baud
for Jetson→STM32 communication. Frame: STX+LEN+CMD+PAYLOAD+CRC8+ETX.
Commands: SET_VELOCITY (RPM direct to CAN), GET_STATUS, SET_PID, ESTOP,
CLEAR_ESTOP. DMA1_Stream0_Channel4 circular 256-byte RX ring. ACK/NACK
inline; STATUS pushed at 10 Hz. Heartbeat timeout 500 ms (UART_PROT_HB_TIMEOUT_MS).
NOTE: Spec requested USART1 @ 115200; USART1 occupied by JLink @ 921600.
Implemented on UART5 instead; note in code comments.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 14:41:00 -04:00
..
2026-03-02 10:34:35 -05:00
2026-03-14 15:04:58 -04:00
2026-03-07 10:01:02 -05:00
2026-03-03 17:35:34 -05:00
2026-02-28 19:43:48 -05:00
2026-03-02 09:40:18 -05:00
2026-03-02 12:51:42 -05:00
2026-03-14 15:58:13 -04:00
2026-03-15 14:41:00 -04:00
2026-03-03 17:35:34 -05:00
2026-03-03 17:35:34 -05:00
2026-03-04 10:36:35 -05:00
2026-03-06 10:27:36 -05:00
2026-03-06 10:27:36 -05:00
2026-03-06 10:27:36 -05:00
2026-03-02 13:29:18 -05:00
2026-03-14 13:37:14 -04:00
2026-03-14 10:38:06 -04:00
2026-03-06 22:35:24 -05:00
2026-02-28 17:48:53 -05:00
2026-02-28 11:58:23 -05:00
2026-03-02 11:51:26 -05:00
2026-02-28 21:07:15 -05:00
2026-03-06 22:35:24 -05:00
2026-03-15 10:11:05 -04:00
2026-03-02 11:06:13 -05:00
2026-03-15 11:04:38 -04:00
2026-02-28 17:48:53 -05:00
2026-02-28 21:06:26 -05:00
2026-03-14 12:25:29 -04:00
2026-02-28 17:15:40 -05:00
2026-03-15 10:11:05 -04:00
2026-03-02 09:56:18 -05:00
2026-03-14 12:25:29 -04:00
2026-03-14 11:51:11 -04:00
2026-03-07 10:01:02 -05:00
2026-03-02 20:49:26 -05:00
2026-03-01 04:55:54 -05:00
2026-03-14 10:38:06 -04:00
2026-03-03 19:00:12 -05:00
2026-03-14 15:04:58 -04:00
2026-03-01 04:55:54 -05:00
2026-03-15 10:11:05 -04:00
2026-03-15 14:41:00 -04:00
2026-03-02 12:22:09 -05:00
2026-03-02 21:09:17 -05:00