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.

F28335 SPI无输入或者输出

Other Parts Discussed in Thread: CONTROLSUITE

spi 选用如下io口,写数据的时候,通过示波器可以看出CLK正确,但是SI SO两个引脚保持高电平或者低电平不变。

GpioCtrlRegs.GPBPUD.bit.GPIO54 = 0; // Enable pull-up on GPIO16 (SPISIMOA)
GpioCtrlRegs.GPBPUD.bit.GPIO55 = 0; // Enable pull-up on GPIO17 (SPISOMIA)
GpioCtrlRegs.GPBPUD.bit.GPIO56 = 0; // Enable pull-up on GPIO18 (***)
//GpioCtrlRegs.GPBPUD.bit.GPIO57 = 0; // Enable pull-up on GPIO18 (***)

GpioCtrlRegs.GPBPUD.bit.GPIO61 = 0;   // Enable pull-up on GPIO19 (SPISTEA)