How can I change the status of the SSP1_SSEL?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can I change the status of the SSP1_SSEL?

664 Views
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.
Labels (1)
0 Kudos
Reply
1 Reply

534 Views
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 Kudos
Reply