Search found 540 matches

by PeterR
Thu Oct 22, 2020 11:30 pm
Forum: ESP-IDF
Topic: Peripherals not being installed in driver folder
Replies: 1
Views: 66

Re: Peripherals not being installed in driver folder

twai was a name change (as I understand it) because CAN is a trademar 4.1 is CAN, not twai. Think twai is bleeding edge 4.3? Regardless; by any other name a TWAI/CAN driver would smell so .... please check that your TWAI/CAN named driver address the ESP32 silicon errata issues and/or overflow issues...
by PeterR
Thu Oct 22, 2020 10:49 am
Forum: General Discussion
Topic: ESP32 mqtt client ws_read() failure
Replies: 16
Views: 1853

Re: ESP32 mqtt client ws_read() failure

@ESP-Marius

Hi,
My timeout logic is not perfect. I still get:

Code: Select all

TRANSPORT_WS: Error read data
TRANSPORT_WS: Error reading payload data
Would you please create your patch for my SHA 84b51781c80740fda92784dafcfc96c13b0d8b66 ?
by PeterR
Tue Oct 20, 2020 9:05 am
Forum: General Discussion
Topic: Project request
Replies: 7
Views: 447

Re: Project request

I did not see anything immediately. Google is your friend but you have a specific problem. Besides it would spoil all the fun if you copied! https://microcontrollerslab.com/adc-esp32-measuring-voltage-example/ covers most of what you need. You're main problem is which ADC channels are free. Just cre...
by PeterR
Fri Oct 16, 2020 10:21 am
Forum: General Discussion
Topic: Project request
Replies: 7
Views: 447

Re: Project request

With 7 readings every 5 minute and a resolution of approximately 5V/0.1V (say 64 or 6 bits) then most ADCs will do your job. It then becomes a matter of software convinience e.g who has the best open source worked example along with a hardware module. The ADC I suggested is 16 bits @around 1KHz and ...
by PeterR
Thu Oct 15, 2020 8:35 pm
Forum: General Discussion
Topic: uart_read_bytes timeout problem
Replies: 4
Views: 236

Re: uart_read_bytes timeout problem

When I pass the timeout as 0 if thereis anything on the receiver buffer it reads it and immediately returns (0.040ms) what is correct, but when I pass any other timeout if there is anything on the receiver buffer it takes almost 9ms to return. when I pass any other timeout Are you sure? Do you mean...
by PeterR
Thu Oct 15, 2020 5:25 pm
Forum: ESP-IDF
Topic: Improving UDP throughput
Replies: 2
Views: 500

Re: Improving UDP throughput

100uS hard over Wifi sounds tough! It takes me 15 uS just to read a few SPI bytes. Ok I could preallocate the request, forgive my lazy arse. And then I also have someone jumping in every now and stealing 2mS (I blame Ethernet & I 'know' its bus because my SPI task is highest priority & no one else h...
by PeterR
Thu Oct 15, 2020 5:06 pm
Forum: General Discussion
Topic: Project request
Replies: 7
Views: 447

Re: Project request

Sounds exactly what an ESP was born to do! If you don't get voltage direct from the controller then something like: https://www.olimex.com/Products/IoT/ESP32/ESP32-EVB/open-source-hardware https://www.ebay.co.uk/itm/16-bit-ADC-ADC-SPI-Communication-Module-Development-Board-ADS1118-new/142509337774?h...
by PeterR
Thu Oct 15, 2020 10:45 am
Forum: ESP-IDF
Topic: Only receive udp multicasts which I transmit
Replies: 1
Views: 144

Re: Only receive udp multicasts which I transmit

The good old 'switch it (the switch) off and on again'!
by PeterR
Wed Oct 14, 2020 11:30 pm
Forum: General Discussion
Topic: ESP32 pico D4 SoC heat problem
Replies: 4
Views: 306

Re: ESP32 pico D4 SoC heat problem

Buy a development board & measure! On menuconfig set CPU speed to max & then max your inputs & burn that mother! If you have a mechanical engineer on hand then you can get a very good idea from his FEA. I find it quicker & easier to put a resistor in a package & match the max device/circuits thermal...
by PeterR
Wed Oct 14, 2020 11:00 pm
Forum: ESP-IDF
Topic: wifi task on core0 influences precessing speed of core1 tasks
Replies: 3
Views: 217

Re: wifi task on core0 influences precessing speed of core1 tasks

Wifi/BT sucks IRAM. Couple of years ago I was told that Wifi can now execute outside of IRAM (which is great as before you were otherwise stuffed through lack of IRAM) but now might introduces performance issue. So maybe u max IRAM & then hit PSRAM issues. So there are ways in which 'independent cor...

Go to advanced search