This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Sending 16-bit Words with SPI Master

Is it possible to configure SPI Master API to send multi-byte words?

My peripheral expects transfers in 16-bit blocks (CS goes low, 16 bits are clocked in, CS goes high). I've looked at the nrf_drv_spi_config_t struct, but it does not appear to have a field to specify the number of bytes in each data unit. Is there a way to configure SPI Master to group bytes automatically, or is my only option would be driving CS pin manually?

Parents Reply Children
No Data
Related