Search found 21 matches
- Wed Oct 28, 2020 7:34 pm
- Forum: ESP-IDF
- Topic: Modbus TCP Implementation
- Replies: 36
- Views: 30734
Re: Modbus TCP Implementation
My case is a modbus router rtu<->tcp (Rs485 master <-> Wifi Slave) with a sparse memorymap on the RS485 side and on top of that "double buffering" of tcp-write data which doubles the amount of registers needed. Sofar I've solved the TCP slave part with a linked list of memory areas and wrapped it in...
- Sun Oct 18, 2020 6:37 pm
- Forum: ESP-IDF
- Topic: Modbus TCP Implementation
- Replies: 36
- Views: 30734
Re: Modbus TCP Implementation
@ESP_alisitsyn,
Any update on when this feature can make it into the MASTER tree?
I'm implementing a TCP modbus slave with a very sparse register map and it would save mamory to be able to have several areas of each type
Rgds
/Anders
Any update on when this feature can make it into the MASTER tree?
I'm implementing a TCP modbus slave with a very sparse register map and it would save mamory to be able to have several areas of each type
Rgds
/Anders
- Tue Mar 24, 2020 7:21 pm
- Forum: ESP-IDF
- Topic: PCNT api and missing pulses
- Replies: 0
- Views: 1825
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 ...
- Thu Oct 10, 2019 7:58 pm
- Forum: Sample Code
- Topic: Non DMA version of the spi_master driver
- Replies: 14
- Views: 28610
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
/&&
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
/&&
- Fri Nov 16, 2018 3:31 am
- Forum: ESP-IDF
- Topic: Non-volatile storage with flash encryption enabled.
- Replies: 17
- Views: 18578
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...
- Sat Sep 15, 2018 12:18 pm
- Forum: General Discussion
- Topic: What would you like to see in The Next Chip?
- Replies: 426
- Views: 840623
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...
- Mon Sep 03, 2018 10:34 pm
- Forum: ESP-IDF
- Topic: Encrypting device specific data
- Replies: 9
- Views: 12222
Re: Encrypting device specific data
@ESP_Angus:
Any update on when we can expect the r/w fatfs and NVS encryption to be available?
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.
- Sat Dec 16, 2017 3:01 pm
- Forum: General Discussion
- Topic: ULP-I2C
- Replies: 3
- Views: 7680
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...
- Tue Jun 27, 2017 9:22 am
- Forum: ESP-IDF
- Topic: Low-level I2C slave
- Replies: 4
- Views: 7617
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?
- Wed Apr 05, 2017 8:45 pm
- Forum: ESP-IDF
- Topic: Low-level I2C slave
- Replies: 4
- Views: 7617
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