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.

SPI0 initialization on Beaglebone does not work

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