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.

CC1310: cc1310 frozen when toggle 1 pin

Part Number: CC1310

i have my own board with CC1310.
I do all the same for all pins

#define CC1310_LAUNCHXL_PIN_RE                IOID_29

CC1310_LAUNCHXL_PIN_RE | PIN_GPIO_OUTPUT_EN | PIN_GPIO_HIGH | PIN_PUSHPULL,

but when I try to do any changes with this pin, for example

GPIO_write(CC1310_LAUNCHXL_PIN_RE, 0);

GPIO_write(CC1310_LAUNCHXL_PIN_RE, 1);



cc1310 frozen.
He works nice up to I try toggle only this pin (IOID_29). Nothing connects to this pin, it must be RESET pin for slave chip, but I disconnect him.

Out of ideas what it can be.

  • If I understand you correctly you have a code where you have done

    #define CC1310_LAUNCHXL_PIN_RE IOID_x

    where x is from 1 to 30 and it's only IOID_29 that causes a problem?

    What does frozen mean?
  • Correct.
    I have EMPTY project from TiDrivers
    I resetup pins in CC1310_LAUNCHXL.h for my board ( i use IOID 5,7,8, 10 and from 24 to 29)
    inicialize it in CC1310_LAUNCHXL.c
    And frozen mean if i try toggle IOID_29, chip stop send anything to UART and in DEBAG it show no changes anywhere.
    But if i put out toggle IOID_29 to all code work and send some on UART, exept i can't use comunication with slave chip, because can't do reset to him.
  • Are you able to test this on a launchpad to see if this is related to your custom hardware or not?
  • i don't have launchpad, sorry.

    I rebuild my board with minimum parts around CC1310F128.

    And now have something different.

    I can flash from SmartRF flash programmer

    >Initiate access to target: XDS-00000000.
    >Reading file: C:/ti projects/uartecho_CC1310_LAUNCHXL_tirtos_ccs/Release/uartecho_CC1310_LAUNCHXL_tirtos_ccs.out.
    >Start flash erase ...
    >Erase finished successfully.
    >Start flash programming ...
    >Programming finished successfully.
    >Start flash verify ...
    >Page: 0 verified OK.
    >Page: 1 verified OK.
    >Page: 2 verified OK.
    >Page: 3 verified OK.
    >Page: 4 verified OK.
    >Skip verification of unassigned page: 5.
    >Skip verification of unassigned page: 6.
    >Skip verification of unassigned page: 7.
    >Skip verification of unassigned page: 8.
    >Skip verification of unassigned page: 9.
    >Skip verification of unassigned page: 10.
    >Skip verification of unassigned page: 11.
    >Skip verification of unassigned page: 12.
    >Skip verification of unassigned page: 13.
    >Skip verification of unassigned page: 14.
    >Skip verification of unassigned page: 15.
    >Skip verification of unassigned page: 16.
    >Skip verification of unassigned page: 17.
    >Skip verification of unassigned page: 18.
    >Skip verification of unassigned page: 19.
    >Skip verification of unassigned page: 20.
    >Skip verification of unassigned page: 21.
    >Skip verification of unassigned page: 22.
    >Skip verification of unassigned page: 23.
    >Skip verification of unassigned page: 24.
    >Skip verification of unassigned page: 25.
    >Skip verification of unassigned page: 26.
    >Skip verification of unassigned page: 27.
    >Skip verification of unassigned page: 28.
    >Skip verification of unassigned page: 29.
    >Skip verification of unassigned page: 30.
    >Page: 31 verified OK.
    >Verification finished successfully.
    >Reset target ...
    >Reset of target successfull.

    But this code not works, mean i see nothing in UART, this is same code what i try before and had a problem with toggle 1 pin.
    When i try do debug or flashing from CCS, i have this

    Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
    Cortex_M3_0: GEL Output: Board Reset Complete.
    Cortex_M3_0: Can't Run Target CPU: (Error -2134 @ 0x0) Unable to control device execution state. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 7.0.188.0) 
    Cortex_M3_0: JTAG Communication Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 7.0.188.0) 
    

    I built 2 boards now, and 1 board i not setup 32.768Khz crystal, because of it optional and i think maybe some problem here. But still, have the same result.

    out of ideas. :(

  • Without knowing anything about your board or what you define as minimum part it's not possible to comment. Note that if you use the internal 32 kHz RCOSC you have to set this in the CCFG.c file.
  • here is my schematic. nothing else soldered on board.

  • If the RESET pin is actually disconnected from the rest of your circuit I don't see any reason why DIO29 should behave differently than the other DIOs.