Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
CTU CAN FD IP Core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 14
    • Issues 14
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • canbus
  • CTU CAN FD IP Core
  • Issues
  • #128

Closed
Open
Opened May 03, 2018 by Ille, Ondrej, Ing.@illeondrMaintainer

Bus off time

According to CAN FD specification, each controller should wait at least 128 occurrences of 11 consecutive bits before transfer from BUS OFF to ERROR ACTIVE.

Actual implementation can force transition from BUS OFF to ERROR ACTIVE by erasing error counters via CTR_PRES register. This however does corrupt this rule and allows the controller to come back to life sooner than the spec allows it. This might be desirable for testing purposes, thus this approach won't be removed.

However, to be compliant with the standard, there must exist a way how to restart the controller (from BUS OFF to ERROR ACTIVE) while adhering to CAN Standard. Additional counter must be added to count occurences of 11 consecutive bits (could be separate counter or the one in "operationControl". From SW point of view two bits must be added. REQUEST bit to perform the BUS-OFF to ERROR ACTIVE, and STATUS bit to inform about the final transition upon completion of 128 * 11 condition.

Such a commands could be implemented in COMMAND register and status in FAULT_STATE register, since there are reserved bits available.

Edited May 20, 2018 by Ille, Ondrej, Ing.
Assignee
Assign to
Bug fixing
Milestone
Bug fixing
Assign milestone
Time tracking
None
Due date
None
Reference: canbus/ctucanfd_ip_core#128