Search found 10 matches

by richardl
Mon Jul 22, 2019 1:33 pm
Forum: Report Bugs
Topic: First I2C transaction is at wrong speed
Replies: 1
Views: 197

Re: First I2C transaction is at wrong speed

Please ignore this, turns out SPI GPIO was conflicting with I2C
by richardl
Mon Jul 22, 2019 1:31 pm
Forum: Report Bugs
Topic: ESP32 Wroom 4.1, spi_master no longer drives display
Replies: 1
Views: 166

Re: ESP32 Wroom 4.1, spi_master no longer drives display

This could be a faulty unit rtaher than a bug. Will test with replacement
by richardl
Sun Jul 21, 2019 5:04 pm
Forum: Report Bugs
Topic: First I2C transaction is at wrong speed
Replies: 1
Views: 197

First I2C transaction is at wrong speed

IDF V 3.2 When running I2C even when rate set to 100KHz first transaction is at >1MHz. If you do a fake 1st transacton it sorts itself out and rate is fine after Using code below // I2C.h #pragma once #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/event_groups.h" #inclu...
by richardl
Sat Jul 20, 2019 8:06 am
Forum: Report Bugs
Topic: ESP32 Wroom 4.1, spi_master no longer drives display
Replies: 1
Views: 166

ESP32 Wroom 4.1, spi_master no longer drives display

Since moving to Cmake and using the provided spi-master examples in the sdk the TFT no longer works. It just flashes sporadically.

Tried with the latest version of the tool chain from esp-idf_tools-setup 2.0
by richardl
Sat Jul 20, 2019 8:02 am
Forum: ESP32 IDF
Topic: Announcement: ESP32 LCD Display Tutorial
Replies: 2
Views: 265

Re: Announcement: ESP32 LCD Display Tutorial

Hi there, thanks for posting this, however I am unable to get it to work on a Wroom Devkit 4.1 . The display just flashes every so ofen
by richardl
Mon Jan 07, 2019 7:43 am
Forum: ESP32 IDF
Topic: esp_ble_gatts_create_attr_tab() with multiple Services
Replies: 3
Views: 655

Re: esp_ble_gatts_create_attr_tab() with multiple Services

Many thanks, the only links I could find were creating a single service, which was not my issue, if you could point me in the right direction that would be great. I solved this by making a separate per service table and then called esp_ble_gatts_create_attr_tab() & esp_ble_gatts_start_service() for ...
by richardl
Mon Jan 07, 2019 7:36 am
Forum: ESP32 IDF
Topic: GATT Server, retrieving UUID from handle
Replies: 0
Views: 250

GATT Server, retrieving UUID from handle

I am trying to match handles with UUID's post the esp_ble_gatts_create_attr_tab() call. Is there a function like esp_ble_gatts_get_attr_value() which rather than pulling the value using a handle allows me to get the original UUID I submitted when creating the characteristic? If not whats the best wa...
by richardl
Sun Jan 06, 2019 11:55 pm
Forum: ESP32 IDF
Topic: esp_ble_gatts_create_attr_tab() with multiple Services
Replies: 3
Views: 655

esp_ble_gatts_create_attr_tab() with multiple Services

I am trying to set up a GATT server which has multiple service. I did this by adding my services to the end of the current esp_gatts_attr_db_t. However when trying to pass them to the API I get: E (620) BT_BTC: Each service table can only created one primary service or secondly service. E (630) GATT...
by richardl
Mon Dec 31, 2018 3:05 pm
Forum: ESP32 IDF
Topic: BT GATT Server Changing values
Replies: 1
Views: 309

Re: BT GATT Server Changing values

OK, all sorted now. 1.) Found the ESP_GATT_RSP_BY_APP flag, so App does the response 2.) Handled my own notification using esp_ble_gatts_send_indicate(); Addendum, actually abandoned the "simpler" Table based solution as it it actually much easier to set the service, characteristics and descriptors ...
by richardl
Sun Dec 30, 2018 11:54 am
Forum: ESP32 IDF
Topic: BT GATT Server Changing values
Replies: 1
Views: 309

BT GATT Server Changing values

I am using the table version of the standard ESP32 GATTs example, it worked fine, however as an ex-CSR programmer I have 2 major disconnects as to its proper use. 1.) There seems to be no option to handle the return value in code rather than by a static table. I.E. once the table is set up the value...

Go to advanced search