Need code for CAN Tx Interrupts

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi All,

1.If data bytes are  more than 8 bytes , how we can transmit using Tx interrupt .
2. How Tx and Rx interrupts will trigger and how to clear interrupts .(Interrupt will trigger automatically or we have to trigger )

3.  is it one isr for both Tx and Rx ?.

please share if u have any example code which is having both transmit and receive Interrupts code.

Regards,

Harish Gj

0 Likes
1 Solution
ShanmathiN_06
Employee
Employee
100 replies posted 50 replies posted 25 replies posted

Hi Harish,

Please check the following documents:

1) Section 2.3 of Control Area Network (CAN) Protocol Troubleshooting Guide for PSoC® - KBA224456

2) Interrupt section of CAN component datasheet: http://www.cypress.com/file/179861/download

3) In case you are using PSoC 4L device, refer to Message Transmit Process section 17.4.2 of Architecture TRM: http://www.cypress.com/file/218741/download.

Else, please refer to the respective device TRM's CAN section.

I hope this helps.

Thanks,
Shanmathi

View solution in original post

0 Likes
1 Reply
ShanmathiN_06
Employee
Employee
100 replies posted 50 replies posted 25 replies posted

Hi Harish,

Please check the following documents:

1) Section 2.3 of Control Area Network (CAN) Protocol Troubleshooting Guide for PSoC® - KBA224456

2) Interrupt section of CAN component datasheet: http://www.cypress.com/file/179861/download

3) In case you are using PSoC 4L device, refer to Message Transmit Process section 17.4.2 of Architecture TRM: http://www.cypress.com/file/218741/download.

Else, please refer to the respective device TRM's CAN section.

I hope this helps.

Thanks,
Shanmathi

0 Likes