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.

cc3200 LPDS模式待机唤醒后,GSPI slave模式无法正常工作

Hi TI 工程师,

用LPDS模式进行网络包待机唤醒后,GSPI 工作在slave模式下,当主机传输数据时其DMA中断一直没有触发,GSPI模块是否需要在唤醒后做一些初始化?谢谢

参考的是idle_profile_nonos代码(项目本身用多线程),其中

void lp3p0_restore_soc_data(void)
{
/* Invoking the default CC3xxx service impl. */
cc_restore_soc_data();

PRCMCC3200MCUInit();

//

// Configure the pinmux settings for the peripherals exercised
//
PinMuxConfig();

//
// enable peripherals
//
enable_peripherals();

/* ungates the clk for the shared SPI*/
MAP_PRCMPeripheralClkEnable(PRCM_SSPI, PRCM_RUN_MODE_CLK|
PRCM_SLP_MODE_CLK);
}

void enable_peripherals()
{
//Initialising uDMA
UDMAInit();

//Initialising the link SPI
spi_Open(NULL, NULL);

//Initialising the UART terminal
InitTerm();
}