Dear community members:
I used ENET1 on MPC5748G, and used FreeRTOS, and called the socket API to send and receive data. At this time, I also wanted to use USB interface as another way of communication besides the network cable, but after I added the USB module, The Network Interfaces of the tcpip module used by ENET1 have changed from the original tcpip module to usb. Does this mean that the tcpip module of ENET1 cannot be used with the Host CDC (TCPIP) mode of USB? If not, please kindly give me a solution. How do you use USB Device CDC (UART) on MPC5748G if you really can't use both? This approach doesn't seem to see the sample program.
Solved! Go to Solution.
If you will program the USB by yourself, there should be no problem with this.
Regards,
Lukas
Hi @H-chips
I can see that USB requires either fatfs or tcpip component to work. It correspond to this picture:
If tcpip with ENET is already used, it can't be obviously used for the USB at the same time (or vice versa, it doesn't matter).
One solution I can see - use second core and second instance of SDK to have two independent tcpip components - one for USB, one for ENET.
Regards,
Lukas
Hi @H-chips
The stack supports this:
And the configurator strongly requires fatfs or tcpip:
Regards,
Lukas
If you will program the USB by yourself, there should be no problem with this.
Regards,
Lukas