Hi, Renesas!
I am working with CK-RA6M5, FSP 4.4.0 and ECLIPSE IDE.
I would like your device to sample app (FSP 4.4.0 EK-RA6M5) about simple comunication USB.
This is sameTX and RX UART into devices.
Thanks for your attention!!!
Best regards,
Rogerio
Hello,
Thanks for reaching out Renesas Engineering Community!
CK-RA6M5 and EK-RA6M5 are using the same MCU with the same part number. So you could refer to the repo of Renesas in github where there are plenty examples for EK-RA6M5 and many examples for USB communication.
Please check the link bellow:
https://github.com/renesas/ra-fsp-examples/tree/master/example_projects/ek_ra6m5
There is also a bare metal example with USB:
https://github.com/renesas/ra-fsp-examples/tree/master/example_projects/ek_ra6m5/usb_pcdc/usb_pcdc_ek_ra6m5_ep
Hope it helps!
Best Regards,
IK
Hi,
I have tried this https://github.com/renesas/ra-fsp-examples/tree/master/example_projects/ek_ra6m5/usb_pcdc/usb_pcdc_ek_ra6m5_ep
There isn´t "hal_data.h".
I have tried to search other example. I don´t search this file.
Could you help me about it?
../src/common_init.h:24:10: fatal error: hal_data.h: No such file or directory
24 | #include "hal_data.h"
| ^~~~~~~~~~~~
compilation terminated.
../src/r_usb_pcdc_descriptor.c:27:10: fatal error: r_usb_basic.h: No such file or directory
27 | #include <r_usb_basic.h>
| ^~~~~~~~~~~~~~~
Yes I assume that this is happening because you have just imported the project and you did not press on Generate Project Content to generate code and all the necessary files. You should press this:
And then you will see that some folders with generated code will be created.
If you will search through these folders you will see that hal_data.h file is created in ra_gen folder of the project.
After generating code then you should proceed building your project.
I am needing to use to CK-RA6M5 kit.
I have changed to ".../usb_pcdc_ek_ra6m5_ep" configuration to CK-RA6M5 kit.
But during compile ...
This file "coomon_init.h" and "coomon_init.c" is the error .
Could you help me about it? What is it changing to use sample?
Excuse-me, my question!
I searched this problem.
I needed to change in the "#ifdef BOARD_RA6M5_EK" to "BOARD_RA6M5_CK" .
It is compiling now.
But It running this project. It stoped in this line.