Search found 384 matches

by permal
Wed Sep 06, 2017 6:03 pm
Forum: General Discussion
Topic: Simple profiler for IDF Monitor
Replies: 3
Views: 6465

Re: Simple profiler for IDF Monitor

I like this idea, simple but useful.
by permal
Mon Sep 04, 2017 10:21 am
Forum: General Discussion
Topic: Advamtage of C++ over C wrt ESP32 FreeRtos applications
Replies: 2
Views: 5581

Re: Advamtage of C++ over C wrt ESP32 FreeRtos applications

As long as the tools for the platform supports C++, that is my choice. Like the article @loboris linked, C++ can do anything C can (with a few syntactical differences) so imho, there is no good reason to limit yourself to C. A word of caution: The C++ thread support in the Xtensa-port used to compil...
by permal
Tue Aug 29, 2017 8:35 am
Forum: General Discussion
Topic: GPIO15
Replies: 4
Views: 7828

Re: GPIO15

Oh, misunderstanding on my part then. Thanks!
by permal
Tue Aug 29, 2017 4:59 am
Forum: General Discussion
Topic: GPIO15
Replies: 4
Views: 7828

Re: GPIO15

gpio_set_direction, with gpio_mode_output. Is there somerjing else that I need todo to unmap the JTAG interface?
by permal
Mon Aug 28, 2017 8:12 pm
Forum: General Discussion
Topic: GPIO15
Replies: 4
Views: 7828

GPIO15

Hi, GPIO15 - is there something special with that one that would prevent it from being pulled low? I can't see anything in the datasheet about it? I'm not using the pin for something else than as an output, configured using GPIO_MODE_OUTPUT and it is only my scope connected to it. I'm using a Sparkf...
by permal
Mon Aug 28, 2017 4:48 am
Forum: General Discussion
Topic: Socket issues
Replies: 34
Views: 46852

Re: Socket issues

Packets between ESP32 and Unifi AP? I'm sorry, but I do not have any such listening devices that lets be sniff the wireless communication. Can a second ESP32 be used for such a thing, if so, how? If you actually mean the packets at the receiving end (mosquitto container) then that is what I've shown...
by permal
Sun Aug 27, 2017 10:04 am
Forum: General Discussion
Topic: i2c line busy after i2c_master_stop()
Replies: 2
Views: 4013

Re: i2c line busy after i2c_master_stop()

Hm, interesting how a monolog with yourself can make you see things that you've missed previosuly. So it seems that I had switched the value of a NACK (had it to 0) and switching it to 1 freed up the bus, but the real problem was me misunderstanding the usage of i2c_master_read(). It seems you must ...
by permal
Sun Aug 27, 2017 9:27 am
Forum: General Discussion
Topic: i2c line busy after i2c_master_stop()
Replies: 2
Views: 4013

i2c line busy after i2c_master_stop()

Hi, I've been reading values from a BME280 continuously for the last week over I2C without any glitches, but yesterday when I wanted to implement the MCP23017 I/O expander I discovered an error in my code that prevented it from ever calling i2c_master_stop() at the end of the command sequence. So, I...
by permal
Sat Aug 26, 2017 6:40 pm
Forum: ESP-IDF
Topic: gpio_input_get & gpio_input_get_high
Replies: 0
Views: 2779

gpio_input_get & gpio_input_get_high

The documentation for gpio_input_get & gpio_input_get_high gives the impression that they return a 32-bit value corresponding to the current input levels of the GPIO. However, when I tried these functions I got only garbage and had to fall back to gpio_get_level() which works as expected. What is th...
by permal
Sat Aug 26, 2017 2:22 pm
Forum: General Discussion
Topic: Input/output modes and drive strengths.
Replies: 0
Views: 3512

Input/output modes and drive strengths.

Re. GPIO modes: GPIO_MODE_INPUT - high impedance input GPIO_MODE_OUTPUT - sources, i.e. active high. GPIO_MODE_OUTPUT_OD - open drain, i.e active low. But what about these two, is there a schematic that lets me see how they actually function in bi-directional mode? GPIO_MODE_INPUT_OUTPUT_OD GPIO_MOD...