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.

CCS/RM48L952: Assigning MIBSPI5 as GIO in HalCoGen

Part Number: RM48L952
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

HI,

This seems like it should be easy, but I'm not having any luck.  I want to use MIBSPI5CLK, MIBSPI5SOMI[0] and MIBSPI5SIMO[0] as GIO outputs.  In HalCoGen I have these set as GIO outputs on the MIBSPI5 Port tab.  I have the MIBSPI5 driver enabled on the Driver Enable tab (I've tried it both ways).  I have the MIBSPI5 pins selected on the PINMUX tab (I've tried it both ways). 

I have very simple loop in Code Composer V7.0.0.00043:

int32_t TEST_COUNT = 0; // this is the counter for toggling the GIO bit
gioInit();

while(1)
{
if (TEST_COUNT == 10000000)
{
TEST_COUNT = 0;
gioToggleBit(gioPORTA,0);

gioToggleBit(mibspiPORT5,9);

gioToggleBit(mibspiPORT5,10);

gioToggleBit(mibspiPORT5,11);

}
else
{
TEST_COUNT ++;
}
}

GIOA0 toggles just fine, but not the MIBSPI pins.  I also can't control the pu/pd on the MIBSPI pins.  

My includes are :

#include "sys_common.h"

#include "gio.h"

#include "reg_mibspi.h"

What am I missing?

Thanks.