Other Parts Discussed in Thread: TLIN1021DEVM
Hi, void LINDrv_Init(void) /* LIN Tx GPIO Configuration */ //GPIO_setPadConfig(28,GPIO_PIN_TYPE_STD); GPIO_setDirectionMode(28,GPIO_DIR_MODE_OUT); GPIO_setQualificationMode(GPIO_28_LINA_TX, GPIO_QUAL_ASYNC); /* LIN Rx GPIO Configuration */ GPIO_setPadConfig(29,GPIO_PIN_TYPE_STD); GPIO_setDirectionMode(29,GPIO_DIR_MODE_IN);
/* Reset the Module */ /* Configure the LIN Module in Slave mode */ /*Set character length as 8-bits*/ /* Frame Length */ /* Select Multi-buffer */ /* Synch break and synch delimiter additional bits */ /* Configure the BaudRate */ /* Configure the Filter Compare ID */ /* Configure the Filter Mask */ /* Enable the Transmit */ /* Set the Interrupt Handler */ /* Enable Global Interrupt */ /* Clear the Global Interrupt Status */ /* Reset the Software Reset Bit */ EDIS; /* Enable Interrupts */ } Please let us know is there are any pin configuration that has to be taken care or anything that we need to configure related to SCI mode /LIN mode selection to invoke the interrupt. |