Hello.
I am currently learning the flexcan example inside the SDK with FRDM-KW36 boards.
The version of MCUX I am using is 'MCUXpresso IDE v11.8.1_1197' and the SDK version is 'SDK_2.x_FRDM-KW36_2.2.12'.
I'm using the 'flexcan_interrupt_transfer' example included in that version of the SDK.
Let me explain what I'm curious about. First of all, it seems like the example is an example that utilizes CAN FD communication, but is there no example of basic CAN communication other than CAN FD?
Is it possible to modify the example code to use basic CAN instead of CAN FD?
I'm wondering how to change it if there is a way.
Second, I would like to transmit data input from outside through CAN communication.
For example, I know there is a 'Low Power Bluetooth Temperature Sensor/Collector' example in the KW36 SDK. Applying this, I want to communicate the temperature data collected from the Collector device with another FRDM-KW36 board via CAN communication.
To do that, I think I need to assign the collected temperature data to the CAN communication data packet, but I'm curious about how to do that.
To implement the communication I'm talking about, where/how do I change the data allocated to the CAN Tx Buffer (maybe txXfer?) in the 'flexcan_interrupt_transfer' example?
I am currently lacking in relevant knowledge and experience, so please understand that I have many questions and that they are complicated.
However, since this question is very important to me, I look forward to your kind and detailed answer.
Thank you.
Best regards
SeokJin