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.

RTOS/CC3200: FreeRTOS Wake up callback

Part Number: CC3200

Tool/software: TI-RTOS

Hi, I'm using FreeRTOS for a sensing system, almost all my code is based on the idle example using LPDS mode and HTTP services, I'm trying to make more robust my code and I wanted to use the watchdog for restar my system in case of failure with I2C bus or connection problem. I want a function to be called when my systems gets out of LPDS is that possible? the red led gets ON when the systems wakes, maybe it can generate an interruption, what is the best way to achieve my goal?

  • Hi Jason,

    I'm going to have to investigate this a little further. I'll get back to you.

    Thanks,
    Alexis
  • Any update? I think I've managed to solve the problem by adding an os message write on the function that turns on the red led but now I have another problem my Launchpad stopped working after one reset, I was using it as usual debugging my new code, it's a monitoring system so I need to catch any possible error, I was trying to catch an i2c bus error by leaving SDA and SCL floated, my system recognized the error and it make a backup of data before the watchdog restart the device, well, the device did turn off but now I'm not able to programm it I've tried everything I found on the forum and nothing worked, can you help me?

  • Hi Jason,

    "I want a function to be called when my systems gets out of LPDS is that possible?"

    As mentioned in the Low Power Deep Sleep section of the CC3200 Power Management Framework, On wakeup from LPDS, the registered application callback is invoked. You should be able to utilize this :)

    Thanks,

    Alexis