Closed ASL07 closed 4 years ago
Hi Questions for Quectel :) debug/print arguments s32 Ql_SPI_Write(u32 chnnlNo, u8 * pData, u32 len); may pData is NULL
and try init I2C/SPI after Sim Ready, give second then init if work - write issue to Quectel :)
It was my fault. I have got it working now. I will post the proper code when I get time. Thanks for the support @Wiz-IO
Hi, I am trying to use SPI on this device with the MAX31856 converter. The device is properly wired, and I am calling
Ql_SPI_Init
andQl_SPI_Config
, which return correctly. I am using HW SPI with the HW SPI pins of the BC66 DevKit from Olimex. However, when I call Ql_SPI_WriteRead(), the device crashes, the function never returns. Analyzing the signals on the scope, I can see that the CS/MISO/MOSI/CLK pins never change value. Am I missing anything? Please see a simplified version of my code below :