Part Number: RM46L852
Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
I have been trying to get data from the ADXL313Z accelerometer on the Hercules LaunchPad Development Kit using mibSPI, but have failed to get any values. I have generated code with Halcogen to use on Code Composer Studio. The PINMUX is set to Pin 3 MIBSPI3NCS_3, Pin 51 MIBSPI3SOMI, Pin 52 MIBSPI3SIMO, and Pin 53 MIBSPI3CLK. Everything else is set to its default values. I have been running the following code to try to get data:
mibspiInit();
uint16_t rxBuffer[8];
while(1){
mibspiGetData(mibspiREG3, 0, rxBuffer);
}
I tried looking at the voltage of the chip select to see if the board was attempting to send any data, but it seemed that the board wasn’t even trying to send anything.
I would really appreciate some help in solving this problem.