How can I change the status of the SSP1_SSEL?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How can I change the status of the SSP1_SSEL?

917件の閲覧回数
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 返信

787件の閲覧回数
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 件の賞賛
返信