I am running the TWR-MPC5125 with the Linear Tech TWR-ADCDAC-LTC board. In order to run the ADC board, the MPC5125 needs to generate SPI signals. However, examination of the MQX code for the TWR-MPC5125 shows that all PSCs are set to be UARTs. I can see how to set the PSC to SPI mode, but actually using it is a bit more puzzling. What I need is a driver so that I can issue ioctl calls to the SPI chip, similar to what is available in the code for the TWR-MCF52259:
_mcf5xxx_qspi_int_install("ispi0:", &_bsp_qspi0_init);
in mqx/source/bsp/twrmcf52259/init_bsp.c.
How can I get such a driver?