Search found 79 matches

by Lucas.Hutchinson
Tue Mar 13, 2018 8:13 pm
Forum: General Discussion
Topic: Wifi / Bluetooth Problems with custom Board
Replies: 6
Views: 11085

Re: Wifi / Bluetooth Problems with custom Board

Check that you have a full ground plane underneath the crystal.
We has a similar problem with the debug uart lines going under the crystal.

Also try contacting espressif directly via email. Their hardware support team is great and really helpful.
by Lucas.Hutchinson
Wed Jan 24, 2018 12:49 am
Forum: ESP-IDF
Topic: BLE communication between EPS32 and Mobile phones
Replies: 1
Views: 4585

Re: BLE communication between EPS32 and Mobile phones

This can be achieved with some simple modifications to the gatt_server or gatt_server_service_table examples in the IDF. You will first need to set your interval to 20ms. You can set this with the following code: esp_ble_conn_update_params_t conn_params; //todo maybe turn this into malloc/free memcp...
by Lucas.Hutchinson
Mon Jan 08, 2018 6:45 pm
Forum: General Discussion
Topic: BLE mtu and iPhone compatibility
Replies: 3
Views: 7393

Re: BLE mtu and iPhone compatibility

Yes the BLE data length extension is supported.

Initially it will connect at an mtu of 23.
iOS will then automatically negotiate a larger mtu. in iOS 10+ the MTU will be 185. in 9 and lower it is slightly smaller (about 150..? but i am not sure).
by Lucas.Hutchinson
Wed Nov 22, 2017 2:34 am
Forum: ESP-IDF
Topic: unreliable wifi on custom hardware
Replies: 2
Views: 4749

Re: unreliable wifi on custom hardware

Just checking if anyone has any thoughts on this?
by Lucas.Hutchinson
Wed Nov 08, 2017 3:31 am
Forum: General Discussion
Topic: BLE connection parameters update
Replies: 3
Views: 12293

Re: BLE connection parameters update

The min an max connection interval are set by the BLE spec. The minimum is 6 (6*1.25 = 7.5ms). I cant remember the max off the top of my head. this is a function that i use to adjust the connection interval on the client side of my application void gatt_client_update_connection_params(uint8_t channe...
by Lucas.Hutchinson
Mon Nov 06, 2017 10:23 pm
Forum: General Discussion
Topic: How often should I update esp-idf?
Replies: 2
Views: 4091

Re: How often should I update esp-idf?

It does depend a little bit on what parts of the IDF you are using. If v2.1 has all the support you need, and you are looking for api stability etc, then sticking with a specific release of the IDF is a good plan. However if, like me, you need some of the features of the upcoming v3.0 if the IDF the...
by Lucas.Hutchinson
Sun Nov 05, 2017 8:35 pm
Forum: Hardware
Topic: What matching components should be used for the 5x5 QFN package?
Replies: 9
Views: 13828

Re: What matching components should be used for the 5x5 QFN package?

You should use a PI matching network (like that shown in the post above).

However please bare in mind that you will probably have to tune this network by altering the values of the conductors and capacitors depending on your circuit layout and antenna choice.
by Lucas.Hutchinson
Sun Nov 05, 2017 8:34 pm
Forum: ESP32 Arduino
Topic: VFD using MCPWM
Replies: 1
Views: 5143

Re: VFD using MCPWM

I am not sure what the ESP32 pwm hardware supports, But if it doesnt support dead time insertion etc, then going with a FET driver that has cross conduction (dead time) logic and a few other protection features might be a good path forward. Something like this from ST(or any other manufacturer, this...
by Lucas.Hutchinson
Sun Nov 05, 2017 8:28 pm
Forum: General Discussion
Topic: BLE notification transfer size
Replies: 4
Views: 11594

Re: BLE notification transfer size

You can use the long characteristic read/writes to support characteristics larger than the MTU size. The ble stack will then automatically split the characteristic up into multiple packets to be sent. However since a notifications (and indications) are only ever a single packet event, you can't use ...
by Lucas.Hutchinson
Tue Oct 24, 2017 7:18 pm
Forum: ESP-IDF
Topic: Notes on using Windows Subsystem for Linux with ESP-IDF
Replies: 5
Views: 10092

Re: Notes on using Windows Subsystem for Linux with ESP-IDF

I am not exactly sure what the failure mode was. It was about 2-3 months ago. I am not 100% sure it was line endings, it could have been something else. i just remember re-cloning m code and the idf using the WSL git to a new folder let me build. I have since mostly just relied on the pre-compiled t...