6 years, 8 months ago.

is FRDM-K64F supported?

I got the following error "Error: Identifier "CAN" is undefined" while trying to compile the example.

The platform page lists CAN in its features but i can't find the correct pins for it either..

Question relating to:

Is there any update on CAN API for frdm k64f?

posted by Hnin Khin 21 Sep 2015

3 Answers

6 years, 8 months ago.

The CAN API along with pin definitions has not been completed on the K64 at the moment.

5 years ago.

Any updates on this? Trying to compile the CAN example, edited for k64f use and getting "Error: Identifier "CAN" is undefined in "main.cpp" despite including the mbed.h header and updating the mbed library. Please tell me that after two years this has been addressed...

5 years, 10 months ago.

FWIW ... I can see from the schematic and user manual that if CAN was to be implemented, it would be possible via pins PTB18 (CAN0_TX) and PTB19 (CAN0_RX) on the J1 header.

I'm considering getting one of these boards, but would have been more enthusiastic if it supported CAN already...