This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RA6M4 Ethernet problem

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.1
FreeRTOS+TCP
Trust 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




[locked by: IK_Renesas at 12:56 (GMT 0) on 17 Sep 2024]
Parents
  • 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

  • Hi

    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

    Chiara

Reply Children