TI E2E Community
Bluetooth® Low Energy Forum
Is Smart-RF-EB a must for programming and debugging CC2540-EMK (evaluation_module_kit)?
Can we also use cc debugger for programming & debugging?
I think not. The only thing you need is schematics for EMK, so you can make in-between cable to power up EMK and plug CC debugger in.
What do u mean by in between cable? Can you give me any circuit diagram for that?
I was not able to find schematics for EMK right away, but it has to be there, presumably in SmartRF/EMK manuals.
You need a cable which will do two things:
a) provide voltage/ground to 2540s pins on board, and
b) provide a connector where you'll plug CC debugger. The connector should route to CC2540s debug pins.
Obviously, those pins are routed to EMK's two connectors.
Thanks for the information.
The schematic for EMK can be found in here. (http://www.ti.com/lit/ug/swru301a/swru301a.pdf)
The voltage/ground (supply) can be routed thro P2. But how can i route the connector to cc2540 debug pins(which pins are debug pins)?
I am a newbie with hardware, sorry if i am asking basic quest
The 254x User Guide is your friend ;-) Check out sections 3 and 7 for full pin reference, and CC debugger's user guide too.
Basically, you need five-wire connection between CCD and 2540 as follows:
The way those five signals are rooted to EMK connector is not exactly convenient, but little could be done about that.
TVS is target voltage sense, which is simply a pin CC debugger uses to check if the board is powered on. It should be connected to power source of board.
Nice touch is that you can power 2540 from CC debugger (at least that works with keyfob board). Just use GND and 3.3V pins on CC debugger connectors.
Thanks Oleg and Fredrik
I will work on making the five wire connection between CC-Debugger and 2540EMK.
What software tools should i use to program & debug?
Is Smart-RF-Studio suitable for this problem situation?
SmartRF Flash Programmer does what it's name says, programs the flash, and that's about it. SmartRF Studio can be used to control the chip, i.e. use the radio, play with register values etc.
So to program you must use the programmer, to debug (check the RF performance, etc.) you can use studio.
--PS. If I answered your question, please hit Verify Answer !
Thanks a lot!
I am planning to power up cc2540emk from CC debugger(pin 9).
Where should i connect TVS (target voltage sense) from debugger?
(Refer: to Oleg's reply above for connections between CCD and CC2540)
Wire it straight to 3V3 from CC debugger - that's your power source, so TVS will go high along with voltage and tell CCD to go greenlamp.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.