Aug 06, 2020
03:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 06, 2020
03:36 AM
Hi,
I configured my can for 500kbit/s baud rate, and triggered it to send a frame once per 0.5s.
I'm receiving the frame via Pcan dongle.
The problem is that, periodically transmission is halted for 3 s.
It looks like following:
15 first frames are sent correctly --> 3s pause --> 10 frames are sent correctly -> 3s pause --> 10 frames are sent correctly --> 3s pause-> and so on.
Why such situation occurs ?
Pcan also throws BUSHEAVY warning.
Why this warning occurs while there are nearly no frames on bus?
My configuration is:
Two node in Can (Pcan and target)
no terminating resistors
f_source = f_PLL = 100 MHz
SCUCCUCON1.CANDIV : f_can = f_source
can bit timing registers:
I work on Tc222L and TASKING IDE,
I configured my can for 500kbit/s baud rate, and triggered it to send a frame once per 0.5s.
I'm receiving the frame via Pcan dongle.
The problem is that, periodically transmission is halted for 3 s.
It looks like following:
15 first frames are sent correctly --> 3s pause --> 10 frames are sent correctly -> 3s pause --> 10 frames are sent correctly --> 3s pause-> and so on.
Why such situation occurs ?
Pcan also throws BUSHEAVY warning.
Why this warning occurs while there are nearly no frames on bus?
My configuration is:
Two node in Can (Pcan and target)
no terminating resistors
f_source = f_PLL = 100 MHz
SCUCCUCON1.CANDIV : f_can = f_source
can bit timing registers:
hwNode->BTR.U = 0;
hwNode->BTR.B.BRP = 9;
hwNode->BTR.B.SJW = 3;
hwNode->BTR.B.TSEG1 = 14;
hwNode->BTR.B.TSEG2 = 3;
hwNode->BTR.B.DIV8 = 0;
I work on Tc222L and TASKING IDE,
- Tags:
- IFX
3 Replies
Aug 06, 2020
07:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 06, 2020
07:27 AM
Hi Lukas. Does this precisely match the settings on the PCAN side? The most common cause is a mismatch in TSEG1/TSEG2.
How long is the connection between PCAN and your target? You can probably get by without termination resistors for a meter or so, but it becomes more critical with a longer bus length.
How long is the connection between PCAN and your target? You can probably get by without termination resistors for a meter or so, but it becomes more critical with a longer bus length.
Aug 07, 2020
02:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 07, 2020
02:49 AM
Hi,
I checked bitratests and they are different on Aurix and Pcan.
My cable is about 2m long and I have terminating resistors, so I don't think it pose a problem.
I checked bitratests and they are different on Aurix and Pcan.
My cable is about 2m long and I have terminating resistors, so I don't think it pose a problem.
May 12, 2022
08:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 12, 2022
08:34 AM
Hi can you share the source code of ypur program. I am working on same controller Tc222 with PCAN .
Thanks.