USB tethering (USB Host RNDIS and LwIP) using LPC55

cancel
Showing results for 
Search instead for 
Did you mean: 

USB tethering (USB Host RNDIS and LwIP) using LPC55

476 Views
Michael_25
Contributor I

Dear,

I'm working on a product using a LPC55S69 running with FreeRTOS, AWS IoT and lwip IP stack. Now I would like to connect the board to internet using an Android phone with USB connection tethering. I think the USB Host CDC RNDIS example from the SDK middleware library is the good starting point.

Is there any example of how to connect LwIP to USB Host CDC RNDIS library for LPC55?

I've heard about an example called "usb_ethernetif_freertos.c" but not sure it will be compatible. (https://community.nxp.com/t5/Kinetis-Microcontrollers/LwIP-and-USB-device/td-p/1194463)

Thanks in advance and bests regards,

Michael

Labels (2)
Tags (3)
0 Kudos
2 Replies

451 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi,

It's possible but there is no demo for LPC55.

We have lwip_dhcp_usb demo under LPC54xxx SDK and imx RT SDK. This demo describes how to use the USB Host RNDIS & LWIP  to access the internet via a Android cellphone which turns on the USB tethering function.

You can refer it and porting it to LPC55.

 

Have a nice day,

Jun Zhang

0 Kudos

211 Views
andarm
Contributor II

Do you have the demo for USB RNDIS slave for PC ? 

Tags (1)
0 Kudos