TC22x Multican loop back testing

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User16350
Level 1
Level 1
I read that some microcontroler supliers provide loop back function(https://en.wikipedia.org/wiki/Loopback).
It works ,in general, shorting TX and RX lines of bus( uart spi, can) so everything transmit is imidietly received,
it is used when no second device is availble.

Is it possible to use loopback method on can bus on Aurix microcontrolers?
0 Likes
2 Replies
User16350
Level 1
Level 1
in ILLDL library structure :

Ifx_Multican_can_NodeConfig

has boolean field to define loop back mode.
0 Likes
teoBits
Employee
Employee
5 sign-ins 100 replies posted 50 replies posted
Hello gLukas,

Yes, it is possible. You can find a code example project that uses the internal loop-back mode for MultiCAN communication here: MultiCAN training code example.
this example also comes with a tutorial, which can be found here: MultiCAN tutorial.


If you are interested in other modules and you want to start programming for AURIX™, you can get the new Integrated Development Environment (IDE) here: AURIX™ Development Studio and get inspired by numerous trainings from here: AURIX™ Trainings.

If you are not familiar with Eclipse based IDE’s checkout the Getting Started guide!

Hope it helps,
teoBits
0 Likes