Hello ALL,
Iam working on MPC5744P evalutiona board, In that iam trying to implement the complete SPI driver code with all api' s like spi_init, SPI_send, SPI_receive, SPI_clockPolarity, SPI_CLockphase,SPI_baudratechange etc , SPI is having 4 ports (SPI0,SPI1,SPI2, SPI3),so we need to selct all ports anf need to inplement in such way that to set all clock, polarity, phase, baudrate, tranfer, SO Please can you provide the complete SPI driver code (including all API's with complete functinality) for MPC5744P ?
Hi Padmalatha,
You can also have a look on the ARM mbed. The DSPI of MK64F12 is very similiar to the MPC5744P.
mbed-hal-ksdk-mcu/fsl_dspi_hal.c at master · ARMmbed/mbed-hal-ksdk-mcu · GitHub
mbed-hal-k64f/MK64F12_spi.h at master · ARMmbed/mbed-hal-k64f · GitHub
Best regards,
Pat
Hi,
We offer such complete driver.
You can find it on our web site here:AUTOSAR Software Solutions|NXP
But be aware that it is not free of charge.
Peter