I’m new to QNX and currently, i need to write some functions to send and receive data using the SPI driver. From the help files, i have saw some functions in the API library like spi_open(), spi_read and spi_write().
The problem is i cannot find the hw/spi-master.h when i install QNX momentics IDE. For your info, i’m using MPC5200 and i have already added the SPI driver from QNX into my project.
Anyone can point me to where i can get hold of spi-master.h file and are there any sample codes on using the SPI where i can reference to?