我用2812的spi控制ADS1298R,spi时钟模式设置为CPOL=,0,CPHA=1,但为什么这样dsp发送的数据在示波器上显示左移了一位,这样的话,ADS1298R的寄存器一直写不进去
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.
我用2812的spi控制ADS1298R,spi时钟模式设置为CPOL=,0,CPHA=1,但为什么这样dsp发送的数据在示波器上显示左移了一位,这样的话,ADS1298R的寄存器一直写不进去
你2812里是怎么配置的?有没有和1298R的CPOL/CPHA匹配啊?1298的配置是SCLK空闲时为0,时钟下降沿采样;你DSP里配置的如果是SCLK空闲为0,时钟上升沿采样,那还真有可能左移。