Commit Graph

22 Commits

Author SHA1 Message Date
Adeeb Shihadeh
4cb8da91d7 boardd: reduce jitter around nacks (#29123)
* reduce jitter

* Update selfdrive/boardd/spi.cc

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-07-24 16:37:23 -07:00
Adeeb Shihadeh
d2fa746b12 boardd: use full buffer size 2023-07-17 12:44:10 -07:00
Adeeb Shihadeh
3390f1e1df boardd: read spi resp len with ack (#28966) 2023-07-15 20:13:19 -07:00
Adeeb Shihadeh
4c6f7b5c84 boardd spi: prevent busy wait when TX buffers full (#28599) 2023-06-20 14:21:34 -07:00
Adeeb Shihadeh
87364b6a81 Revert "boardd: smaller spi chunk size (#28360)"
This reverts commit 702e4120e6.
2023-06-02 16:40:03 -07:00
Adeeb Shihadeh
702e4120e6 boardd: smaller spi chunk size (#28360)
Co-authored-by: Comma Device <device@comma.ai>
2023-06-01 10:36:06 -07:00
Adeeb Shihadeh
c67759c7f0 boardd: less spam msgs on PC (#28353) 2023-05-31 20:00:20 -07:00
Adeeb Shihadeh
ea1e0a16dd boardd: set min spi timeout 2023-05-22 19:00:45 -07:00
Comma Device
18559f4135 boardd: lower timeout for getting serial 2023-05-22 00:45:52 -07:00
Adeeb Shihadeh
038d2264aa spi: handle timeout more like usb (#28249) 2023-05-20 23:35:14 -07:00
Adeeb Shihadeh
e4a37620ee boardd: handle nack on tx buffer full (#28241)
* boardd: handle nack on tx buffer full

* print pandaStates

* rx buffer too small

* connect timeout

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-05-19 23:24:52 -07:00
Adeeb Shihadeh
885e1edf96 boardd: match panda python lib ack bytes (#28225) 2023-05-17 23:28:46 -07:00
Adeeb Shihadeh
71819b2282 boardd: bump spi to 50MHz 2023-04-06 12:51:30 -07:00
Adeeb Shihadeh
341eb2e0fd boardd: retry on bad SPI RX data len (#27314)
Co-authored-by: Comma Device <device@comma.ai>
2023-02-11 21:12:07 -08:00
martinl
fdc4a7f84c MacOS: build fixes (#27143)
* MacOS: exclude common/gpio.cc

* MacOS: no spi for boardd

* MacOS: loggerd: no v4l_encoder.cc

* MacOS: update libdbc path for cabana
2023-01-29 13:55:17 -08:00
Adeeb Shihadeh
66ff2de0a2 boardd: connect to SPI panda by UID (#27035)
* move list

* connect by serial

* cleanup hw serial

* little more

* rm excessive print

Co-authored-by: Comma Device <device@comma.ai>
2023-01-21 19:42:10 -08:00
Comma Device
e710dc1b7e lower spi log level 2023-01-20 21:07:01 -06:00
Adeeb Shihadeh
11da83d2b5 boardd: lock spi device (#26937)
* lock spi

* bump panda

Co-authored-by: Comma Device <device@comma.ai>
2023-01-15 13:52:16 -08:00
Adeeb Shihadeh
9cc06e9ea6 boardd: misc spi fixes (#26670) 2022-12-02 11:51:25 -08:00
Adeeb Shihadeh
714ab491b0 boardd: SPI bulk read + write (#26462)
* bulk read

* write

* write

* fix write

Co-authored-by: Comma Device <device@comma.ai>
2022-11-11 12:51:14 -08:00
Adeeb Shihadeh
f5bf3cd21b boardd: verify SPI checksum (#26454)
* verify checksum

* import from panda

Co-authored-by: Comma Device <device@comma.ai>
2022-11-10 18:37:10 -08:00
Adeeb Shihadeh
8ba9a5107b boardd: SPI support (#26374)
* spi handle

* put usb back

* handle eintr

Co-authored-by: Comma Device <device@comma.ai>
2022-11-08 13:21:07 -08:00