- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello,
I'm trying to setup CAN communication on KIT_TC367_5V_TFT, with support of iLLD.
could you please give me support on following TC367 questions?
1.HW: Terminal resistor s(120Ohm) should be added to both TC367 KIT side and CANoe side? (X202)
2. The example "How to use the CAN interface driver" in help document iLLD_UM_TC39B is taken as reference.
questions are:
1. Shall P20.7 and P20.8 be initialized for CAN Rx/Tx? its default usage is GPIO?
2. In this example Node0 is set to reception node, and Node 1 is transmission node. From user Manual, the 64 message buffers can be initialized as received buffer to received dedicated CAN ID frame, or be initialized as transmission buffer. Is my understanding correct?
3. Following codes are used in the example, but what is the value of MODULE_CAN0_RAM?
(since MODULE_CAN0_RAM is not initialized correctly, the SW runs into trapper during CAN initialization.
The whole project (Aurix development studio) zip package is attached for your reference.
It is highly appreciated If a complete TC367 CAN example code package is provided
thanks and BR
Zhou Yi
- Labels:
-
ispn:27401:1:0
-
l1:314:1:0
- Tags:
- can
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Zhou,
For 120Ohm resistence, the PCB of Triboard generally has one, please check your sch for details. Below is from Triboard User Manual TC3X7.
The background knowledge of 120Ohm is for your reference.
For P20.7 and P20.8, you should check your sch and source code to double confirm Tx and Rx pin's definition.
For example, above sch shows two pairs for CAN Rx and Tx pins that is P23.0/1, P00.0/1.
There is CAN example codes in ADS(Aurix Development Studio), you can click File -> Import, or you can also access github for those codes.
dw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello,
thank you very much.
There is no CAN examples for TC367 on github , hopefully examples for TC397 can also be taken as reference.
BR
ZhouYi