Tool/software: TI-RTOS
I am working on the Simple Peripheral project for the CC26X2 launchpad. I have created my own task outside of the simple peripheral task. I would like to write to a serial display on PuTTy. However, although I am able to write to it from the simple peripheral task, when I try to call the Display_printf() function within my own task, the program hangs. I want to say this may be due to some improper initialization, but I'm not sure what to do to make this work. So far, I have tried to create my own separate display handle and tried to use the display handle from the simple peripheral task using an external variable, both of no avail. The display handle remains null.
So far, this is what I am doing within my task:
Display_init();
dispHandle = Display_open(Display_Type_ANY, NULL);
Display_printf(dispHandle, 0, 0, "Error Initializing I2C.\n");
What do I do to make this work? I would really appreciate some help debugging this issue.
EDIT: My task is a separate .c file