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.