Search found 31 matches
- Fri Jun 02, 2017 1:53 pm
- Forum: ESP-IDF
- Topic: RS-485 support
- Replies: 27
- Views: 57444
Re: RS-485 support
@aaquilina: Code location is correct for turning it off. Maybe your GPIO pin is not initialised?
- Thu Jun 01, 2017 1:24 am
- Forum: ESP-IDF
- Topic: RS-485 support
- Replies: 27
- Views: 57444
Re: RS-485 support
@ EndlessDelirium: uart_wait_tx_done() is actually not using the TXFIFO_EMPTY interrupt but a dedicated TX_DONE interrupt which is raised once transmission has completed if I understand the documentation correctly, eg the last bit shifted out. I verified this using a logic analyzer and also patched ...
- Thu Jun 01, 2017 12:06 am
- Forum: General Discussion
- Topic: Impressive Ethernet bandwith using ESP32
- Replies: 5
- Views: 53148
Impressive Ethernet bandwith using ESP32
I just like to share that I have the ESP-WROOM32 running with Ethernet at impressive speeds. Running benchmarks using jperf can achieve a throughput of almost 10MBytes/s using 4 concurrent threads: image.png I think getting 10MBytes/s which is 80Mbit/s on a 100 MBit/s Ethernet link is as good as it ...
- Wed May 31, 2017 11:36 pm
- Forum: General Discussion
- Topic: Cannot obtain IP Address using Ethernet Example
- Replies: 7
- Views: 13346
Re: Cannot obtain IP Address using Ethernet Example
This is my working static Ethernet initialisation (using a LAN8720 PHY and the before mentioned tcpip_adapter_dhcpc_stop() fix): #define IP_DEFAULT_ADDRESS "192.168.0.10" #define IP_DEFAULT_NETMASK "255.255.255.0" #define IP_DEFAULT_GATEWAY "192.168.0.1" tcpip_adapter_init(); tcpip_adapter_dhcpc_sto...
- Wed May 31, 2017 11:57 am
- Forum: Showcase
- Topic: [info] ESP32-EVB board for IoT with Ethernet 100Mb interface..
- Replies: 19
- Views: 46291
Re: [info] ESP32-EVB board for IoT with Ethernet 100Mb interface..
Indeed tcpip_adapter_dhcpc_stop() does not yet support the Ethernet interface preventing setting a static IP.
Refer to this pull request which fixes this: https://github.com/espressif/esp-idf/pull/657
Refer to this pull request which fixes this: https://github.com/espressif/esp-idf/pull/657
- Wed May 31, 2017 11:57 am
- Forum: General Discussion
- Topic: Cannot obtain IP Address using Ethernet Example
- Replies: 7
- Views: 13346
Re: Cannot obtain IP Address using Ethernet Example
In addition I found that a bug in tcpip_adapter_dhcpc_stop() which prevents setting a static IP.
Refer to this pull request which you have to apply to your esp-idf: https://github.com/espressif/esp-idf/pull/657
Refer to this pull request which you have to apply to your esp-idf: https://github.com/espressif/esp-idf/pull/657
- Wed May 31, 2017 10:39 am
- Forum: General Discussion
- Topic: Cannot obtain IP Address using Ethernet Example
- Replies: 7
- Views: 13346
Re: Cannot obtain IP Address using Ethernet Example
@aaquilina: In your code you use TCPIP_ADAPTER_IF_STA which is the Wifi Station adapter. To use the Ethernet adapter use TCPIP_ADAPTER_IF_ETH.
- Wed May 31, 2017 3:19 am
- Forum: ESP-IDF
- Topic: RS-485 support
- Replies: 27
- Views: 57444
Re: RS-485 support
I am also interested whether a line driver can be automatically controlled If the UART cannot do this automatically, there is always the option to use a GPIO output to turn on the driver before filling the FIFO and turning it off once transmission is finished. Something like should work: gpio_set_l...
- Wed May 31, 2017 3:08 am
- Forum: ESP-IDF
- Topic: Constant data in flash memory / program space?
- Replies: 2
- Views: 15383
Re: Constant data in flash memory / program space?
Thank you for the clarification. So I understand this architecture does not have to copy init data from flash to RAM but uses the MMU to map the memory segments into either IRAM or normal RAM. Very nice. I ran some tests too and can confirm that const char constString[] = "0123456789"; places the st...
- Tue May 30, 2017 2:54 am
- Forum: ESP-IDF
- Topic: Constant data in flash memory / program space?
- Replies: 2
- Views: 15383
Constant data in flash memory / program space?
Does this CPU architecture allow to keep constant data in flash memory, similar to other Harvard CPU architectures (AVR for example) or is constant data always copied from flash to RAM on start-up? If flash based constant data access is possible, what is the proper declaration to do this? Is there a...