Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
I AM NEW TO THIS AND HENCE NEED TO KNOW THE FOLLOWING
1. I AM USING HALCOGEN AND I DID THE FOLLOWING IN IT
CREATED A NEW PROJECT
ONLY ENABLED DRIVERS FOR MIBSPI1 AND MIBSP3
PINMUX >>> SELECTED MIBSPI1 AND MIBSPI3
MIBSPI1TRANSFER GROUP>>>> SELECTED CS_NONE (I AM USING MIBSPI IN 3 PIN MODE)
MIBSPI3GLOBAL>>> UNCHECKED MASTERMODE AND INTERNAL CLOCK (MIBSPI3 IN SLAVE MODE)
MIBSPI3PORT>>> UNCHECKED DIR FOR SIMO; UNCHECKED DIR FOR CLK
2. I AM USING CCS AND HAVE WRITTEN THE FOLLOWING CODE TO TRANSFER DATA IN A AND RECEIVE IT IN B USING MIBSPI3, BUT I AM UNABLE TO RECEIVE THE DATA
#include "mibspi.h"
uint16 a[8]={1,2,4,6,10,12,15,16};
uint16 b[8]={0};
int main(void)
{
/* USER CODE BEGIN (3) */
mibspiInit();
mibspiSetData(mibspiREG1, 0, a);
mibspiTransfer(mibspiREG1, 0);
mibspiGetData(mibspiREG3, 0, b);
}
KINDLY HELP FOR THE ABOVE, I AM THANKFUL