Search found 617 matches

by PeterR
Tue Apr 20, 2021 5:16 pm
Forum: General Discussion
Topic: Datasheet for CAN bus
Replies: 5
Views: 144

Re: Datasheet for CAN bus

Wifi, Do you have the commit details? I should check that all issues have been addressed. There were at least 2 errors. (1) The driver would lock failed after overflow, reboot being the only recovery. Try switching interrupts off for 100mS and you will see. (2) Corrupt data getting through. I could ...
by PeterR
Thu Apr 15, 2021 5:03 pm
Forum: General Discussion
Topic: RTC slows down, affecting DMA and serial output
Replies: 4
Views: 216

Re: RTC slows down, affecting DMA and serial output

How do you know that the baud rate changes? Have you measured the bit rates? A long time ago I was a little out in my UART clock and this, from time to time, allowed other effects to corrupt (being marginal already). Thing was my configuration was wrong! On the ESP32 I have seen weird I2C (not I2S) ...
by PeterR
Wed Apr 14, 2021 11:10 am
Forum: General Discussion
Topic: I2C slave simulation
Replies: 0
Views: 66

I2C slave simulation

I have a project which has a complex analogue I2C slave device. I want to automate tests & build in some determinism. The device is a set of I2C registers. Some registers hold the analogue value, others are used to configure. We use a hard coded configuration so it is enough just to check that confi...
by PeterR
Thu Apr 08, 2021 5:46 pm
Forum: General Discussion
Topic: SPI DMA in ESP32-S2-WROOM
Replies: 4
Views: 313

Re: SPI DMA in ESP32-S2-WROOM

Keep in mind that DMA can be counter productive for small transfers. One of my SPI channels is a cheap MPC2515 and that is a very chatty device with between 3 and 8 byte transfers. Latency & setup really kill that through put. On the short transfers I measured that no DMA was faster. Basically the S...
by PeterR
Tue Apr 06, 2021 11:29 pm
Forum: General Discussion
Topic: The future of ESP32 hardware revision(fixing annoying hardware issues?)
Replies: 7
Views: 533

Re: The future of ESP32 hardware revision(fixing annoying hardware issues?)

Qualcomm and NXP seem to offer solutions (but still below Espressif in terms in functionality and cost) Exactly, 'you pays your money....' So (basically) finding a silicon sweet spot is very tricky! Also very tricky for anyone else to review that trade without knowing your ram/flash etc requirement...
by PeterR
Thu Apr 01, 2021 5:49 pm
Forum: General Discussion
Topic: Prefered Communication Form (Protocol) for Data exchange between Android App and ESP32
Replies: 3
Views: 359

Re: Prefered Communication Form (Protocol) for Data exchange between Android App and ESP32

I think my earlier posts will just repeat what I said. SPP is an ESP BT example I think. There is not a BLE SPP profile. There are plenty of examples about emulating SPP over BLE however. I seem to remember that I copied an STM32 application guide. This coupled with the ESP examples gave me the mean...
by PeterR
Wed Mar 31, 2021 11:23 pm
Forum: General Discussion
Topic: How to compile sqlite3 for esp32?
Replies: 2
Views: 264

Re: How to compile sqlite3 for esp32?

Search for ioctrl.h in the ESP folder. If it does not exists download and add somewhere (but eventually this might cause other issues which you then have to resolve). Next & also if IDF has icotrl.h you need to update your search path. In your 'component.mk' add something like: COMPONENT_ADD_INCLUDE...
by PeterR
Wed Mar 31, 2021 10:55 pm
Forum: General Discussion
Topic: Gripes on ESP32/ESP-IDF
Replies: 51
Views: 25516

Re: Gripes on ESP32/ESP-IDF

'The chip and firmware may be "fine"' Maybe but are not. CAN silicon is especially an issue for me. Have acceptable IDF patches (thank you ESP) on my IDF revision but then ESP refactor between versions with huge changes & my patches no longer works & I do not have a clear/easy route forward. So the...
by PeterR
Wed Mar 31, 2021 10:22 pm
Forum: General Discussion
Topic: Prefered Communication Form (Protocol) for Data exchange between Android App and ESP32
Replies: 3
Views: 359

Re: Prefered Communication Form (Protocol) for Data exchange between Android App and ESP32

Well it depends on your bandwidth needs/requirements. BLE/BT would be a good starter using SPP if linking to a phone. Look at this way, how may Phone periperals use Wifi? Why do you think Wifi? If point to point then BLE/BT might be better. Regardless of transport link you need to be clear about lat...
by PeterR
Mon Mar 22, 2021 11:03 pm
Forum: ESP-IDF
Topic: ESP32 and ethernet controller DM9051 stop working
Replies: 2
Views: 568

Re: ESP32 and ethernet controller DM9051 stop working

As I read this; it does not work at volume on your board. I did not hear you say that it works at volume on an EVB.
Plz clarify. A simple trueth table would help.
When I read 'custom' its a fair bet to ask OP to post the 'custom' code or schematics. Post your schematics.

Go to advanced search