This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC253x query

Other Parts Discussed in Thread: CC2530, CC2538, SEGGER

CC2530

1.What is the Debugging interface,since it doesn't have JTAG.

2. What is the console interface, UART?

3.What is the flashing interface, USB or UART?

CC2538

same three question for CC2538

4. I could not able to see in the which pin is for UART2(UART1 is in Port A), I2C, SPI. In the Data sheet it is mentioned that it has 2 UART, 2SPI and 1 I2C. But where is in the pin diagram

  • You can refer to cc253x user guide at http://www.ti.com/lit/ug/swru191d/swru191d.pdf

  • 1.I didn't find the console messages interface and flashing interface.

    2.And in the user guide also they have mentioned 2 UARTs(UART 0 and 1). But in which pin it is connected. Please can you help me in this.

  • 1. What do you mean console message interface? Is it  UART?  What do you mean flash interface? Do you mean the interface to download FW iinto cc2530.

    2. For pin mapping, you can refer to Figure.7 in cc2530 data sheet (http://www.ti.com/lit/ds/symlink/cc2530.pdf)

  • 1. i)console message means "printf" like functions. 

    ii) Yes i mean that. Downloading hex/exe file to CC2530 and CC2538 Flash memory.

    2.Yes i have seen both sheets(CC2530 and CC2538). But couldn't able to find which pin is for UART0, UART1, SPI, I2C. Earlier i have worked in evaluation board. The developer kit user guide indicates where these pin is connected to smartrf board. But now i am using Custom board. 

  • 1. Both debug console and  flash  interface are described in section 7.7 debug interface of cc253x user's guide.

    2. Since you use a custom board, you should check your own schematics.

  • This is mentioned in user guide 

    "Ports P2.1 and P2.2 are used for debug data and clock signals, respectively. These are shown as DD
    (debug data) and DC (debug clock) in Table 7-1. When in debug mode, the debug interface controls the
    direction of these pins. Pullup and pulldown are disabled on these pins while in debug mode"

    It  didn't mentioned what is the interface. Please can you tell me. I want details mainly in CC2538

    1. Debug is JTAG. which interface you will download binary file to flash memory

    2.Custom board is yet to design, for that only i asked you which pin two UARTs, SPI, I2C is connected

  • It is described in CC2538 datasheet (http://www.ti.com/lit/ds/swrs096a/swrs096a.pdf).

  • Hi Reshmi,

    Yikai has already given you all the information you need so I will just summarize them here. Note that the CC2530 is an 8051 device whereas the CC2538 is an ARM Cortex M3 device. There are thus some fundamental differences between them.

    For the peripheral to pin mapping please refer to the respective User's Guides which can be downloaded from the respective product pages. Look in the chapter called IO control or similar.

    For debugging and programming the CC2530 uses a proprietary 2-pin debug interface. You need a CCDebugger or a SmartRF05EB to connect to the CC2530. Debugging in IAR is supported and we also have a separate flash programmer tool. Go to the CCDebugger product page for more details.

    The CC2538 uses JTAG, default is cJTAG which is a 2-pin interface using only TCKC and TMSC. XDS100/200 is the recommended programmer and debugger and this is found on the SmartRF06EB. We also support 3rd party programmers like Segger etc.

    I hope this answers your questions.

    Cheers,

    Fredrik

  • Mr.Yikai, In the Data sheet it is mentioned in the pin description that UART is connected to PA0 and PA1(Is it UART0 or UART1). What about other UART,Is really 2 UART in CC2538?. And i have seen the one SSI, which is i think SPI. what about other SPI(there are 2SPI) and I2C.

    Still i failed to find to find which interface is used to download a hex/binary file?UART or USB?

  • CC2538:

    Have you even looked in the User's Guide? http://www.ti.com/lit/ug/swru319c/swru319c.pdf

    If you have a look in chapter 9, you will see that the peripherals can be muxed to any GPIO pin. Please read the documentation regarding IO-Control and UART carefully.

    To download a hex or binary file you use the JTAG inerface.

    CC2530:

    User's Guide: http://www.ti.com/lit/ug/swru191e/swru191e.pdf

    Read chapter 7 and see table 7.1. UART can only be mapped to a limited set of GPIO pins.

    To download a hex file you use the debug interface.

    Now, before asking more questions on this, I suggest you spend some time reading through the answers provided by Yikai, and also the documentation for the different devices.

    Cheers,

    Fredrik

  • Hello,

          In cc2530, CC debugger is used, then what hardware tool is used to program the cc2538 to JTAG which is also debug interface.

  • For cc2538, you need XDS100v3 or you can use smartrf06eb which has XDS100V3 embedded on it.

  • Whether XDS100v3 is used purpose is same as CC debugger. Both Programming and debugging or else we can do only Programming. This Question is raised because of this post http://e2e.ti.com/support/wireless_connectivity/f/155/p/338239/1180837.aspx#1180837 

  • Yes, XDS100v3 is used purpose is same as CC debugger.