sinai1
Junior Member
Posts: 79
|
Post by sinai1 on Mar 6, 2019 2:51:13 GMT
Hello today I receive my first 5 cards of shield buddy but i have a question.
There is support to use CAN and LIN Channels of the boards, also wich transceivers do you recomend?
|
|
sinai1
Junior Member
Posts: 79
|
Post by sinai1 on Mar 8, 2019 3:30:16 GMT
Admin, There is any library for LIN Comunication? Im testing CAN but cant find anything for LIN.
|
|
|
Post by Admin on Mar 8, 2019 8:36:54 GMT
The LIN driver from the iLLD is in the ShieldBuddy library. This example uses it. LINTestShieldBuddy.cpp (5.19 KB) To use this in the Arduino IDE, change the .cpp to .ino.
|
|
sinai1
Junior Member
Posts: 79
|
Post by sinai1 on Mar 11, 2019 14:25:03 GMT
I try the example but this stop working in this line:
IfxAsclin_Lin_receiveResponse(&g_AsclinLin.drivers.lin, g_AsclinLin.rxData, g_AsclinLin.size); /* receive response */
I connect the Tx 16 & RX 17 as the example say.
Regards.
|
|
sinai1
Junior Member
Posts: 79
|
Post by sinai1 on Mar 11, 2019 14:52:44 GMT
Is there any way to add a timeout timer to Rx signal?
|
|
|
Post by Admin on Mar 15, 2019 10:07:03 GMT
Are you using a LIN transceiver like the TLE7259-3GE? The example assume that there is one on Port10.5 (pin10). Do you have one ShieldBuddy sending to another?
|
|
sinai1
Junior Member
Posts: 79
|
Post by sinai1 on Mar 20, 2019 15:04:18 GMT
I have a TJA1020 and I connect the pin 2 NSLP as a Enable, that is the equivalent of the EN pin of TLE.
|
|
sinai1
Junior Member
Posts: 79
|
Post by sinai1 on Mar 20, 2019 16:42:18 GMT
The problem is that this stop working after a cicle, is thereis no data on the RX line, so if disconect the devide this will stop the program, there is a way to add a timeout?
|
|