I am trying to run LSR TIWI-SL CC3000 wifi module with c5515 usb stick. To start wifi module, PWR_EN bit of cc3000 is required to set to '1'. PWR_EN pin of wifi module is connected to GPIO 4 pin of C5515. I am using CSL GPIO functions to set PWR_EN bit and it works on C5515 EVM board(e.g Successfully, PWR_EN bit is set to 1 by setting GPIO4.).
However, the write operation to GPIO4 pin fails on usb stick. CCSv5 gives an error inside of GPIO_write() function, at the line of
"CSL_FINSR (hGpio->baseAddr->IOOUTDATA1,pin,pin,buffer)";.
The error is "C55xx: Can't Single Step Target Program: (Error -1143 @ 0x400) Device core was hung. The debugger has forced the device to a ready state and recovered debug control, but your application's state is now corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 5.0.857.0) ". Then CCS exits from the debug.
I have also tested gpio4-5 pins by CSL_GPIO_InputPinExample and the test was successful for usb stick.
What is the problem on usb stick? I want to remind that there was not problem in EVM board.
Best regards.
Yusuf Sekman