Search found 11 matches
- Tue Sep 07, 2021 6:30 pm
- Forum: Hardware
- Topic: ESP32-PICO-V3 IO20 error
- Replies: 2
- Views: 3849
Re: ESP32-PICO-V3 IO20 error
SOLVED. Thank you very much.
- Fri Sep 03, 2021 7:53 pm
- Forum: Hardware
- Topic: ESP32-PICO-V3 IO20 error
- Replies: 2
- Views: 3849
ESP32-PICO-V3 IO20 error
I have an issue using ESP32-PICO-V3 IO20 (pin 27). When executing, terminal says:
E (317) gpio: gpio_set_direction(263): GPIO number error
E (327) gpio: gpio_set_level(215): GPIO output gpio_num error
Here's the simplest blink example I'm using.
#include <stdio.h>
#include "freertos/FreeRTOS.h ...
E (317) gpio: gpio_set_direction(263): GPIO number error
E (327) gpio: gpio_set_level(215): GPIO output gpio_num error
Here's the simplest blink example I'm using.
#include <stdio.h>
#include "freertos/FreeRTOS.h ...
- Wed Mar 03, 2021 7:46 pm
- Forum: ESP-IDF
- Topic: Eclipse unresolved inclusion
- Replies: 16
- Views: 32072
Re: Eclipse unresolved inclusion
Ok, nows working. Thanks a lot.
- Tue Mar 02, 2021 7:29 pm
- Forum: ESP-IDF
- Topic: Eclipse unresolved inclusion
- Replies: 16
- Views: 32072
Eclipse unresolved inclusion
I know this issue has been reported many times, but I still can't solve it.
Eclipse 2020-12
ESP-IDF v4.2
Espressif IDF 1.0.0.7f8U7ScLblnh87Z6aaB2Gpz036 plugin
Java JDK14
Windows 10
I tried with Eclipse 2020-09, 2019-09. Nothing works.
What can I do?
Eclipse 2020-12
ESP-IDF v4.2
Espressif IDF 1.0.0.7f8U7ScLblnh87Z6aaB2Gpz036 plugin
Java JDK14
Windows 10
I tried with Eclipse 2020-09, 2019-09. Nothing works.
What can I do?
- Wed Feb 10, 2021 6:02 pm
- Forum: ESP-IDF
- Topic: SPI delay time between transactions.
- Replies: 5
- Views: 7081
Re: SPI delay time between transactions.
Thanks for the reply.
I believe you want to send a byte with T and Receive 3 with R.
Correct. I tried with Half-Duplex mode without success, I'm not sure how to configure the spi_transaction_t struct for transmit and then receive. I would like if anyone can provide an example of SPI Master in ...
I believe you want to send a byte with T and Receive 3 with R.
Correct. I tried with Half-Duplex mode without success, I'm not sure how to configure the spi_transaction_t struct for transmit and then receive. I would like if anyone can provide an example of SPI Master in ...
- Tue Feb 09, 2021 10:16 pm
- Forum: ESP-IDF
- Topic: SPI delay time between transactions.
- Replies: 5
- Views: 7081
SPI delay time between transactions.
Hello there,
I'm using SPI communication to interface with an external ADC. I need to send first 1 byte, wait at leas 8us, and then send 3 bytes. I implemented this in 2 different spi_device_transmit (because I need to wait 8us between them).
spi_transaction_t t;
t.flags = SPI_TRANS_USE_TXDATA ...
I'm using SPI communication to interface with an external ADC. I need to send first 1 byte, wait at leas 8us, and then send 3 bytes. I implemented this in 2 different spi_device_transmit (because I need to wait 8us between them).
spi_transaction_t t;
t.flags = SPI_TRANS_USE_TXDATA ...
- Thu Feb 04, 2021 11:35 pm
- Forum: ESP-IDF
- Topic: Call SPI into timer ISR
- Replies: 5
- Views: 4768
Re: Call SPI into timer ISR
spi_device_handle_t spi; and spi_transaction_t t; should be declared as global in order to be used from all of the task?
- Thu Feb 04, 2021 10:37 pm
- Forum: General Discussion
- Topic: FreeRTOS Task notification crashing esp32.
- Replies: 6
- Views: 9497
Re: FreeRTOS Task notification crashing esp32.
Help with this, please. It crashes.
#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_system.h"
#include "driver/gpio.h"
TaskHandle_t myTask1Handle = NULL;
TaskHandle_t myTask2Handle = NULL;
void myTask1(void *pvParameter)
{
while(1)
{
xTaskNotifyGive ...
#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_system.h"
#include "driver/gpio.h"
TaskHandle_t myTask1Handle = NULL;
TaskHandle_t myTask2Handle = NULL;
void myTask1(void *pvParameter)
{
while(1)
{
xTaskNotifyGive ...
- Thu Feb 04, 2021 4:48 am
- Forum: ESP-IDF
- Topic: Call SPI into timer ISR
- Replies: 5
- Views: 4768
Re: Call SPI into timer ISR
Thanks for the reply.
So what could be a possible solution, please. With example code would be great.
So what could be a possible solution, please. With example code would be great.
- Thu Feb 04, 2021 2:26 am
- Forum: ESP-IDF
- Topic: Call SPI into timer ISR
- Replies: 5
- Views: 4768
Call SPI into timer ISR
I've got a problem similar to https://www.esp32.com/viewtopic.php?t=5240 .
I need to send and receive information to an IC over SPI. This task has to be made with specific timing, hence I've got a time routine made with Timer 0 and interrupts.
The problem is when I write spi_device_transmit(spi ...
I need to send and receive information to an IC over SPI. This task has to be made with specific timing, hence I've got a time routine made with Timer 0 and interrupts.
The problem is when I write spi_device_transmit(spi ...