Search found 445 matches

by ESP_igrr
Fri Apr 28, 2017 2:20 pm
Forum: General Discussion
Topic: Urgent Need for Pulse Width Measurement, Register/Hardware Descriptions Would Work
Replies: 6
Views: 110

Re: Urgent Need for Pulse Width Measurement, Register/Hardware Descriptions Would Work

I have had success using RMT peripheral to do accurate pulse width measurement. My use case was to digitize a PPM signal. RMT writes pulse widths to a block of RAM, so using it is very straightforward.
by ESP_igrr
Fri Apr 28, 2017 8:26 am
Forum: General Discussion
Topic: where is size_t define?
Replies: 1
Views: 64

Re: where is size_t define?

size_t is defined in <stddef.h>

you can find this file under xtensa-esp32-elf/lib/gcc/xtensa-esp32-elf/5.2.0/include/
by ESP_igrr
Fri Apr 28, 2017 2:00 am
Forum: General Discussion
Topic: Sleep timer motion sensitivity
Replies: 4
Views: 110

Re: Sleep timer motion sensitivity

That's pretty surprising. We'll try to reproduce this.
by ESP_igrr
Thu Apr 27, 2017 11:35 am
Forum: General Discussion
Topic: USB Serial on UART2
Replies: 6
Views: 149

Re: USB Serial on UART2

Sorry if didn't make my previous message clear... Currently you can not use UART driver ('uart_driver_install') and standard IO, specifically input (fscanf, scanf) on the same UART peripheral. UART driver will try to read characters from UART peripheral. Standard IO library will also try to read cha...
by ESP_igrr
Thu Apr 27, 2017 10:33 am
Forum: General Discussion
Topic: USB Serial on UART2
Replies: 6
Views: 149

Re: USB Serial on UART2

Currently the UART driver can not be used together with console IO on the same UART. Both will try to read from UART FIFO, and only one (either console input or UART driver) will get any given character.
by ESP_igrr
Wed Apr 26, 2017 3:41 pm
Forum: General Discussion
Topic: USB Serial on UART2
Replies: 6
Views: 149

Re: USB Serial on UART2

standard input on UARTs currently behaves as O_NONBLOCK; i.e. fgetc will return immediately, even if there is no data in UART FIFO. Does that explain the behaviour you are seeing? If not, could you describe "inconsistent" in more detail?
by ESP_igrr
Wed Apr 26, 2017 4:27 am
Forum: ESP32 HDK
Topic: ESP-WROOM-32 Flash Size
Replies: 10
Views: 396

Re: ESP-WROOM-32 Flash Size

We don't use Quad SPI mode for loading the 2nd stage bootloader image, it is limited to DIO. So this shouldn't be an issue.
by ESP_igrr
Wed Apr 26, 2017 3:42 am
Forum: ESP32 HDK
Topic: ESP-WROOM-32 Flash Size
Replies: 10
Views: 396

Re: ESP-WROOM-32 Flash Size

You need to configure all the pads in EFUSE, even if you are changing just one of them. Also note that WP pin can not be configured via EFUSE (not sure why it was left out). Becasue of this, for now, we support QIO mode only for ESP32-D2WD, where we know which pin is used for WP: https://github.com/...
by ESP_igrr
Tue Apr 25, 2017 1:11 pm
Forum: ESP32 SDK
Topic: ESP32 crash when transmitting value via SPI
Replies: 5
Views: 87

Re: ESP32 crash when transmitting value via SPI

In c++ you can still do

spi_device_interface_config_t devcfg={0};

and then set the fields you actually need.

Go to advanced search