各位专家好:
在采样SPI传输数据时,SpibRegs.***.***,,这样赋值是传输的数据是15bit,还是16bit,因为按照16bit传数据时,如果最高位为1,数据在示波器上显示在开头或结尾处会被拉高,如果最高位为0 ,就没有问题,请问是什么原因?
如果我选择8bit输出时,有时钟信号,但是数据却在示波器上看不到,这又是怎么回事呢?
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.
SpibRegs.SPICCR.SPICHAR赋值为0xf,是16位数据。
做8位数据时,是否有注意SpiaRegs.SPITXBUF是左对齐的?