Listen mode

4-Channel CAN Router with Data Logger
lukas
Posts: 10
Joined: Fri 5. Jan 2018, 08:40

Listen mode

Post by lukas » Wed 10. Jan 2018, 10:11

Hello
I'm looking for information if transceiver HSGE2 supports listen mode.

Chapter 'Using an Alternative CAN Transceiver Module' lists possible transceivers as: CAN-HS, HSGE2, CAN-HS-1041, CAN-LS, CAN-LS-SW

However
'Appendix D - CAN x Mode' lists transceivers as: AU5790, AU7590, PCA82C251, TJA1041, TJA1055.

What am I missing here?

User avatar
P.Steil
Hardware Development
Hardware Development
Posts: 32
Joined: Fri 14. Jan 2011, 10:27

Re: Listen mode

Post by P.Steil » Wed 10. Jan 2018, 13:12

Hello,

listen only mode is typically a property of the CAN controller. It is set by a default
value for the CAN-mode by
Special-OUT -> CAN x Mode

A list of resources can be found in the user manual.

Regards
--------------------------------------------
PEAK-System HW development Team
support@peak-system.com
phone: +49-6151-8173-20
fax: +49-6151-8173-29
--------------------------------------------

lukas
Posts: 10
Joined: Fri 5. Jan 2018, 08:40

Re: Listen mode

Post by lukas » Fri 12. Jan 2018, 09:35

Yes, I set it to value 3. Configuration is in attachment.
I verified my test environtment (Vector CANcaseXL) how does it behave when CAN message is not acknowledged (attachment 'vector_vector.png')
Then I perfomed same test between CANcaseXL and PCAN-Router Pro and PCAN-Router Pro acknowledged CAN message. (attachment 'vector_pcan.png')
Attachments
pcan_logging_clear.ppproj
configuration
(17.53 KiB) Downloaded 794 times
acknowledged
acknowledged
vector_pcan.png (13.42 KiB) Viewed 15597 times
not acknowledged
not acknowledged
vector_vector.png (54.69 KiB) Viewed 15597 times

User avatar
P.Steil
Hardware Development
Hardware Development
Posts: 32
Joined: Fri 14. Jan 2011, 10:27

Re: Listen mode

Post by P.Steil » Fri 12. Jan 2018, 16:04

Hello,

when Router Pro is in listen-only and you send on the bus from station #1,
a third station must be present to send an ACK on the bus.

Regards
--------------------------------------------
PEAK-System HW development Team
support@peak-system.com
phone: +49-6151-8173-20
fax: +49-6151-8173-29
--------------------------------------------

lukas
Posts: 10
Joined: Fri 5. Jan 2018, 08:40

Re: Listen mode

Post by lukas » Wed 17. Jan 2018, 07:30

Did you read my post? That is what I am complaining about. PCAN-Router Pro is configured to be in listen mode but no third device to acknowledge CAN messages is needed.

User avatar
P.Steil
Hardware Development
Hardware Development
Posts: 32
Joined: Fri 14. Jan 2011, 10:27

Re: Listen mode

Post by P.Steil » Wed 17. Jan 2018, 16:42

Hello,

the CAN controllers of the CPU need an ACK to receive a frame correctly.
The Router Pro does not send an ACK but needs an ACK from a third
station to receive the frame e.g. for logging.

Regards
--------------------------------------------
PEAK-System HW development Team
support@peak-system.com
phone: +49-6151-8173-20
fax: +49-6151-8173-29
--------------------------------------------

lukas
Posts: 10
Joined: Fri 5. Jan 2018, 08:40

Re: Listen mode

Post by lukas » Thu 18. Jan 2018, 08:23

Hello,
Well, it does not. ('vector_pcan.png').

It looks like we do not understand each other. Therefore I created short video with capture session and saved it into attachment with extracted trace file.
Attachments
listen.zip
(2.65 MiB) Downloaded 593 times

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: Listen mode

Post by PEAK-Support » Thu 18. Jan 2018, 15:13

What exact is your "Problem" . Please explain in a way that we all understand it.

If a CAN Controller is set into listen only mode, it could not ACK sendet CAN Frames - you need a other node on the net which ACK. If the sender on a network, where no other active CAN node ist available, is NOT in single shot mode, the sender will send the message again and again....endless. If the sender is in single Shot mode it will send only once.

If you think the Router is doing anythink wrong, then:

- send us the used configuration - how should we see what exact you have configured
- send us a readable shematic of your setup
- send us a step by step info what you do to create the "Problem"
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

lukas
Posts: 10
Joined: Fri 5. Jan 2018, 08:40

Re: Listen mode

Post by lukas » Fri 19. Jan 2018, 07:53

Problem: CAN 1 Mode = CAN 2 Mode = CAN 3 Mode = CAN 4 Mode = 3 in configuration file but PCAN-Router Pro acknowledges CAN messages.

- send us the used configuration - in attachment (already sent in third post)
- send us a readable shematic of your setup - in attachment
- send us a step by step info what you do to create the "Problem" - Transmit CAN mesasges with CANcaseXL and they are acknowledged.
Attachments
pcan-router.zip
(12.26 KiB) Downloaded 481 times

G.Lang
Support
Support
Posts: 174
Joined: Wed 22. Sep 2010, 14:58

Re: Listen mode

Post by G.Lang » Fri 19. Jan 2018, 15:20

Hello Lukas,

you have set CAN 1 (and all the other CAN channels) in to the listen-only mode. This can be checked very easy.

Please try to send the ID 0x7E7 with DLC=3 and 80 00 06 to CAN 1. If the module is working in the normal operating mode you get a response from the module with ID 0x7E7
detect_command.JPG
detect_command.JPG (66.65 KiB) Viewed 15550 times
If CAN 1 is in the listen-only mode it can´t be send anything and you receive nothing and you get a "Busheavy"
detect_command_no_response.JPG
detect_command_no_response.JPG (68 KiB) Viewed 15550 times
Furthermore if you log the CAN stream you see the following error
no_acknowledge_slot.JPG
no_acknowledge_slot.JPG (83.9 KiB) Viewed 15550 times
BTW: You have set all 4 channels into the listen-only mode and therefore you have no access to the module furthermore :o

Please open the housing, set the rotary switch to pos "1" or "2" and power up the module. If there is no config at position "1" or "2" then the module load it´s default values and you can get in contact with the module with 500k at CAN 1. No you can set an new configuration "0" into the module. After you have transferred the new config "0" to the device you can power off the device and set the rotary switch back to position "0".
module_config_number.JPG
module_config_number.JPG (116.31 KiB) Viewed 15550 times

best regards
Gunther

Post Reply