你好,我使用的是PIC32 MX795F512L和M25P16 SPI闪存。时钟被拉下来,MISO通过10K电阻被拉起来。我写的是“读ID命令=0x9F”,然后跟着20个虚拟时钟周期读取MISO引脚上的数据。我用的是SPI3,CLock模式是Clock 3(CPOL=1,CPHA=1),波特率是1MHz。问题是闪光灯响应是可预测的,如所附波形图所示。硬件设计有什么问题吗?还是我用错误的方式编程?
以上来自于百度翻译
以下为原文
Hi,
I am using the PIC32MX795F512L with M25P16 SPI Flash. The Clock is pulled down and MISO is pulled up via 10k resistor. I was wri
ting the 'Read ID command = 0x9f' and then followed by 20 dummy clock cycle to read data on MISO pin. I'm using SPI3, CLock mode is Clock 3 (CPOL = 1, CPHA = 1) and baudrate is 1MHz.
The problem is response by flash is up predictable as shown in attached waveform image.
Is there anything wrong with hardware design? Or am I programming it in wrong way?
Attached Image(s)