Need SPI drivers for MPC5125

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need SPI drivers for MPC5125

Jump to solution
859 Views
FrankB
Contributor I

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?

0 Kudos
1 Solution
415 Views
DavidS
NXP Employee
NXP Employee

Hi FrankB,

Later this month there will be a FSLMQX3.7Beta release that will have the SPI driver support if you can wait.

Regards,

David

View solution in original post

0 Kudos
1 Reply
416 Views
DavidS
NXP Employee
NXP Employee

Hi FrankB,

Later this month there will be a FSLMQX3.7Beta release that will have the SPI driver support if you can wait.

Regards,

David

0 Kudos