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.
芯片是tms570ls3137 144pin, 软件是 ccsV5.3 + halcogen
程序描述:
A:
将Mibspi1当成从机;
用了somi simo 和clk三个引脚;
用了一组buffer,关联了tx complete中断,等级为level 1
B:
在rti的定时中断中,将数组 Mibspi1_GP0_transmit_data 的内容赋给 gp0,
然后使能transfer.
C:
当transfer 结束后,进入 void mibspi1LowLevelInterrupt(void)中断,把
Buffer内的数据读到 Mibspi1_GP0_receive_data数组里。
问题:问题出在B ,C 步骤之间,我可以使能transfer,使能之后主机也传来了 clk,但从机570却毫无反应,既不发出数据,也不接受数据,导致不能进入,如下图
void mibspi1LowLevelInterrupt(void)中断,请帮我看看问题出在哪里,
附件是 ccs 和 hal文件