Search found 598 matches

by PeterR
Tue Jul 03, 2018 1:57 pm
Forum: Hardware
Topic: Multiple SPI slave: MISO tristate output?
Replies: 5
Views: 4295

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: 3329

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: 5406

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: 4295

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: 5406

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: 5406

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?
by PeterR
Sat Jun 30, 2018 6:44 pm
Forum: General Discussion
Topic: Ethernet example fails to discover DHCP assigned address
Replies: 10
Views: 5406

Re: Ethernet example fails to discover DHCP assigned address

Bump. Anyone able to repeat with supplied code?
by PeterR
Fri Jun 29, 2018 8:22 pm
Forum: General Discussion
Topic: ESP32 Web Server - Advanced Web Pages?
Replies: 4
Views: 5343

Re: ESP32 Web Server - Advanced Web Pages?

Absolutely within the ESP32 capabilities. As said 'the magic' works browser side, the ESP32 just copies files (HTML, CSS, Javascript) to the browser using HTTP encoding. So (1) find an ESP32 HTTP engine then (2) practice your HTML/Javascript skills on a PC knowing that all you want the ESP32 to do i...
by PeterR
Fri Jun 29, 2018 2:02 pm
Forum: General Discussion
Topic: Ethernet example fails to discover DHCP assigned address
Replies: 10
Views: 5406

Ethernet example fails to discover DHCP assigned address

See attached code which is based on the "examples/ethernet" project with a few small changes. The enclosed example will discover its IP address when connected to a DHCP server. There seem to be (at least) two ways to stop the DHCP discovery process. (1) Use a stack which is not sized 2^n words (poss...
by PeterR
Fri Jun 29, 2018 9:11 am
Forum: ESP-IDF
Topic: Build system ignores syntax errors
Replies: 7
Views: 3329

Re: Build system ignores syntax errors

My bad. Had a look in build directory and can see that it would be easy to prune my bits. The Arduino ESP project I am trying to convert has the files: MQTT.cpp and mqtt.c Renamed MQTT.cpp to CMQTT.cpp and the file is no longer skipped on second build. Seems that there is a case insensitive error so...

Go to advanced search