Search found 9 matches

by jas39_
Tue Mar 24, 2020 7:21 pm
Forum: ESP32 IDF
Topic: PCNT api and missing pulses
Replies: 0
Views: 437

PCNT api and missing pulses

Is there a proper way to use the PCNT api to count and read pulses without missing an occasional pulse? What if a pulse is happening in between the two calls below: function read_and_clear(int count) { pcnt_get_counter_value(PCNT_UNIT, &count); pcnt_counter_clear(PCNT_UNIT); } It looks like a pulse ...
by jas39_
Thu Oct 10, 2019 7:58 pm
Forum: Sample Code
Topic: Non DMA version of the spi_master driver
Replies: 14
Views: 11670

Re: Non DMA version of the spi_master driver

@loboris:
I'm trying to get your non-dma driver to work together with a three-wire SPI interface without success. Would you mind sharing your " slightly modified official esp-idf spi-master driver" for me to try?

Rgds
/&&
by jas39_
Fri Nov 16, 2018 3:31 am
Forum: ESP32 IDF
Topic: Non-volatile storage with flash encryption enabled.
Replies: 17
Views: 6041

Re: Non-volatile storage with flash encryption enabled.

Im trying to compile with code from the test suite as guided by WiFive and the latest from esp-idf but get the following errors: undefined reference to `nvs_flash_read_security_cfg' undefined reference to `nvs_flash_generate_keys' undefined reference to `nvs_flash_secure_init' i do include the follo...
by jas39_
Sat Sep 15, 2018 12:18 pm
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 373
Views: 159939

Re: What would you like to see in The Next Chip?

Kudos for asking! Opening up for input from all your customers like this is a bold move as what you get is a mixed bag of goodies without any commit to volumes. Adding usb seems to be a done deal, but would it be possible to run it as a "Mass Storage Device" aka USB Memory? I have used that method i...
by jas39_
Mon Sep 03, 2018 10:34 pm
Forum: ESP32 IDF
Topic: Encrypting device specific data
Replies: 9
Views: 4054

Re: Encrypting device specific data

@ESP_Angus:
Any update on when we can expect the r/w fatfs and NVS encryption to be available?
Support for encrypted read/write fatfs and encrypted NVS are both being worked on now and will be available soon.
by jas39_
Sat Dec 16, 2017 3:01 pm
Forum: General Discussion
Topic: ULP-I2C
Replies: 3
Views: 3025

Re: ULP-I2C

This is a cool example! I'm wondering if it's possible to extend it with a slave mode? Can the ULP processor receive an "interrupt on pin change" or is it polling only? When I did this last time on another processor I used interrupts to detect start/stop and bitshifts. If interrupts can't be used it...
by jas39_
Tue Jun 27, 2017 9:22 am
Forum: ESP32 IDF
Topic: Low-level I2C slave
Replies: 4
Views: 3465

Re: Low-level I2C slave

I'm still struggling with getting an i2c-slave running. A real help to me would be to add interrupts to the current i2c example taking actions when data is available in the buffers. Is this something that could be put on the To-do list?
by jas39_
Wed Apr 05, 2017 8:45 pm
Forum: ESP32 IDF
Topic: Low-level I2C slave
Replies: 4
Views: 3465

Re: Low-level I2C slave

Thanks but the documentation doesn't say much about slave mode. Would be good with an example snippet of code
by jas39_
Tue Apr 04, 2017 8:16 pm
Forum: ESP32 IDF
Topic: Low-level I2C slave
Replies: 4
Views: 3465

Low-level I2C slave

I want to make a small timing critical I2C-slave which basically only returns one or two bytes depending on the state of the ESP32 and I can't get it to work with the slave example provided. What I basically need is an interrupt for each new byte (or full transaction) that comes in and the possibili...

Go to advanced search