-
Notifications
You must be signed in to change notification settings - Fork 14
Getting Set up to Develop for the CC2541
You'll need:
- Something with a CC2541 on it (e.g. HM-10 or TI Sensor Tag)
- A CCDebugger
Download and install the following:
Open SmartRF Studio. Make sure your debugger's firmware is up to date. Connect your target hardware to the CC Debugger. Minimum connection is debug data, debug clock, GND, and voltage sense (to your 3v rail). You can use the 3 volt power from the debugger for ease of use as well. If you get a green light, you're good to go. If not, try swapping your DD and DC. If that doesn't do anything for you, try using an external 3 volt power source.
TI annoyingly puts the folder of example projects at the root of your hard drive. SimpleBLEPeripheral
is a good start so go ahead and find it. Open the IAR workspace file. Hit compile. Google the error that appears. TI doesn't recompile the stack with every new version of IAR, so, there'll be a thread of people complaining about it not working. Fix whatever needs to be fixed and recompile.
Your code should upload. You are ready to start developing for the CC2541.