aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/SPC563Mxx
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/SPC563Mxx')
-rw-r--r--testhal/SPC563Mxx/SPI/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testhal/SPC563Mxx/SPI/main.c b/testhal/SPC563Mxx/SPI/main.c
index 23ccd435a..25c9a2ede 100644
--- a/testhal/SPC563Mxx/SPI/main.c
+++ b/testhal/SPC563Mxx/SPI/main.c
@@ -120,6 +120,8 @@ int main(void) {
txbuf[i] = (uint8_t)i;
spiStart(&SPID2, &hs_spicfg); /* Setup transfer parameters. */
+ spiExchange(&SPID2, 4,
+ txbuf, rxbuf); /* Atomic transfer operations. */
spiExchange(&SPID2, 512,
txbuf, rxbuf); /* Atomic transfer operations. */