Hi
I am developing a new product with the Renesas R7AF6M4 100pin micro and I am having problems using the Ethernet peripheral.I have developed and tested the FW on the related EVB with the following configuration:IAR Development Tool 9.30.1FreeRTOS+TCPTrust Zone ON, Non secure
The code runs correctly, the link, ping of the peripheral and TCP/IP Server work as expected.
I brought the FW to our board, which unlike the evb mounts the micro version with 100 pins instead of 144, remapping the eth peripheral on port 4 instead of 7.
The HW was copied exactly from the evb.
In this configuration the eth connection no longer works (it does not perform the ping).
The code is completely identical, apart from the new pin configuration.
The debugger is the Segger J-Link, SWD mode
Do you have any suggestion?
Thank
Chiara
Hello Chiara,
Thanks for your request.
Here is the ethernet PHY used on EK-RA6M4 and the connections:
So as far I can understand you have used the same PHY chip as EK-RA6M4 but the only thing you changed is some pins? Is that correct?
In that case in the project you tested on the EK have you made the necessary changes on the pin configuration for your custom board design?
Can you please share your configuration.xml with us and also share your schematics?
I assume that the operation mode you selected is RMII, have you checked the frequency on the REF50CK pin? Is it 50 MHz as it should for RMII operation mode?
Also have you checked if the drive capacity in all of the pins that you have configured to the ethernet controller is High?
All the pins used from the ethernet controller should have drive capacity high.
Also I will share with you a sample project with a loopback test to make some basic test operations on your PHY in your custom board.
It might be for RA6M3, but you can easily make this for RA6M4 also.
fsp_ethernet_loopback_test_ra6m3 (2).zip
Best Regards,
IK_Renesas
Thank you for the answer.Yes, my projest was correct. I simply forget to set the properly IDAU registers.Now all is correctly running
Regards
hiChiara68
I have the same problem as yours. I checked with IDAU tool and got the result as below.Code Flash Secure 768 KBCode Flash NSC 0 KBData Flash Secure 8 KBSRAM Secure 240 KBSRAM NSC 0 KB
I want to ask why my SRAM NSC is 0. Is this true?
HiI set SRAM Secure as 2 and SRAM NSC as 6 and all is running ok
The Ethernet Direct Memory Access Controller (EDMAC), is designed to be a non- secure bus master, so the associated Ethernet RAM buffers must be placed in a non-secure RAM area. And they can be accessed from EDMAC.
www.renesas.com/.../configuration-issues-ra6-ethernet-controller
Thank IK_Renesas . I know that and am following this guide. EDMAC operation issue possible on custom RA6E1/M4/M5 board | Renesas Customer Hubbut when i check with IDAU tool, I see SRAM NSC 0 KB. Is this wrong? What do I need to edit in the project?