Closed jamesadevine closed 2 years ago
you could add an argument to dspi_init() (lowspeed or something)
Yeah, cpol and cpha too...
I have not yet encountered a device where you have to change these from 0/0, but I suppose they exist.
Errr this h-bridge driver requires CPHA = 1
@mmoskal I need to neaten this up before merging.
The ncv h-bridge driver requires different spi settings and has a max clock of 5 MHz. I'm reticent to add yet more macros to configure SPI, but it may be required