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.

LAUNCHCC3220MODASF: Bootloader serial programming connection

Part Number: LAUNCHCC3220MODASF

Hello,

I want to build my own CC3220MODASF board. For this I need to know which UART at which pins can be used to program the device using UniFlash serial connection.
I know that if the bootloader will become active it also configures the serial lines if it sees a break condition.

Does the bootloader monitor both UARTs for the break condition?

Are all possible UART RX pins monitored for the break condition?

Does the bootloader use RTS and CTS? I think: NO.

Can I use the module pin 47 and pin 46 (as on the LAUNCHCC3220MODASF)?
  Pin 47 - GPIO_02 - UART0_RX, UART1_RX
  Pin 46 - GPIO_01 - UART0_TX, UART1_TX
 Just for info: Does the bootloader configure these pins as UART0 or UART1 for programming?


I am a little bit confused because ...

The LAUNCHCC3220MODASF uses the pin 47 for RX and pin 46 for TX. These pins are the only serial ones which are connected to the XDS110 part and therefore exported to the world outside and therefor usable for programming using UniFlash.

Pin 47 - GPIO_02 - UART0_RX, UART1_RX
Pin 46 - GPIO_01 - UART0_TX, UART1_TX

o.k. I understand - use these pins for your own board.

Next: The DataSheet REV C says in a figure in section 7.1:
->
At a minimum, pull these pins out to test points to aid in debug:
Pin 48: CC_WL_RS232_TX
Pin 49: CC_WL_RS232_RX
Pin 50: CC_WL_UART_TX
Pin 52: CC_NPW_UART_TX
<-

Looking with the TI PinMux tool for this module and in the data sheet I found the following serial functions for these pads:
Pin 48 - GPIO_03 - UART1_TX
Pin 49 - GPIO_04 - UART1_RX
Pin 50 - GPIO_05 - nothing ???
Pin 52 - GPIO_07 - UART0_TX, UART0_RTS, UART1_RTS

There are no UART serial function at Pin50, so why to pull out the pins 50 and 52?

No information about "my" pins 46 and 47  :(

Any help is welcome.

Best regards,
Roman

  • Hi Roman,

    Bootlaoder use pins with names GPIO_01, GPIO_02. These pins are hard-coded inside bootlaoder and cannot be changed. Hardware flow pins are not used.

    Additional information you find at:

    Jan

  • Hi Jan,

    many thanks for the quick answer. In one of your links I found what I am looking for.

    As you said :)

    ->

    Configuration of the UART Programming the serial flash device through the CC3220 UART interface requires the use of the following CC3220 pins:
    •  55 – UART1 TX
    •  57 – UART1 RX
    •  32 – nRESET
    •  35, 34, 21 – SOP pins

    The UART TX and RX pins are used for data transfer. RTS and CTS signals are not used.
    The nRESET pin is used to reset the device.
    The UART data transfer occurs at 921600 bps.
    The UART configuration is as follows:
    •  Baud rate: 921600
    •  Data bits: 8 bits
    •  Flow control: None
    •  Parity: None
    •  Stop bits: 1
    •  Polarity:positive

    <-

    So the TI documentation I mentioned in my last e-mail seems to be wrong.
    I don't understand why TI not mentions this in the data sheet at the position they speak about bootloader and the configuration (or why I didn't found it there).

    Many thanks,

    Roman

  • Hey Roman,

    Please note that the Production Line Guide that Jan shared is for the CC3220 as the CC3220 pins and CC3220MODAx pins are not the same. The design checklist (linked below) should better assist you. 

    As you're designing your custom board, use the following tools:

    1) CC3x20 Design Checklist (use the CC3220MOD tab to ensure the module's pins are configured correctly)

    2) LAUNCHCC3220MODASF Design Files (Includes our LaunchPad reference design's Altium files)

    3) LAUNCHCC3220MODASF User's Guide (There are layout guidelines starting from Section 1.8. Make sure you read the subsection titles as some of the guidelines are for the CC3220MODx)

    Hope this helps,

    Seong

  • Many thanks for this.

  • Hello,

    now as I found the following information in the data sheet of the CC3220 module and also in the ExcelSheet "CC3x20_HardwareDesginChecklist V2.1" i decided to ask a second time:

    The ExcelSheet and in the data sheet say for UARTs:
    Pin 48 - GPIO_03 - UART1_TX
    Pin 49 - GPIO_04 - UART1_RX
    Pin 50 - GPIO_05 - no UART functionality
    Pin 52 - GPIO_07 - UART0_TX, UART0_RTS, UART1_RTS


    There are no UART serial function at pin 50, so why to pull out the pin 50 and 52?

    The pin numbers shown are valid for the CC3220moda.

    Thanks for reading,
    Roman

  • Hi Roman,

    Pulling these out are optional and if done so, can be used to collect NWP and MAC logs so we can see what's happening internal to the NWP stack.

    Instructions on NWP logging can be found here:
    processors.wiki.ti.com/.../CC3120_&_CC3220_Capture_NWP_Logs

    In addition to the steps in that wiki page, you'll also want to collect MAC logs. They can be enabled by calling MAP_PinTypeUART(PIN_60,PIN_MODE_1) directly after the previous call to MAP_PinTypeUART() in *_initGeneral(). 

    You'll need to wire pin 60 and 62 to a UART reader operating a 921000 baud, and then save the output to a log file. Only UART RX is needed. TX, CTS, RTS are not needed.

    BR,

    Seong