Tool/software: Code Composer Studio
Hello together,
I want to use RTP_DATA[13] as digital out. For that I configured it with following code:
// Set high rtpREG->PC3 = rtpREG->PC3 | (1 << 13); // Set output direction rtpREG->PC1 = rtpREG->PC1 | (1 << 13); // Disable open drain rtpREG->PC6 = rtpREG->PC6 & ~(1 << 13); // set gio , functional diabled rtpREG->PC0 = rtpREG->PC0 & ~(1 << 13); // Set low gioSetBit(rtpPORT, 13, 0);
Setting the IO high or low works fine from main function, but called from a freertos task it ends in
With other Ports like hetPORT1 / 2 there is also no problem when called out of a task.