Search found 6 matches

by danvica
Wed May 26, 2021 6:47 am
Forum: ESP32 Arduino
Topic: I2C reading problem - PCF85063A
Replies: 4
Views: 5446

Re: I2C reading problem - PCF85063A

Thanks for the hint about i2c_config_t declaration ! I'll try that too.

About the clock frequency, actually the graphs enclosed in the first message have been made using 10KHz (just because the shapes of the rising fronts are obviously better). I found no difference compare to 100KHz, though.
by danvica
Wed May 26, 2021 3:35 am
Forum: ESP32 Arduino
Topic: I2C reading problem - PCF85063A
Replies: 4
Views: 5446

Re: I2C reading problem - PCF85063A

Thanks for the reply. Yes, 12K resistors are present on both SDA and SCL lines. I however tried enabling/disabling internal pull-ups resistors without any visible effect. I've removed the error checking lines in the sample test I've enclosed, both i2c_master_cmd_begin calls return OK (0). I'll try y...
by danvica
Sun May 23, 2021 4:59 pm
Forum: ESP32 Arduino
Topic: I2C reading problem - PCF85063A
Replies: 4
Views: 5446

I2C reading problem - PCF85063A

I'm stuck trying to interfacing a RTC (PCF85063A) It seems bit 7 of every byte that it's been read is set to 1. To debug I'm trying to write/read a value into device's RAM cell (reg 0x3) In the below example it writes 0x05 and it reads 0x85. Here are the oscilloscope views of write and read cycles: ...
by danvica
Thu May 20, 2021 6:00 pm
Forum: ESP-IDF
Topic: MAX44009 two I2C reads without a stop in between
Replies: 6
Views: 4861

Re: MAX44009 two I2C reads without a stop in between

Hi,
did you find a solution ? Thanks
by danvica
Sun Apr 11, 2021 5:45 am
Forum: General Discussion
Topic: BLE Multiple characteristics problem
Replies: 2
Views: 3608

Re: BLE Multiple characteristics problem

I found the answer by myself.

Kolban's library already takes care of the right events but also defines a maximum number of handles that can be managed.

In BLEServer.h I've increased this value to 30:

Code: Select all

BLEService*     createService(BLEUUID uuid, uint32_t numHandles=30, uint8_t inst_id=0);
by danvica
Fri Apr 09, 2021 3:59 am
Forum: General Discussion
Topic: BLE Multiple characteristics problem
Replies: 2
Views: 3608

BLE Multiple characteristics problem

Hi, In my application I use three services and one of them contains several characteristics. The issue is that not all of them are advertised. I've read that it can happen when you have multiple requests of adding characteristics / descriptors / services and you should wait for onDescriptorWrite eve...