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.

PRU and PM?

Hi,

When we run this code

#define MCSPI0_BASE 0x48030000

#define MCSPI0_CH0CONF (*((volatile uint32_t *)(MCSPI0_BASE + 0x12C)))

PRU_FW_DEBUG_OUTPUT = 500;

MCSPI0_CH0CONF = (MCSPI0_CH0CONF & ~0x0F80) | (((wl-1) & 0x1F) << 7);

PRU_FW_DEBUG_OUTPUT = 501;

we only see 500 in our DEBUG_OUTPUT.  It seems like the PRU is hanging trying to access the SPI device.  As far as we know, we have enabled host memory access: 

/* Allow Open Communication Protocol master port acces by the PRU

 * so that the PRU can read from external memory

 */

CT_CFG.SYSCFG_bit.STANDBY_INIT = 0;

Do we need to do some kind of power management either from the PRU or the ARM side to enable the SPI device?

Robert