I am currently working on EK-RA8D1 board, ethernet sample code working fine network up. if i configuration new FreeRTOS+TCP stacks, network is not up.I have attached the code. I would greatly appreciate your assistance in bringing up the Ethernet interface.Your guidance in resolving the Ethernet interface issue would be sincerely appreciated.Thank you.
File : drive.google.com/.../view
Hello kishore ,
Thanks for reaching out Renesas Engineering Community.
Well I checked a little bit your project and looks like you are using the pins for Ethernet B.
In order to use Ethernet B you need to have in the switches these configurations:
Is SW1-5 enabled and set to ON?
Also I see that you have DHCP disabled, which means that the DHCP server does not operate to get your network configurations and set a dynamic IP address to device.
Are the settings in the code correct and corresponding to your network configurations?
I mean these as set in the example should be adjusted according your network settings:
Also have you made sure that the specific IP is not occupied by any device in your network?
Please check these first.
And I will check your example project in more detail.
Thanks and Regards,
IK
Yes it is On.
I am checking with exampleproject (ethernet_ek_ra8d1_ep) code it working.
I checked Ip configuration also, in both the code same ip configuaration used (DHCP Disable).
Please find attached a project, I have created for you which simply configures the device to obtain a static IP fro the network as you wish to do:
And I can also see it in the web interface of my Wi-Fi router:
ek_ra8d1_static_ip.zip
Hope it helps.
Best Regards,
Hello IK_Renesas,
Thank you, code what you shared is working.
I found the problem in my code, PHYIC Reset input port pin configuration issue(P706), below change in pin_data.c worked,
{ .pin = BSP_IO_PORT_07_PIN_06, .pin_cfg = ((uint32_t) IOPORT_CFG_DRIVE_HIGH | (uint32_t) IOPORT_CFG_PORT_DIRECTION_OUTPUT | (uint32_t) IOPORT_CFG_PORT_OUTPUT_HIGH) },
FSP Version 5.8.0 this pin default configuration (Problem)
{ .pin = BSP_IO_PORT_07_PIN_06, .pin_cfg = ((uint32_t) IOPORT_CFG_PORT_DIRECTION_OUTPUT | (uint32_t) IOPORT_CFG_PORT_OUTPUT_LOW) },