Search found 39 matches

by Reiner1210
Mon Apr 09, 2018 9:50 pm
Forum: ESP32 IDF
Topic: CP210x_Universal_Windows_Driver
Replies: 1
Views: 10157

Re: CP210x_Universal_Windows_Driver

Install the driver

https://www.silabs.com/products/develop ... cp-drivers

and look in the device manager which COM port it uses
by Reiner1210
Fri Apr 06, 2018 9:12 am
Forum: ESP32 IDF
Topic: high precision timer
Replies: 3
Views: 2434

Re: high precision timer

Thanks @WiFive The following pseudo code will do it #include "soc/cpu.h" #include "esp_clk.h" uint32_t cycle_counts; uint32_t cycle_counts_last = 0; int clock_freq = esp_clk_cpu_freq(); RSR(CCOUNT, cycle_counts); printf("Diff: %llu nsec\n", ((uint64_t)(cycle_counts - cycle_counts_last)*1000000000) /...
by Reiner1210
Thu Apr 05, 2018 8:43 am
Forum: Hardware
Topic: SPI modes and pins
Replies: 2
Views: 3756

Re: SPI modes and pins

Thanks!
by Reiner1210
Mon Apr 02, 2018 10:42 pm
Forum: ESP32 IDF
Topic: high precision timer
Replies: 3
Views: 2434

high precision timer

Hello, I know that with esp_timer_get_time() I can get a timestamp on µsec base. Is there an even better time base resolution possible? Idea behind: Build a low budget logic analyzer. For this the edges of a signal must have very exact timestamps. An other question: What is the highest frequency on ...
by Reiner1210
Mon Apr 02, 2018 10:36 pm
Forum: Showcase
Topic: Wake on LAN repeater
Replies: 0
Views: 1562

Wake on LAN repeater

Hello, at the moment my project (nearly finished) is a Wake On LAN repeater. Problem: Most routers do not allow to send a broadcast message in the internal network from outside. Solution: The router forwards an UDP port to ESP32. The ESP32 validates the UDP packet and sends the broadcast message. Al...
by Reiner1210
Mon Apr 02, 2018 10:27 pm
Forum: ESP32 IDF
Topic: vsfat - threadsafe
Replies: 2
Views: 1217

Re: vsfat - threadsafe

Thanks ! :-)

I have build a web server on ESP32 and downloading files will be done in different tasks for each file
by Reiner1210
Sun Apr 01, 2018 5:16 pm
Forum: ESP32 IDF
Topic: vsfat - threadsafe
Replies: 2
Views: 1217

vsfat - threadsafe

Hello,

is the SD access (via SPI) and the vsfatfs threadsafe ? So can I open / read / write on file from on thread and ano ther file from an other thread ?
IN lwip there are the functions with _r for being threadsafe.

Reiner
by Reiner1210
Tue Mar 27, 2018 7:58 am
Forum: Hardware
Topic: SPI modes and pins
Replies: 2
Views: 3756

SPI modes and pins

hello,

I have a general question about SPI modes.
Is there a difference in SPI, HSPI and VSPI, can I use every 4 pins for SPI (e.g. connecting a SD card or a display).
Or are there preferred pins for this (other routing inside the chip)

Thanks
Reiner
by Reiner1210
Fri Mar 23, 2018 9:39 am
Forum: ESP32 IDF
Topic: esp_wifi_set_ps
Replies: 1
Views: 1335

esp_wifi_set_ps

Hello,

how exactly works
esp_wifi_set_ps(WIFI_PS_MODEM)

As far as I understood it sleeps the WiFi and wake up periodically.

What happens when an UDP packet arrives during the sleep phase - I think it get lost ?
Correct ?

Reiner

Go to advanced search