Hello,
I am using FRDM KW36 module for CAN communication for my project. But I am facing issue to transmit and receive data multiple times using CAN bus. Below is more explanation:
I have imported the Example code from my SDK for flex_can. I have connected FRDM KW36 module with PCAN-USB adapter to receive CAN data from PC. If I set the different CAN ID for TxIdentifier(e.g. 0x321) and RxIdentifier (e.g. 0x123), I am able to transmit or receive the CAN data for multiple times from both side KW36 to PCAN-USB adapter.
But if I set the same ID for both TxIdentifier(e.g 0x123) and RxIdentifier(e.g 0x123), then only for One time I am able to transmit and receive data. For second time, I am only able to transmit the CAN data from KW36 to PCAN-USB adapter. Not able to receive the data from PCAN-USB adapter to KW36. Interrupt does not generate for second time even I send the data from PCAN-USB adapter software.
Please help how can I resolve this issue.
Below are the details of software/code:
FRDM-KW36 SDK version: 2.2.1
Example Project: frdmkw36_driver_examples_flexcan_interrupt_transfer
Baudrate for CAN: 500k
PCAN-USB adpater: CAN USB - PCAN-USB Adapter – Grid Connect
PCAN-USB software: PCAN-View
Thank you.