From 5ff24ee5bbd3953679fdf1a37b0927e62db3dcdb Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Thu, 1 Jun 2023 10:36:06 -0700 Subject: [PATCH] boardd: smaller spi chunk size (#28360) Co-authored-by: Comma Device old-commit-hash: 702e4120e6b5a02f1d25089c198f1a0e9a813ac1 --- selfdrive/boardd/spi.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/boardd/spi.cc b/selfdrive/boardd/spi.cc index e10fd744d5..924f416ead 100644 --- a/selfdrive/boardd/spi.cc +++ b/selfdrive/boardd/spi.cc @@ -163,7 +163,7 @@ int PandaSpiHandle::bulk_read(unsigned char endpoint, unsigned char* data, int l } int PandaSpiHandle::bulk_transfer(uint8_t endpoint, uint8_t *tx_data, uint16_t tx_len, uint8_t *rx_data, uint16_t rx_len, unsigned int timeout) { - const int xfer_size = 0x40 * 15; + const int xfer_size = 0x40 * 5; int ret = 0; uint16_t length = (tx_data != NULL) ? tx_len : rx_len;