USB modem and ethernet

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB modem and ethernet

578 Views
biafra
Senior Contributor I

Hi everyone,

 

I'm updating a board and I'm facing a strange issue.

The board have a modem and an ethernet connection.

The first version of the board is based on MK66 using SDK 2.6.0: it uses a Simcom modem connected through UART1 at 115200 bps and the ENET peripeheral connected through LAN8720 phy. Everything is working good.

The new version is based on RT1064 using SDK 2.11.0: it uses the same Simcom modem but connected through USB2 and the ENET1 peripeheral connected through the same LAN8720 phy.

If I initialize only the ENET1 peripheral or only the modem it works as expected; if I initialize both the ENET1 and the modem, but the ENET1 before the modem, it works as expected; If I initialize the modem before the ENET1, the connection through the modem works fine, but the ethernet connection doesn't work: I get no answer to the ping command.

The application layer is the same on both the boards: only minor modification have been needed to adapt the new program to use the modified functions in the SDK 2.11.0.

 

What can I check to make it work?

 

Many thanks

Biafra

0 Replies