USB tethering (USB Host RNDIS and LwIP) using LPC55

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

USB tethering (USB Host RNDIS and LwIP) using LPC55

1,967 次查看
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

标签 (2)
标记 (3)
0 项奖励
2 回复数

1,942 次查看
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 项奖励

1,702 次查看
andarm
Contributor II

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

标记 (1)
0 项奖励