Search found 582 matches

by PeterR
Wed Jul 11, 2018 1:47 pm
Forum: ESP-IDF
Topic: ESP32 wifi scan not finding SSID [solved]
Replies: 7
Views: 5674

ESP32 wifi scan not finding SSID [solved]

I have tried 'simple_wifi', 'scan' and 'wpa2_enterprise' on ESP-WROVER-KIT and ESP-EVB. I cannot see the devices SSID. Scan does not find any SSIDs and so not unsurprisingly 'wpa2_enterprise' does not connect, instead periodically reporting DISCONNECTED. My phone can see at least 4 networks. The net...
by PeterR
Wed Jul 04, 2018 1:45 pm
Forum: General Discussion
Topic: Ethernet example fails to discover DHCP assigned address
Replies: 10
Views: 5043

Re: Ethernet example fails to discover DHCP assigned address

Had misread https://github.com/OLIMEX/ESP32-EVB/tree/master/SOFTWARE/ETH_PHY_demo OLIMEX were saying that other boards used GPIO 17 to power control the PHY and so CLOCK and so GPIO strapping. Examining schematics and OLIMEX use RTS/DTR to control strapping. I disabling GPIO power control configurat...
by PeterR
Wed Jul 04, 2018 8:49 am
Forum: General Discussion
Topic: Ethernet example fails to discover DHCP assigned address
Replies: 10
Views: 5043

Re: Ethernet example fails to discover DHCP assigned address

Thanks for the support. This is from an ESP-EVB. I have tried on other instances of that board. Enclosed are the outputs from one program compiled with different log options. 'info-working.txt' is with the program compiled with loglevel set to info. Next I changed loglevel to debug using menuconfig ...
by PeterR
Tue Jul 03, 2018 2:17 pm
Forum: General Discussion
Topic: Ethernet example fails to discover DHCP assigned address
Replies: 10
Views: 5043

Re: Ethernet example fails to discover DHCP assigned address

Debug output breaks it completely. Nothing obvious in the log.
But as said, just adding a line can break it. Also increasing stack size can break it.
by PeterR
Tue Jul 03, 2018 1:57 pm
Forum: Hardware
Topic: Multiple SPI slave: MISO tristate output?
Replies: 5
Views: 4032

Re: Multiple SPI slave: MISO tristate output?

Did you try gpio_set_pull_mode()?
Think I remember reading that GPIO defaults to high pull up & your reports suggests that the SPI module switches direction only when selected.
by PeterR
Tue Jul 03, 2018 1:13 pm
Forum: ESP-IDF
Topic: Build system ignores syntax errors
Replies: 7
Views: 3121

Re: Build system ignores syntax errors

Thanks. Its not an issue for me now that I know.
Now my Ethernet question, viewtopic.php?f=2&t=6261&p=27189#p27189 is hurting!
by PeterR
Tue Jul 03, 2018 1:10 pm
Forum: General Discussion
Topic: Ethernet example fails to discover DHCP assigned address
Replies: 10
Views: 5043

Re: Ethernet example fails to discover DHCP assigned address

I am running code on an ESP32-EVB. Code is built on Windows. I have tried with the board powered using USB and external PSU and with just USB. I have monitored TXD0, TXD1, RXD0, RXD1. RXD0, RXD1 always trigger when I PING from PC. TXD0, TXD1 only trigger in working versions of the code. I note that ...
by PeterR
Mon Jul 02, 2018 10:04 am
Forum: Hardware
Topic: Multiple SPI slave: MISO tristate output?
Replies: 5
Views: 4032

Re: Multiple SPI slave: MISO tristate output?

Most SPI slaves will tri-state when CS is high, but not all.
This article should help: https://www.dorkbotpdx.org/blog/paul/be ... in_3_steps
by PeterR
Mon Jul 02, 2018 9:20 am
Forum: General Discussion
Topic: Ethernet example fails to discover DHCP assigned address
Replies: 10
Views: 5043

Re: Ethernet example fails to discover DHCP assigned address

Changed log level to debug using menuconfig.
The example no longer obtains an IP address even with the 'working' settings.

This is an ESP supplied simple program with a few added printf(), really should not be this hard!
Anyone able to repeat and/or advise?
by PeterR
Sun Jul 01, 2018 9:10 pm
Forum: General Discussion
Topic: Ethernet example fails to discover DHCP assigned address
Replies: 10
Views: 5043

Re: Ethernet example fails to discover DHCP assigned address

Can do, new to ESP32 - which compile option?
If u have 5, are youable to repeat?

Go to advanced search