Search found 6 matches

by Just4242
Sun 15. Nov 2020, 18:29
Forum: PCAN-ISO TP
Topic: Follow Up to "Sending Basic Packet with Flow Control"
Replies: 6
Views: 344

Re: Follow Up to "Sending Basic Packet with Flow Control"

The question I have is when will I get the LOOPBACK type of RX Events? After each Frame? Or just on the completion of the entire transfer? Now that I have the basics working I am trying to clean up my higher level SW architecture which is pretty basic right now.
by Just4242
Fri 13. Nov 2020, 21:50
Forum: PCAN-ISO TP
Topic: Follow Up to "Sending Basic Packet with Flow Control"
Replies: 6
Views: 344

Re: Follow Up to "Sending Basic Packet with Flow Control"

I think I may have this working now. Since I am new to this I did not understand the details of the spec or SW, did not understand I will always get this confirmation request after sending a command that needs to be cleared before I can read the response from the device I just queried with the comma...
by Just4242
Thu 12. Nov 2020, 02:17
Forum: PCAN-ISO TP
Topic: Follow Up to "Sending Basic Packet with Flow Control"
Replies: 6
Views: 344

Re: Follow Up to "Sending Basic Packet with Flow Control"

After debugging, this also seems to have something to do with the event's always returning true after the first transmission. After that the call "WaitForSingleObject(receive_event, 1000);" always returns true.
by Just4242
Wed 11. Nov 2020, 23:18
Forum: PCAN-ISO TP
Topic: Follow Up to "Sending Basic Packet with Flow Control"
Replies: 6
Views: 344

Follow Up to "Sending Basic Packet with Flow Control"

I have a follow-up to Sending Basic Packet with Flow Control (https://forum.peak-system.com/viewtopic.php?f=181&t=6230). I have been trying to actually test out my HW with this and I am running in to an issue that I did not notice before since I was not testing for it. In my system I have an CAN dev...
by Just4242
Tue 10. Nov 2020, 00:39
Forum: PCAN-ISO TP
Topic: Sending Basic Packet with Flow Control
Replies: 4
Views: 283

Re: Sending Basic Packet with Flow Control

Thank you very much. I was able to get my first messages to go through with these changes.
by Just4242
Wed 4. Nov 2020, 23:01
Forum: PCAN-ISO TP
Topic: Sending Basic Packet with Flow Control
Replies: 4
Views: 283

Sending Basic Packet with Flow Control

I am trying to modify the example 02_client_ISO15765-2_normal_addressing to send a string of 8 bytes or longer. So I have the MSG to "PEAK1234" and the MSG_SIZE to 8. I also added a call to CANTP_SetValue_2016 to set the timing. On the bus I can see the data below and the first packet looks ok, I "t...