Skip to content
  1. Dec 17, 2016
  2. Dec 16, 2016
  3. Dec 15, 2016
  4. Dec 14, 2016
  5. Dec 13, 2016
    • Gregory Nutt's avatar
    • Frank Benkert's avatar
      SAMV7: MCAN: Prevent Interrupt-Flooding of ACKE when not connected to CAN-BUS.... · a36ed287
      Frank Benkert authored
      SAMV7: MCAN: Prevent Interrupt-Flooding of ACKE when not connected to CAN-BUS. An Acknowledge-Error will occur every time no other CAN Node acknowledges the message sent. This will also occur if the device is not connected to the can-bus. The CAN-Standard declares, that the Chip has to retry a given message as long as it is not sent successfully (or it is not cancelled by the application). Every time the chip tries to resend the message an Acknowledge-Error-Interrupt is generated. At high baud rates this can lead in extremely high CPU load just for handling the interrupts (and possibly the error handling in the application). To prevent this Interrupt-Flooding we disable the ACKE once it is seen as long we didn't transfer at least one message successfully.
      a36ed287