Search found 621 matches

by PeterR
Fri Sep 21, 2018 10:28 am
Forum: ESP-IDF
Topic: C++11 threads
Replies: 4
Views: 7713

Re: C++11 threads

ESP_igrr wrote:native_handle should return a pointer to a pthread.
Which is a FreeRTOS task handle? That is to ask if I could use that handle directly to change priority etc?
by PeterR
Thu Sep 20, 2018 9:22 am
Forum: ESP-IDF
Topic: C++11 threads
Replies: 4
Views: 7713

C++11 threads

I have a third party library I would like to include into an my ESP-IDF project. The library uses C++ threads, mutex etc. My FreeRTOS task would call a library function. The library function would block on a C++11 mutex before sending to a C++ queue. A C++ thread would use the mutex to gain the queu...
by PeterR
Tue Sep 11, 2018 1:19 pm
Forum: ESP-IDF
Topic: mDNS does not work
Replies: 4
Views: 9383

Re: mDNS does not work

I don't know if its fixed yet but the following may be relevant.
viewtopic.php?f=2&t=6166

If you have to fix please let me know, will save me some typing!
by PeterR
Thu Sep 06, 2018 11:31 am
Forum: ESP-IDF
Topic: ESP internal CAN
Replies: 3
Views: 4502

Re: ESP internal CAN

Great that works (once I type in the correct GPIO numbers)

Something which may not be obvious to all is that on the ESP32-EVB rev D:
CAN-HI is next to the circular power in.
CAN-LOW is middle.

Thanks for the help.
by PeterR
Thu Sep 06, 2018 8:38 am
Forum: ESP-IDF
Topic: ESP internal CAN
Replies: 3
Views: 4502

Re: ESP internal CAN

Thanks. Awesome, I will try the IDF driver. I tried the EVB with termination, CANdo etc & my production board just monitoring TX & RX. No signals. I will try the driver though.
by PeterR
Wed Sep 05, 2018 3:15 pm
Forum: ESP-IDF
Topic: ESP internal CAN
Replies: 3
Views: 4502

ESP internal CAN

Hi, I am attempting to get the internal CAN running. I am using https://github.com/ThomasBarth/ESP32-CAN-Driver with pins TX:5, RX: 4 I have also tried with an ESP32-EVB and TX:5, RX:35 Hooking probes onto GPIO_NUM_4 and GPIO_NUM_5 shows no activity. The SJA1000 registers on reset (0x): MOD: 76, CMR...
by PeterR
Mon Jul 16, 2018 10:34 am
Forum: Hardware
Topic: Can't TX, ESP32 + LAN8720 with GPIO0 Clock Out
Replies: 7
Views: 18145

Re: Can't TX, ESP32 + LAN8720 with GPIO0 Clock Out

Hi, I have had similar problem with the OLIMEX ESP32-EVB (which uses the LAN8720), see https://www.esp32.com/viewtopic.php?f=2&t=6261 I can see data come in but EMAC TX seems frozen. I have used the LAN8720 before without issue along side an NXP435x whilst developing a PTP driver. I can influence th...
by PeterR
Fri Jul 13, 2018 11:28 am
Forum: ESP-IDF
Topic: ESP32 wifi scan not finding SSID [solved]
Replies: 7
Views: 14619

Re: ESP32 wifi scan not finding SSID [solved]

Sure, will report when I have a view of Wifi disconnections and/or access issues. The issue this time was a mistyped SSID. So the software was correct in periodically reporting DISCONNECTED (instead of disconnecting). Working through the libwebsockets now as I cannot get reliable ethernet from the O...
by PeterR
Wed Jul 11, 2018 2:14 pm
Forum: ESP-IDF
Topic: ESP32 wifi scan not finding SSID [solved]
Replies: 7
Views: 14619

Re: ESP32 wifi

My bad, finger trouble with the SSID.
by PeterR
Wed Jul 11, 2018 1:47 pm
Forum: ESP-IDF
Topic: ESP32 wifi scan not finding SSID [solved]
Replies: 7
Views: 14619

ESP32 wifi scan not finding SSID [solved]

I have tried 'simple_wifi', 'scan' and 'wpa2_enterprise' on ESP-WROVER-KIT and ESP-EVB. I cannot see the devices SSID. Scan does not find any SSIDs and so not unsurprisingly 'wpa2_enterprise' does not connect, instead periodically reporting DISCONNECTED. My phone can see at least 4 networks. The net...