Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

TM4C1299NCZAD: How to power cycle cc2564

Part Number: TM4C1299NCZAD
Other Parts Discussed in Thread: CC2564

Hi,

We are using Tiva C TM4C129X board and CC2564 chip. We want to power cycle CC2564, for that we have written following code.

GPIOPinWrite(GPIO_PORTS_BASE, GPIO_PIN_1, 0);
delay_ms(20);
GPIOPinWrite(GPIO_PORTS_BASE, GPIO_PIN_1, GPIO_PIN_1);
delay_ms(200);

Are we missing any configuration? Or do we need to provide clock from outside?

Thanks and Regards,

Bhagyahri

  • Hi Bhagyahri,
    What are you trying to do? Your code is first clearing PS1 pin and wait 20ms and then assert PS1. I don't see an issue with this. However, I don't see your initialization code. Did you initialize PortS and configure the PS1 to be an output pin like below? Can you use a scope to observe the PS1 pin?

    SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOS);
    while(!SysCtlPeripheralReady(SYSCTL_PERIPH_GPIOS))
    {
    }

    GPIOPinTypeGPIOOutput(GPIO_PORTS_BASE, GPIO_PIN_1);
  • Hi Bhagyahri,
    I have not heard back from you. I assume the issue is resolved. I will close this thread for now. If you have new questions you can open a new thread or you can reopen this thread if you need further resistance.