How can I change the status of the SSP1_SSEL?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How can I change the status of the SSP1_SSEL?

897 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by run on Tue Dec 03 15:41:45 MST 2013
Hi,

I am trying to port the CC3000 wifi module to LPC4330. I am wondering how can I change the SSP1_SSEL to LOW/HIGH? So far I tried Chip_GPIO_SetPinState(LPC_GPIO_PORT, 0x1, 5, true), but that is not working.
标签 (1)
0 项奖励
回复
1 回复

767 次查看
frankchiu
Contributor II

Hi,

Maybe you could try this:

   Chip_SCU_PinMuxSet(0x1, 5, (SCU_MODE_INACT | SCU_MODE_FUNC0));  /* P1.5 => GPIO1[8] */
   Chip_GPIO_SetPinDIROutput(LPC_GPIO_PORT, 1, 8);
   Chip_GPIO_SetPinState(LPC_GPIO_PORT, 1, 8, (bool) true);

Hope this helps.

0 项奖励
回复