This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM263P4-Q1: CAN Bus Off and CCCR.INIT SDK Advice

Part Number: AM263P4-Q1

Tool/software:

Hi Team,

It says the following in the CAN SDK documentation:

  • The Busoff state is reported by setting PSR.BO.

Can you advise on how SDK APIs should be used configure PSR.BO such that it will detect Busoff?

  • What SDK API should be used to detect Busoff state?
  • What SDK API should be used to recover from detected Busoff state?

They want to use polling method instead of interrupt.

It also says to do below:

  • To restart CAN operation, the application software needs to clear CCCR.INIT.

Can you advise on how to do this and what else needs to be done?

  • After CCCR.INIT is configured through HW, is the only step necessary to restart CAN operation to clear CCCR.INIT?
  • What SDK API should be used to clear CCCR.INIT? How should they use this?
  • After clearing CCCR.INIT, do the CAN settings remain as configured previously? (ie. ID filter and FIFO settings)

Best regards,

Mari Tsunoda