Hi Community,
I am trying to get the SPI0 on the beagle bone to work with "StarterWare 02.00.00.07". As base code, I am using the mcspiFlash.c from the example of the evmAM335x evaluation board. I have removed the hardware relevant code, which checks for the hardware setup profile (EVMProfileGet()). After the function call McSPI0ModuleClkConfig(void), I expect to see the SPI clock running, because the function enables the SPI clock at register:
HWREG(SOC_CM_PER_REGS + CM_PER_SPI0_CLKCTRL) |= CM_PER_SPI0_CLKCTRL_MODULEMODE_ENABLE;
However, I cannot see the clock running. Is my assumption wrong? - and what can I do to prove the SPI clock to run ?
Klaus