I am trying to understand the "multi-instance" aspect of the PSP SPI driver.
On the board I am working with, there are several devices connected to the SPI1 bus. I have been able to test all these individually, and each of the devices is working. However, when I have a project with multiple UDEV using the same deviceId, the code immediately seems to halt and not start up normally.
This seems to imply that multi-instance seems to mean I can instantiate a UDEV for SPI0 and SPI1, but only one for each?
The other issue is SPI devices can have different Spi_Params requirements. Some can be clocked faster, some slower. I have one device with a different polarity from the other on the same SPI bus. Using PSP, how can I make this work? It seems so far like I can have more than one UDEV for the same SPI port.