This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Dear Champs,
I am asking this for our customer.
The user can use LIN as SCI if multibuffer is not used.
But when they used multibuffer as below, it failed.
LinaRegs.SCIGCR1.bit.MBUFMODE =1;
Is there anything wrong?
Do we have any example to show how to use SCIGCR1.MBUFMODE ;
Is it shown in C2000ware?
If we overlook it, would you please show which example explicitly?
Wayne Huang
Hi Wayne,
Below example in C2000Ware configures LIN as SCI and enables multi-buffer mode. Only difference is it does DMA reads, which customer can replace with CPU reads?
C:\ti\c2000\C2000Ware_3_04_00_00\driverlib\f28002x\examples\lin\lin_ex3_sci_dma.c
Best Regards,
Nirav
Dear Nirav,
Do you mean:
The user can use multi-buffer in either TX or RX, and both TX/RX together.
Is it right?
Wayne
Yes, LIN is single line communication so it will be either TX or RX at a time. Meaning you cannot transmit and receive at the same time.
Best Regards,
Nirav