BitTimingFd validate questions #1616
Yuvalsh178
started this conversation in
General
Replies: 1 comment 5 replies
-
I deleted my earlier comment, you're right, the values are incorrect. For CAN FD the nominal bit time range shall be at least 8 to 80, and the data bit time range shall be at least 5 to 25. Can you tell me which bit timings you are trying to set? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm using the python-can 4.2.2/4.2.1 versions to integrate with Vector Devices,
There are few BitTimingFd validations that are not clear for me.
can/bit_timing.py:536, if self.dbt < 8:
According to Vector it seems that the BTL cycle can be less then 8.
There is a reason that you limit this field to be <8 ?
When I removed your limitation (row 536,537) all CAN messages I sent were received
sucssefluuly.
can/bit_timing.py:554: if not 25_000 <= self.data_bitrate <= 8_000_000:
According to Vector the limitation should be 5K to 10M
There is a reason that you limit this field to be: >25K and < 8M ?
can/bit_timing.py:571: if not 1 <= self.data_tseg1 <= 32:
According to Vector this field can be greater than 32
There is a reason that you limit this field
Appreciate your answer.
Thanks,
Yuval
Beta Was this translation helpful? Give feedback.
All reactions