SPI interface in MC60

HI,
I am trying to interface MCP2515 CAN controller with MC60 using OpenCPU SPI api. But i can’t able to send or receive bytes properly. I am using MC60 development kit with spi example provided in sdk. Please support with any document or sdk for spi. Thank you in advance.

Dear Logaesh,
Sorry for delay answer your question. Please check the following document to confirm whether there have any error in you code. And it is better to provide the module firmware version, then we can provide you the matched SDK package. Thanks!
Quectel_MC60-OpenCPU_Series_User_Guide_V2.0.pdf (1.2 MB)

Hi kryson,
I am using SPI example to interact with winbond memory but the example is not getting compiled properly its throwing some error, please help me with this i have not done any editing in the code and i am using the latest sdk for now
Linking .pio\build\mc60\program.elf
.pio\build\mc60\src\main.o: In function flash_rd_id_ex': main.c:(.text+0x92a): undefined reference to Ql_SPI_WriteRead_Ex’

@Grey.Tu-Q Could you please help on this issue.Thank you in advance.

@Chandan_kumar
Dear Chandan_kumar

The “Ql_SPI_WriteRead_Ex” API is not defined, you did not add the corresponding header to the ".c "file.Please check it, thank you.