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.

如何把mibspi配置为gio?

Other Parts Discussed in Thread: TMS570LS1227, HALCOGEN

芯片TMS570LS1227。需要把mibspi3的NCS1设为gio输出(mibspi3的其他引脚正常用于mibspi通信)

HCG配置如下

程序:

//初始化
gioInit();
mibspiInit();

//设置mibspi3的NCS1为高
gioSetBit(mibspiPORT3,PIN_CS1,1);

目前没能正常起作用,想排查下是否是软件问题。请问配置和程序是否正确,另外是否需要用gioSetDirection配置下IO方向,应该怎么设置gioSetDirection的参数?