Search found 17 matches

by jollytopper
Mon Mar 25, 2019 3:18 am
Forum: ESP32 IDF
Topic: SPI very slow
Replies: 2
Views: 239

Re: SPI very slow

Specifically, by logging a time value I'm reading that each polling transaction takes around 3 ms. Should it not be much quicker? <100 us?
by jollytopper
Mon Mar 25, 2019 2:28 am
Forum: ESP32 IDF
Topic: SPI very slow
Replies: 2
Views: 239

SPI very slow

I'm making consecutive calls to one device using polling transactions. I have acquired the bus in initialization. My transactions are relatively short and usually come in chunks of 10 (10 polling transactions).

I find that the speed is still not satisfactory. How can I improve this?
by jollytopper
Tue Nov 27, 2018 11:12 am
Forum: ESP32 IDF
Topic: How to use SPI from an interrupt?
Replies: 3
Views: 496

Re: How to use SPI from an interrupt?

Thanks for the response. My concern about my original point is that I'm worried while the high priority task is processing the IRQ, the other core may be running a task that disrupts this tasks function by maybe using some shared resource or something. What I really would like to do is for have this...
by jollytopper
Tue Nov 27, 2018 9:43 am
Forum: ESP32 IDF
Topic: How to use SPI from an interrupt?
Replies: 3
Views: 496

How to use SPI from an interrupt?

Currently, program crashes if I try to do a spi_device_transmit.

I'm thinking about setting up a task with a very high priority and have the IRQ handlers send objects to a queue, which in turn wakes up the high priority task to do the processing. Are there any alternatives?
by jollytopper
Thu Nov 08, 2018 7:32 am
Forum: ESP32 Arduino
Topic: Make app does not build ino files
Replies: 1
Views: 397

Make app does not build ino files

I've downloaded the arduino core as an esp-idf component. How do I make the arduino files build?
by jollytopper
Tue Oct 23, 2018 3:30 am
Forum: ESP32 IDF
Topic: ESP-MQTT does not disconnect when router loses internet
Replies: 2
Views: 492

ESP-MQTT does not disconnect when router loses internet

If the esp module loses connection to the router, then the disconnect is called.

If the router loses connection to the rest of the internet by removing the ethernet cord, then neither the wifi event handler nor the mqtt even handler indicates the connection has been lost.
by jollytopper
Tue Oct 23, 2018 2:50 am
Forum: ESP32 IDF
Topic: Questions regarding the event: SYSTEM_EVENT_STA_LOST_IP
Replies: 0
Views: 310

Questions regarding the event: SYSTEM_EVENT_STA_LOST_IP

When would this usually happen and what steps are necessary to take related to socket work?

Right now I'm shutting down sockets on a SYSTEM_EVENT_STA_DISCONNECTED. Is there a chance that the SYSTEM_EVENT_STA_LOST_IP event can trigger without SYSTEM_EVENT_STA_DISCONNECTED being triggered also?
by jollytopper
Wed Oct 17, 2018 7:25 am
Forum: General Discussion
Topic: PlatformIO thoughts?
Replies: 4
Views: 742

Re: PlatformIO thoughts?

You're right. I have it downloaded. I'm going to try it myself.
by jollytopper
Tue Oct 16, 2018 1:39 am
Forum: General Discussion
Topic: PlatformIO thoughts?
Replies: 4
Views: 742

PlatformIO thoughts?

I was referred to try using PlatformIO with VSCode to debug, but I recall seeing poor reviews of PlatformIO. Does anyone have experience they would like to share regarding using PlatformIO with ESP32?

Go to advanced search