New SPI-Ethernet-Adapter without modifying esp-idf

nxt518
Posts: 5
Joined: Wed May 29, 2019 1:22 pm

New SPI-Ethernet-Adapter without modifying esp-idf

Postby nxt518 » Mon Sep 23, 2019 12:51 pm

Developing a QCA7000-Driver (Powerline-Adapter, similar to a SPI-Ethernet-Adapter) for the ESP32.

I modified ethernet_low_level_output and ethernetif_input in ethernetif.c so that they are writing the buffers directly to/from the QCA7000.

Is there a more elegant way to access the tcpip_adapter without modifying ESP-IDF?
I found tcpip_adapter_eth_input in tcpip_adapter.h for writing input directly.
Is there also some equivalent "highlevel" output function?

borai7588
Posts: 4
Joined: Sun Jul 15, 2018 7:07 pm

Re: New SPI-Ethernet-Adapter without modifying esp-idf

Postby borai7588 » Fri Oct 11, 2019 11:00 am

Hello @nxt518 Have you found a better way?

nxt518
Posts: 5
Joined: Wed May 29, 2019 1:22 pm

Re: New SPI-Ethernet-Adapter without modifying esp-idf

Postby nxt518 » Tue Oct 15, 2019 8:38 am

I did not find another way than using ethernetif_input and modified ethernet_low_level_output, except using modified nettestif.c.

So my ESP-IDF is modified, but the QCA7000 works reliably with tcpip_adapter.

giorgio80
Posts: 2
Joined: Thu Apr 18, 2019 9:29 am

Re: New SPI-Ethernet-Adapter without modifying esp-idf

Postby giorgio80 » Mon Feb 17, 2020 10:53 pm

Hello !

I’m trini doing exactly same things for same chip . We can exchange contacts and put 2 brains on ?

Who is online

Users browsing this forum: No registered users and 66 guests