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.

TMS320C5517 IO口(GP[0]~GP[11])功能配置问题

Expert 2137 points
Other Parts Discussed in Thread: TMS320C5517, SPRC133

TMS320C5517 IO口(GP[0]~GP[11])功能配置,我现在就想GP[0]~GP[11]均设置为GP IO口。但是 我在程序刚开始配置代码如下:

status  = SYS_setEBSR(CSL_EBSR_FIELD_SP0MODE,CSL_EBSR_SP0MODE_2);
status |= SYS_setEBSR(CSL_EBSR_FIELD_SP1MODE,CSL_EBSR_SP1MODE_2);

程序执行到第一步就跑飞了。想请问下这是什么问题?