A PCAN-LIN module not be confirmed

RS-232 to CAN/LIN Interface
zwarden
Posts: 7
Joined: Thu 2. Feb 2023, 21:07

Re: A PCAN-LIN module not be confirmed

Post by zwarden » Fri 3. Feb 2023, 16:08

I have tried 38400, 19200, and 57600. The LIN device I am connection will need 500000 once connection is established. But still can't get the module to be confirmed. I changed the usb port baud rate to match as well.

M.Maidhof
Support
Support
Posts: 1751
Joined: Wed 22. Sep 2010, 14:00

Re: A PCAN-LIN module not be confirmed

Post by M.Maidhof » Fri 3. Feb 2023, 16:18

Don't mix up LIN bitrate with serial bitrate of the PCAN-LIN module. These are different.

Please post a picture of your wiring.

zwarden
Posts: 7
Joined: Thu 2. Feb 2023, 21:07

Re: A PCAN-LIN module not be confirmed

Post by zwarden » Fri 3. Feb 2023, 16:32

Here is the setup.
Attachments
20230203_102929.jpg
20230203_102929.jpg (2.82 MiB) Viewed 22734 times
20230203_103002.jpg
20230203_103002.jpg (5.45 MiB) Viewed 22735 times
20230203_102947.jpg
20230203_102947.jpg (4.52 MiB) Viewed 22735 times
20230203_102921.jpg
20230203_102921.jpg (4 MiB) Viewed 22735 times
20230203_102843.jpg
20230203_102843.jpg (3.04 MiB) Viewed 22735 times
20230203_102818.jpg
20230203_102818.jpg (3.29 MiB) Viewed 22735 times

M.Maidhof
Support
Support
Posts: 1751
Joined: Wed 22. Sep 2010, 14:00

Re: A PCAN-LIN module not be confirmed

Post by M.Maidhof » Mon 6. Feb 2023, 09:48

Please connect the Serial2USB Adapter directly to the PCAN-LIN without using your flat cable adapter. Next, please check which chipset is used in that adapter (device manager). Only FTDI based adapters will work with PCAN-LIN. Please also check that your USB2Serial device has RS232 output and not TTl.

zwarden
Posts: 7
Joined: Thu 2. Feb 2023, 21:07

Re: A PCAN-LIN module not be confirmed

Post by zwarden » Mon 6. Feb 2023, 14:52

I made a direct gender converter to replace the flat adapter, and currently using a FTDI driver version 2.12.36.4. The only thing I am unsure about is how to check the device output to confirm RS232.

M.Maidhof
Support
Support
Posts: 1751
Joined: Wed 22. Sep 2010, 14:00

Re: A PCAN-LIN module not be confirmed

Post by M.Maidhof » Mon 6. Feb 2023, 16:12

As soon as you can connect PCAN-LIN CT with the PCAN-LIN, you should see the settings of the module. I am wondering why you need a gender changer, typically a USB2Serial module has a DSub male connector, which fits to the PCAN-LIN serial port.

TTL/RS232: Please measure the voltages between Pin2 and Pin5 (GND) and Pin3 and Pin5 (GND) of your serial adapter: with a RS232 device you should measure a voltage of +/- 9-12V.

zwarden
Posts: 7
Joined: Thu 2. Feb 2023, 21:07

Re: A PCAN-LIN module not be confirmed

Post by zwarden » Mon 6. Feb 2023, 16:39

I understand as I ordered what was believed to be a male FTDI cable but it showed up female. I will measure this now.

zwarden
Posts: 7
Joined: Thu 2. Feb 2023, 21:07

Re: A PCAN-LIN module not be confirmed

Post by zwarden » Mon 6. Feb 2023, 16:43

M.Maidhof wrote:
Mon 6. Feb 2023, 16:12
As soon as you can connect PCAN-LIN CT with the PCAN-LIN, you should see the settings of the module. I am wondering why you need a gender changer, typically a USB2Serial module has a DSub male connector, which fits to the PCAN-LIN serial port.

TTL/RS232: Please measure the voltages between Pin2 and Pin5 (GND) and Pin3 and Pin5 (GND) of your serial adapter: with a RS232 device you should measure a voltage of +/- 9-12V.
I get 10.22V across 2 and 5, but nothing across 3 and 5. Would I need a different cable in this case? If so, can you please recommend one.

M.Maidhof
Support
Support
Posts: 1751
Joined: Wed 22. Sep 2010, 14:00

Re: A PCAN-LIN module not be confirmed

Post by M.Maidhof » Mon 6. Feb 2023, 17:34

a FDTI based USB2RS232 should work, we offer a IPFH-00101 USB-RS232 Adapter (FDTI Chip Version), price 18.-Euro net + shipping.

M.Maidhof
Support
Support
Posts: 1751
Joined: Wed 22. Sep 2010, 14:00

Re: A PCAN-LIN module not be confirmed

Post by M.Maidhof » Tue 7. Feb 2023, 10:18

Looks like your USB2RS232 uses a null-modem definition, so you need to swap Pin3 and Pin2 to have a 1:1 serial setup which is needed for PCAN-LIN. The level itself looks like RS232 and not TTL

Post Reply