Has anyone used NetX and USBX in the same project together. I am working with the RA8 (EK-RA8D1). I am basically trying to combine two example projects USBX_hmsc_ek_ra8d1_ep & NetX_dhcpv4_client_ek_ra8d1_ep. Both projects working independently.
When I start with USBX_hmsc_ek_ra8d1_ep and try to add the modules from NetX_dhcpv4_client_ek_ra8d1_ep (manually & export/import) using FSP Configuration, the Ethernet Link never establishes. It looks like the interrupts from the PHY are never serviced.
When I start with NetX_dhcpv4_client_ek_ra8d1_ep and try to add the modules from USBX_hmsc_ek_ra8d1_ep (manually & export/import) using FSP Configuration, the code hangs in ux_return = ux_host_stack_initialize(apl_change_function); /* ux host stack initialization */
Any thoughts would be greatly appreciated!
Hello,
When importing the stack from the other project make sure that you have the correct configurations for them:
For USBX HMSC example: github.com/.../usbx_hmsc_notes.md
For Netx example: https://github.com/renesas/ra-fsp-examples/blob/master/example_projects/ek_ra8d1/NetX_dhcpv4_client/NetX_dhcpv4_client_ek_ra8d1_ep/NetX_dhcpv4_client_notes.md
You may need to increase the stack and heap size ?
What is the return value of ux_host_stack_initialize ?
Regards
Thanks. Yes, very important. I spent considerable time comparing the configuration.xml files of the two projects to note the differences. In this case, the GPIO (P706) controlling the Reset to the Ethernet Phy needed to be set initially high for the phy to initialize properly.
So is the issue now resolved after setting P706 ?