Hi @PetrS ,
I referred mpc5746c example. I had created mpc5748g project and just modified the code in the task alone.
I had checked the code using breakpoints, I found that it is not going inside the task.(Toggle pin is not happening).
static void prvTransmitTask( void *pvParameters ){
TickType_t xNextWakeTime;
/* Cast to void because parameter isn't used */
(void)pvParameters;
PINS_DRV_TogglePins(PTA,(1<<0));
// xNextWakeTime = xTaskGetTickCount();
for ( ;; )
{
uint8_t ledRequested;
ledRequested = LED1_CHANGE_REQUESTED;
SendCANData(TX_MAILBOX, TX_MSG_ID, &ledRequested, 1UL);
PINS_DRV_WritePin(PTA,7,1);
vTaskDelayUntil( &xNextWakeTime, mainTRANSMIT_FREQUENCY_MS );
}
}
Please tell me why it is not going into "prvTransmitTask".
PFA
Krishnaja.