Search found 425 matches

by Deouss
Wed Jul 25, 2018 12:11 pm
Forum: General Discussion
Topic: Testing sockets over wifi
Replies: 1
Views: 2314

Testing sockets over wifi

I am testing network communication between ESP and PC over wifi and am quite pleased by performance. I also noticed that sockets are very easily shared between 2 cores so I ran task right away after accepting the request and pinned it to core 0 and then 1. Turns out task runs faster on core 0 and I ...
by Deouss
Tue Jul 24, 2018 11:20 am
Forum: ESP-IDF
Topic: Multiprocess/task concurrency scheduling question
Replies: 3
Views: 6317

Re: Multiprocess/task concurrency scheduling question

Question - how does the cpu scaling or esp32 scaling look like?
I read some documents it is possible to connect two esp32 chips physically on one board and use them as one 4-core from app perspective
by Deouss
Mon Jul 23, 2018 4:14 pm
Forum: General Discussion
Topic: Gripes on ESP32/ESP-IDF
Replies: 51
Views: 61802

Re: Gripes on ESP32/ESP-IDF

So how do I calculate microsecond time interval

c0=xthal_get_ccount()

c1=(xthal_get_ccount()-c0) / ncyclesinmicrosec ???
by Deouss
Mon Jul 23, 2018 11:40 am
Forum: General Discussion
Topic: Gripes on ESP32/ESP-IDF
Replies: 51
Views: 61802

Re: Gripes on ESP32/ESP-IDF

They should come up with something super-light and lighter than rtos. Probably it is very easy to be done but chip must be strongly present on the market. I tested stuff with FreeRTOS and works amazingly great and stable. You just have to know what you are doing and keep track of resources and memor...
by Deouss
Sun Jul 22, 2018 9:43 pm
Forum: General Discussion
Topic: Gripes on ESP32/ESP-IDF
Replies: 51
Views: 61802

Re: Gripes on ESP32/ESP-IDF

Well, why don't you write to Cadence and Xtensa team to reveal full esp32/lx6 documents for technical reference and assembly manuals. You can try RMT of ESP as it behaves similar to SPI and has full-duplex behavior. Like I said we have to wait for Cadence people to give us full docs and relevant asm...
by Deouss
Sun Jul 22, 2018 8:46 pm
Forum: ESP-IDF
Topic: Compilation fails after switching from Wroom to Wrover
Replies: 11
Views: 10650

Re: Compilation fails after switching from Wroom to Wrover

SPI is default - so must be 40Mhz I assume. I have one chip with revision 0 which might be causing issues.
Assuming esp_chip_info() reports correct revisions
by Deouss
Sun Jul 22, 2018 8:42 pm
Forum: ESP32 Arduino
Topic: Convert AVR sketch to ESP32
Replies: 1
Views: 4320

Re: Convert AVR sketch to ESP32

To me looks like simple timers setup but in a way it targets almost assembler style code because atmega is slow chip.
I'd post it on arduino.cc forums
by Deouss
Sun Jul 22, 2018 10:47 am
Forum: General Discussion
Topic: BT and WiFi bandwidth speeds
Replies: 3
Views: 13267

Re: BT and WiFi bandwidth speeds

I ran iperf example and still am not sure what is max possible transfer speed because it varied from .01Mbps to 3.4Mbps It was higher when you disabled AC protocol and decreased interval. I don't exactly know how to create non-blocking socket but most likely through the Tasks which are perfect for n...
by Deouss
Sun Jul 22, 2018 10:33 am
Forum: ESP-IDF
Topic: Compilation fails after switching from Wroom to Wrover
Replies: 11
Views: 10650

Re: Compilation fails after switching from Wroom to Wrover

Would you please let us know which type of reconfiguration is required to work for that before compiling same application for WROVER module? So that we can have idea like what can be possible cause to stop that working condition. I changed the flash size from 2 to 4Mb. But I must add that I work un...
by Deouss
Sat Jul 21, 2018 6:58 pm
Forum: General Discussion
Topic: BT and WiFi bandwidth speeds
Replies: 3
Views: 13267

BT and WiFi bandwidth speeds

Maybe someone tested Esp32 what speeds it can achieve with BT and WiFi.
I am considering streaming sensor and small video data over network.
What way is the highest bandwidth I could get?
Maybe use SPI with RF/TX device?

Thanks