Ai-Thinker-Open / GPRS_C_SDK

Ai-Thinker A9/A9G GPRS (with GPS(A9G)) module C development SDK
https://ai-thinker-open.github.io/GPRS_C_SDK_DOC
MIT License
448 stars 234 forks source link

SPI cpha setting seems not work properly #429

Open saidsyakin opened 4 years ago

saidsyakin commented 4 years ago

1. SDK version(SDK 版本)

{

V3.0.1

}


2. In what kind of operation problems appear, and how to reproduce the problem ?(什么样的操作步骤问题会出现,是否是稳定复现,如何复现问题?)

{

I connected a winbond flash memory with SPI interface. Its working if I set cpha = 1(sampling data at the second edge), but Winbond documentation says that I should set cpha = 0(sampling data at the first edge)

When I try to communicate with NFC module from ST, that needs cpha = 1(sampling data at the second edge) - it does not work properly: every time I lost 1 last bit on read byte(write command is ok). I have tried to set cpha = 0 and other values but no luck.

Need help.

}


MaBarakat commented 3 months ago

I'm trying to connect to (W25Q128JV-DTR) winbond flash memory with SPI interface put I can't, can you help me to read and write on it, please?

MaBarakat commented 1 month ago

@Neutree hi,你好 我想問的是在A9G模組中使用spi寫入快閃記憶體還是必須使用TF卡 ? 請幫忙並解答

I am asking about using spi to write on flash memory or must using TF card in A9G module ? Please help and answer