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.

How to read the am3358 register from ccs.

Other Parts Discussed in Thread: SYSCONFIG

Hi, all.

      I am developing the SPI1 interface of beagle bone black under the CCS6 and  XDS100V3.

when i initialize the SPI1 register,  the spi1 register can not read and write.  and the program is collapse when run to the McSPIReset function.

the code is refer to the sitara starterware.

void McSPIReset(unsigned int baseAdd)
{
/* Set the SOFTRESET field of MCSPI_SYSCONFIG register. */
HWREG(baseAdd + MCSPI_SYSCONFIG) |= MCSPI_SYSCONFIG_SOFTRESET;

/* Stay in the loop until reset is done. */
while(!(MCSPI_SYSSTATUS_RESETDONE_COMPLETED &
HWREG(baseAdd + MCSPI_SYSSTATUS)));
}

and then I want to view these these register from ccs, but got this.

it's so weird.

Anyone who know that?

Best regard.