Other Parts Discussed in Thread: HALCOGEN,
Hi,
I am using the LIN peripheral of the controller for communicating with the external slave device. The LIN of the controller is configured in the master mode. I am able to send and receive the data to/from LIN slave device. I would like to generate the wake-up signal from TMS570LS0332 microcontroller to wake-up the external slave. I used the following function in the HalCoGen generated code to generate the wake-up signal.
void linSendWakupSignal(linBASE_t *lin)
{
/* USER CODE BEGIN (8) */
/* USER CODE END */
lin->TDx[0U] = 0xF0U;
lin->GCR2 |= 0x00000100U;
/* USER CODE BEGIN (9) */
/* USER CODE END */
}
I do not see any wake-up signal on the LIN bus.
