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.

CC2640R2F: DIO status if there is no image

Part Number: CC2640R2F


Hi, 

What's the status of the DIO after power up if there is no code running?

What's the reset value of IOCFGx? 

there is "6000h" in the 11.11.3.5 IOCFG4 Register (Offset = 10h) [reset = 6000h]

but, in the table, only bellow bit reset value is 3h, others are 0h. 

14-13 PULL_CTL R/W 3h Pull control
1h = DWN : Pull down
2h = UP : Pull up
3h = DIS : No pull

BR. Albin

  • Hi Albin,

    Default configuration for the DIOs can be found in the CC26xx TRM chapter 11.12.3 and are for most DIOs DIS : No pull (6000h). This means that bit 13 and 14 in the IOCFGx register is one (3h), PULL_CTL = DIS : No pull. 

    When there is no valid image in flash the device starts up a ROM-based bootloader. This bootloader configures some of the DIOs for a UART and SSIO interface (Input with pull-up) and waits to be accessed by an external device. Which DIOs depends on the package and can be seen in the table below.

    Signal Pin Config VQFN48 7x7 VQFN32 5x5 VQFN32 4x4 DSBGA34 5x5
    UART0 RX Input with pull-up DIO2 DIO1 DIO1 DIO1
    UART0 TX No pull (output when selected) DIO3 DIO0 DIO2 DIO0
    SSI0 Clk Input with pull-up DIO10 DIO10 DIO8 DIO10
    SSI0 Fss Input with pull-up DIO11 DIO9 DIO7 DIO9
    SSI0 RX Input with pull-up DIO9 DIO11 DIO9 DIO11
    SSI0 TX No pull (output when selected) DIO8 DIO12 DIO0 DIO12

    More details on the bootloader can be found in the CC26xx TRM chapter 8.2.

    Best Regards,

    Reidar 

  • Hi Reidar, 

    Thanks for reply. 

    My confusion is that, if Bit13/14 is 3h, should the reset value be "0060h"? 

    BR. Albin

  • Hi Albin,

    If bit 13/14 is 3h then the value becomes 6000h.


     

    Best Regards,

    Reidar