Search found 15 matches

by luca.gamma
Fri Mar 10, 2017 9:50 am
Forum: ESP-IDF
Topic: SPI transmission repetition rate
Replies: 7
Views: 14265

Re: SPI transmission repetition rate

Tbh, I doubt crosstalk is an issue of the ESP32... the RMT is using the GPIO matrix like everything else. Are you sure you don't have a different source of crosstalk? Yes, could be generate from the test board, sometimes I forget that using such frequencies (20MHz) on a breadboard (just for testing...
by luca.gamma
Fri Mar 10, 2017 9:43 am
Forum: ESP-IDF
Topic: SPI transmission repetition rate
Replies: 7
Views: 14265

Re: SPI transmission repetition rate

Once the spi bus is initialized, the device added and the device initialized (you can call spi_device_transmit for that), you no longer need to use queued/DMA data transfer. You can add the simple functions for non-queued/no-DMA data transfer to spi_master driver: This example is for non-duplex mod...
by luca.gamma
Fri Mar 10, 2017 9:35 am
Forum: ESP-IDF
Topic: SPI transmission repetition rate
Replies: 7
Views: 14265

Re: SPI transmission repetition rate

I understand your question, but in hardware, this is just not possible. We support linked lists of DMA data regions, but they all need to be in one transaction, they can not be in multiple different ones. Maybe a weird idea, but perhaps you can use the RMT peripheral for this? It supports precisely...
by luca.gamma
Tue Mar 07, 2017 2:17 pm
Forum: ESP-IDF
Topic: SPI transmission repetition rate
Replies: 7
Views: 14265

SPI transmission repetition rate

In my application I need to send a series of 16-bit wide SPI commands to some slave devices (A/D converters). Since the chip-select line is used to initiate ADC sampling I need to send command at a given repetition rate (i.e. every 1.5us) with a serial clock speed of 20MHz like in the diagram below....
by luca.gamma
Fri Feb 24, 2017 4:58 pm
Forum: ESP-IDF
Topic: SPI timing violation using hardware chip-select
Replies: 2
Views: 5788

SPI timing violation using hardware chip-select

Configuring the SPI master peripheral (HSPI) I require at least half bit-cycle after transmission before the chip-select becomes inactive. The SPI device interface configuration structure has a member called 'cs_ena_posttrans' which should be set to the number of bit-cycle to wait. Actually setting ...
by luca.gamma
Thu Feb 16, 2017 1:00 pm
Forum: ESP-IDF
Topic: ESP-IDF main Kconfig suggestion
Replies: 0
Views: 3186

ESP-IDF main Kconfig suggestion

Here is just a suggestion to modify (for esthetical reason) the main Kconfig in ESP-IDF. In my opinion the main screen should include only menus while Optimization level is included as a choice. The generated sdkconfig file will then append the Optimization level option at the end of the Partition t...
by luca.gamma
Fri Feb 03, 2017 12:01 pm
Forum: Report Bugs
Topic: Build tools for 32-bit Linux
Replies: 15
Views: 27472

Re: Build tools for 32-bit Linux

ESP_Angus wrote:The 32-bit toolchain download link has been fixed. Sorry for the inconvenience.
Thanks for this fix :)
by luca.gamma
Wed Jan 18, 2017 6:35 am
Forum: Report Bugs
Topic: Build tools for 32-bit Linux
Replies: 15
Views: 27472

Re: Build tools for 32-bit Linux

matiasjara wrote: Any help?
Thank you!
Updating the IDF seems to resolve this issue:

Code: Select all

$ cd esp-idf
$ git pull
$ git submodule update
$ cd $PROJECT
$ make clean; make defconfig; make all
by luca.gamma
Tue Jan 17, 2017 3:21 pm
Forum: Report Bugs
Topic: Build tools for 32-bit Linux
Replies: 15
Views: 27472

Re: Build tools for 32-bit Linux

WARNING: Toolchain version is not supported: crosstool-NG crosstool-ng-1.22.0-59-g8d95cad Expected to see version: crosstool-NG crosstool-ng-1.22.0-61-gab8375a Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk. WARNING: Compiler version is not supported: ...
by luca.gamma
Tue Jan 17, 2017 7:19 am
Forum: Report Bugs
Topic: Build tools for 32-bit Linux
Replies: 15
Views: 27472

Re: Build tools for 32-bit Linux

Yes, the same code compiles on Linux 64 with xtensa-esp32-elf-linux64-1.22.0-61 but NON on Linux 32 with xtensa-esp32-elf-linux32-1.22.0-59. The main topic is that I would like to update the toolchain on Linux 32 too with xtensa-esp32-elf-linux32-1.22.0-61 BUT the link is broken: https://dl.espressi...