how to use the create argus? how and where calling SPI_open?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Sorry, did not get question. Do you want to know how to enable interrupt mode in SPI?
Btw, this is not set at the create time. You could select the instance for which you want to enable interrupt, call SPI_socGetInitCfg for this instance, set flag enableIntr in spi_cfg and then call SPI_socSetInitCfg to enable interrupt mode.
Yes, the example is the file, ti-processor-sdk-rtos-j721e-evm-08_00_00_12\pdk_jacinto_08_00_00_37\packages\ti\drv\spi\example\mcspi_slavemode\src\main_mcspi_slave_mode.c.
Regards,
Brijesh
Yes, that's correct method. But please note that driver does not take care of programming interrupt routers, that needs to be done by the application. So application can allocate irq number, program it in the interrupt router and then can provide this interrupt number to the driver to be used for mcspi..
For few mcspi instances, interrupt is not directly connected to R5F, it goes via interrupt router, so we need to configure interrupt router..
Regards,
Brijesh