3 Replies Latest reply on Nov 2, 2017 4:33 AM by hjpn

    PSoC5LP: CAN Error Management

    abhishek.naik_2802246

      Hello Team,

                For one of our project, we are using Cy8ckit-001 EVK Board and CY8C5868-LP035 module. This is the first time I am working on CAN Protocol. So we went through all available documents(CAN IP datasheet, AN52701, ) and video. Now we have some doubts with respect to can module in PSoC device( I am sorry if they are silly questions).

                Whenever Rx node on CAN Bus receives a CAN frame and determines that there is an error(Form error, Stuff error, CRC error) in the received frame. He generates Error Frame so that Tx node will resend the frame. So will CAN controller in PSoC will send error frame or Firmware running on PSoC has to be written in such a way that when the received interrupt is generated Rx node will generate and write error frame on to the bus?

                 Similarly, Tx node will write a CAN frame to the CAN Bus. But he will not receive any ack or an error(Ack error, bit error) occurs. So he will resend CAN Frame. But CAN controller in PSoC will resend or Firmware running on PSoC has to be written in such a way that whenever the Txed interrupt is generated ISR will resend the frame on to the bus?

                 Can you suggest us any other documents that useful for programming CAN module.

       

      Thanks and Regards,

      Abhishek Naik.