Title: Unify bit timing parameters · Issue #614 · hardbyte/python-can · GitHub
Open Graph Title: Unify bit timing parameters · Issue #614 · hardbyte/python-can
X Title: Unify bit timing parameters · Issue #614 · hardbyte/python-can
Description: I've had a quick look at the various interfaces and how you can specify custom bit timing parameters. They vary in abstraction. Some supports setting BTR registers directly, usually using some external tool for help. Some lets you specif...
Open Graph Description: I've had a quick look at the various interfaces and how you can specify custom bit timing parameters. They vary in abstraction. Some supports setting BTR registers directly, usually using some exte...
X Description: I've had a quick look at the various interfaces and how you can specify custom bit timing parameters. They vary in abstraction. Some supports setting BTR registers directly, usually using some ...
Opengraph URL: https://github.com/hardbyte/python-can/issues/614
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unify bit timing parameters","articleBody":"I've had a quick look at the various interfaces and how you can specify custom bit timing parameters. They vary in abstraction. Some supports setting BTR registers directly, usually using some external tool for help. Some lets you specify SJW, TSEG1, TSEG2, SAM and then BRP is calculated from desired bitrate.\r\n\r\nFor CAN-FD you must specify different settings for arbitration phase and data phase.\r\n\r\nInterfaces supporting BTR register:\r\n* canalyst (named Timing0 and Timing1)\r\n* slcan (named btr as hexadecimal string)\r\n* pcan (possible, see #538)\r\n* ixxat (possible)\r\n* systec (possible)\r\n* ...?\r\n\r\nInterfaces supporting SJW, TSEG1, TSEG2, SAM:\r\n* kvaser (named sjw, tseg1, tseg2, no_samp)\r\n* vector\r\n\r\nInterfaces supporting CAN-FD:\r\n* kvaser (uses same sjw, tseg1, tseg2 for both arbitration and data)\r\n* vector (sjwAbr, tseg1Abr, tseg2Abr and sjwDbr, tseg1Dbr, tseg2Dbr)\r\n* pcan (f_clock, nom_brp, nom_tseg1, nom_tseg2, nom_sjw and data_brp, data_tseg1, data_tseg2, data_sjw)\r\n\r\nAs suggested by @bmeisels I propose to create a bit timing class which can bridge the different APIs and reduce clutter in the argument list. See #615 for implementation.","author":{"url":"https://github.com/christiansandberg","@type":"Person","name":"christiansandberg"},"datePublished":"2019-06-04T11:32:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/614/python-can/issues/614"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:12b08005-0c46-1f3a-cabb-a5373815202e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B758:1915C:60EC13:82E770:6A5EDC00 |
| html-safe-nonce | 070d922e0718fbd88b3bfe4697558dff3afbc89a8febcb0844099fb90b705358 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzU4OjE5MTVDOjYwRUMxMzo4MkU3NzA6NkE1RURDMDAiLCJ2aXNpdG9yX2lkIjoiMjgwNTA3MTI5MjAxNzg1OTU4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fd2fc0271645995adf037887ba99844e9cb0dc609d15668705efb7b62e46813f |
| hovercard-subject-tag | issue:451944190 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/hardbyte/python-can/614/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1dfa23cb2dc5a128619cb7fc1621f4c19dbf1f75c40d7303dd5a5cdce68ade5c/hardbyte/python-can/issues/614 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1dfa23cb2dc5a128619cb7fc1621f4c19dbf1f75c40d7303dd5a5cdce68ade5c/hardbyte/python-can/issues/614 |
| og:image:alt | I've had a quick look at the various interfaces and how you can specify custom bit timing parameters. They vary in abstraction. Some supports setting BTR registers directly, usually using some exte... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | christiansandberg |
| hostname | github.com |
| expected-hostname | github.com |
| None | 82d0004a35927bdb00c652a57f456c55aa0eda4ade1bc7956d7510fdea6e454b |
| turbo-cache-control | no-preview |
| go-import | github.com/hardbyte/python-can git https://github.com/hardbyte/python-can.git |
| octolytics-dimension-user_id | 855189 |
| octolytics-dimension-user_login | hardbyte |
| octolytics-dimension-repository_id | 69090889 |
| octolytics-dimension-repository_nwo | hardbyte/python-can |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 69090889 |
| octolytics-dimension-repository_network_root_nwo | hardbyte/python-can |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d2d913dd727d2d7ac189fb4d05b10bc34ecd03ee |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width