I know this is not a typical application, but I need to switch between SPIM and SPIS at runtime for using SPI in a M-LVDS scenario. I'm pretty sure that the Zephyr level drivers are out so I moved to the nrfx level and I managed to get most issues straightened out. However, I get this error:
Here is my config:
And my overlay (cs is a custom vendor):
Here is a preliminary snippet of how I plan on switching from master to slave:
The `gpio_pin_set_dt(&master_spi_enable, MASTER_ENABLE);` code switches my transceiver direction. I'm assuming both the nrfx SPIM and SPIS are causing a collision with generated device tree macros. Can anyone give me some suggestions? I may have to go down to the hal level, but I hope not.