Max I2C speed for Notecard

Hello,

I was wondering what is the maximum acceptable I2C speed for the Notecard. I’ve been trying to do some ESP32 DFU’s and they produce the error below when running the I2C at 400K.

{"req":"dfu.get","offset":196608,"length":4096}
{"payload":"ACIjSojWEgCICIkFLQkd8DZBAIKg/4cSOIKgcIAiECbCHSwIJzgIrHJmsh+GCAAAJtIUXAiHEhk8CIcSBsYCACiTHfAoox3wKLMd8BARIGX/pQwCHfAAADahAAwESQNJE0kjSTNJQ0lTWMKoYlBfBQtVSYKywiRaqiUdAe0KR5oCxmwASBpLakBmwJtGrQTiYQiB47/gCACCBgkbqlKgZaqk6IFXmCxyBgpSoGhXlyOCCgFCCgByCgJSCgOAiBFASCAAdxFARyCAVQFARSBJM0uqu0YbqgtaUgUAAFUjliX/G6oLWlIFAABVI5Yl/1IGCAwIfQhmFQlSCgAbqlkTBgcAG6oLWlIFAFBgZAAXQABmoQBVI2CIIHt3lkX+iRN89VJDCbIEAFKgegwHV5sojQcbqgtaUgUAUGBkABhAAGahAFUjYHcge4iWRf4MFVJDCrIEAXp6G0QbREzFXCZcCFw5xhcAV5sLsgoAG6qyQwkGEwAAZ5sMsgoAG6qyQwhGDwAAAIebMPIKABvKvQKtD4lhmXHpgclB+VFl5//4UchBvQrdAa0P5dT/uAGIYbkDmHHogQYCAACXmxAMG7JDC7IEABtEVsv5zFd9Cgw1FgcIQgMIUqD/VxQiQEAkJiQh9jQEjNRGBAAmNAgchSZEE4YBAAAcBYYCAACl5KUMhUYAAAzFQgMKWl4WxAAbVQtFQgQAAEQjliT/QgMJYqD/ZxQVvQKtBKXe/70K3QGtBM0FJcz/SAFJgigCjOJIAgxVjORAThXgRBGGAAAADIRJEwwFLQUd8AAANkEAi2IMFUKgAJgCiAPdBO0EkNWTgOWTSyIcDL0IrQnXDgiHGQWBtsDgCABLMyeW2AwCHfAAAAA2QQC9A60Cpbb/iFOMKIliHfCIE4AyISAzoDgDgIAUMIigmAgxccGIcjA5EIAzIDliHfAANoEADEYMBQwnvQ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I6AoIoICCJICCYJHAIICCpJHAUICC4JHAkJHA5ICDIICDZJBAJICDoJBAYICD0ghkkECgkEDRzsOWAFaREe7AoYrABtTRgAAbQNnNayGxP84Mr0COUFgM3StAyV4/0hBqVFYFBa17zBgNGlhSIFtBzlxi3EtBj0FOoKAUUGIQbhRgKWgaCqocd0Hi8bleA==","status":"2318096cc3ead2e790f61a76e12e921e"}
dfu: successfully transferred offset:196608 len:4096
dfu: reading chunk (offset:200704 length:4096 try:1)
{"req":"dfu.get","offset":200704,"length":4096}
{"payload":"/80KqGHdAQwLJXj/qCGnNA+4AbqqpzQEGyVGAQAtBh3wPQU3MsPGqv8XZhs4MrgDFhvqSIHNBK0CZaL/3FpLM7gDVvv+BqP/uDLIga0CJaH/LQod8C0KHfA4QhdjAgYw/wY1/x3wAAA2QQAiYwMip/iCoAB8+SlDISa/mQOJE4kjhxIXISS/rQLlg6SBI7+tAigIOQgpU6WFpB3wIR+/iAI5AolTHfAANkEAFqIDgiIAvEgpMyKn+Hz4KUMhFb+JA0kTWSOcckETv60EpX+kIRK/rQRIAjkCSVNlgaQd8AAhDr9IAjkCSVMd8AA2QQCMkogCjFi9A60C5fb/HfAAADZBAIgCFvgAoqAYgbm94AgAvQqtAiX1/x3wAAA2QQApMyKn+nz4KUMh+r6JA0kTWSOcciH4vq0C5Xikgfe+rQIoCDkIKVOleqQd8AAh876IAjkCiVMd8AA2QQAMDc0NvQOtAqX7/x3wNkEAoqAYgaC94AgADA29Cs0NIKIg5fn/HfAAADZBACBCIBbCCDIiABaDCDHfvhZTAKHevqVypJHevoIpAKxIKDgnlBvGAgAAmDKXlBCCyBTGAAAtCI0JSFJJCAYQAI0CKFhWIv6R074oCRaiBIhCB2gViDKICIeUGkhSSQmoMoGDveAIAIYFAIgyh5QGSFJJCYYCAJLCFChSVgL9BgYAnNOhwr4QESAlbqTcIhARIOXipB3wLQMd8AwCJ5Pjxvr/HfAAADZBAK0CJfX/LQod8DZBAIgCjJitAiX0/4FsveAIAB3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GDAAhq7s4EVghIDMQIqQzKiWIAcAiASAjIImBKZFGBQCRpLsMDpmR6YFGAgAAIVO6fPMpkTmBN+QCRtYCSJEhR7pAIiApkQbTAgAoQRtSWUEiAgFHEvPMEobOAgwVWcFoQQyYadEMBmmxaaEMiYYIACihJykN6LHg3qBQ3ZDZsYYBAABgZqBQZpAooRtEGyIpoUlBSEEiBABSwtBXuNGtB4Geu+AIAFgKrQeBnLvgCACoCoEduOAIAM0KvQWtBIE4uuAIAE0KjJoMClihjQq9CgYyAK0HgZG74AgAqAqBErjgCAAoQVihqqKpQSIKAFYlCa0FPASGAgAoQRuqG1JZQSICAUcS8Q==","status":"1f9a2e0ac41a58d32ab1c4377bf3cdf1"}
dfu: successfully transferred offset:200704 len:4096
dfu: reading chunk (offset:204800 length:4096 try:1)
{"req":"dfu.get","offset":204800,"length":4096}
{"payload":"QsLPDIVHtQIGIQCIQYnRjQoMCl0KIsLQG0oWIgVKiKqVTQUMixwMBgcAG0QL1Nc7DOix4N6g8N0R2bEGAgBHLAVgZqDwZhGXlN+qpQyEG1qnJA5IsUDUoCDdkNmxDARGAwAcCUKgAFcpBWBmoCBmkChBrQQbkplBIgIBRgEAWKGtBI0EQsLQDJlHuYgGAQAADAWNBQwbQq/fQEIQTFmXFALGJQCYwaAlIJAiIBYCEzhBLLQbIylBIgMBRxIKLNQMDEeSE8YBAAAMDMYAAAAADBwrIylBIgMCQsLQDJlHOVk8BAYCAChBG5KZQSICAUcS85LCzwyNDASXPUJCwtDYQQyeBgIAQESgIESQQsTQKEGSwgGSYQQiAgHywtD3vuXQmcDioAjRHLuXLgJHrQFNDUCQYMBJkwYBAAA5QQwEVgUL6MHgqiCMGgZRAlYbCUzkRxJMJyQJTJRHEhRGIAAAAEKgaUcSCUKgbkcSMwYcAACxELuiwRBlx/8WOgYoQbENuwsiosEQImEEJcb/zEooQRsiKUEhBrsMAymROYHGOwKxBruiwRBlxP+8OihBMgIALIInkx6xAbvNAaLBECWjB2ZaECH6ujgRS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AMC60HmUHZUelhgR+14AgA6GHYUZhBC+5wjqAMCqkIiAHgiFOJAQYXAD0KiCQciku4uSQbwmAisLcqBagURgIAAIcqAyxIiSSoBIgkioqCyPyICIkCLQzGCgDiyNAMmsYBAODuoIDukBszggMAnFiCyNCHuuxGAwAbM4IDAILI0ICAdIe68agRDLiHGgIGM/9SAwCMZYghJygChin/iAFSAwCYIRvyUJiDmQFgsrBwcqAciixMfI0sjgYjAFgHKCQLVfZlX5G+t5BVoFgFoAUAeyLQIhCLUlkkVyoEWBSGAQAnKgHpJFgEKCQqJSLC+IgCmBKJC5kbBhIAeyLQIhCLUlkkVyoFWBTGAQAAJyoB6SRYBCgkKiUiwviIApgSiQuZG0YHAEtSWSRXKgRYFIYBACcqAckkWAQoJColIsL8KAIpCxv/i7tLd1gBCy8nJQIG2v+IMZIhECkIiCE5CWAosB3wDDUmCQIGMf/Gbf8MZSYJAkYu/wZR/wwVJgkChiv/BjH/DEUmCQ==","status":"c134f48b636e95a928318993d22513a7"}
dfu: successfully transferred offset:204800 len:4096
dfu: reading chunk (offset:208896 length:4096 try:1)
{"req":"dfu.get","offset":208896,"length":4096}
i2c: no response
i2c receive error
{"err":"i2c: no response"}
dfu: error on read: i2c: no response
dfu: reading chunk (offset:208896 length:4096 try:2)
data too long to fit in transmit buffer
notecard not responding
data too long to fit in transmit buffer
notecard not responding
data too long to fit in transmit buffer
notecard not responding
dfu: insufficient memory

But when I change the speed to 100K they seem to update fine. Thank you for your help!

Sincerely,
Matt

1 Like

I sure hope you can release a firmware update for the Notecard that makes it compatible with world of current I2C busses. Unfortunately on the flip side of your card seeming only running at 100 kbit/s, there are master devices that are locked at 400 kbit/s or more. Fast and fast mode plus have been around since maybe 2006, locking your product to a speed that was defined in 1982, seems pretty limiting…

You might have a look at this I2C library (link below), I am not saying it will work on the processor you are using on the Notecard, but maybe it will give you some ideas. I am using this library on ATTiny85 devices running fine on a 400 kbit/s I2C bus. The ATTiny85s drive 90 WS2812B ‘NeoPixel’ LEDs and interacts with the I2C master just fine. I had to try a couple I2C libraries that were not able run at higher speeds or do clock stretching before finding this one.

I Square Too Dazed and Confused …

After failing to get the Notecard to be recognized on my Intel device, I went back and tested on a Pi Model 2B V1.1.

I set the I2C speed in the /boot/config.txt to both 100,000 and 400,000 baud and was able to communicate with the Notecard at both speeds. The first two screen captures attached below show the frequency of the I2C bus as captured by a Saleae Logic. Third picture below shows Intel device I2C bus capture. I have a I2C OLED screen and a Notecard on the I2C bus. The OLED screen is working fine, however the Notecard is not visible on the I2C bus.

Looks like I have some further investigating to do.

in /boot/config.txt on rpi
dtparam=i2c_arm=on,i2c_arm_baudrate=400000
--or--
dtparam=i2c_arm=on,i2c_arm_baudrate=100000

RPi at 400,000

RPi at 100,000

Intel at 400,000

I was thinking that it might have had to do with the strength of the pullup resistors that I had on the lines but I’ve swapped from 4.7K to 1K and have seen the behavior still be erratic, but it appears to only present itself when going through the DFU process. I have been able to get a DFU to complete on 100K, 400K, and 1M. But then other times they won’t complete. Curious to see what thoughts might be presented. Going to try smaller requesting smaller chunks and see if there is any different behavior.

Sincerely,
Matt

Hi @shonky2 and @dproffer,

We’ve done some testing internally and found the maximum speed at which I2C transactions are completely reliable is 100kHz. At 400kHz there were occasional failures when the modem was active and at 650kHz there were still greater failures.

If you can implement your own failure detection/retransmission process, you could safely run at 400kHz. But again the best reliability will be at 100kHz.

If running at a higher speed is critical, we would have to do some work to identify the root cause of failures and at which speeds etc.

Thanks,
Rob

Hi @RobLauer,

Thank you for the update and testing. I would really appreciate the deeper dive into seeing what could be done to have reliability at 400kHz. We have a couple other devices that run on the I2C bus at 400kHz reliably so we would prefer to not have to change speed. I would imagine this will come up more and more as the Notecard becomes more widely adopted being that Fast Mode is a common I2C speed.

Thank you!

Sincerely,
Matt

2 Likes

Maybe a silly question, but what is the termination resistor value of the current I2C bus?

Regards,
Rob

Not a silly question at all - it’s a 10K resistor

Did the team read this link from TI?

Is it possible to communicate with the notecard over RX/TX, and is it faster?

Hello,
I am having the same issue when trying to update ESP32 firmware over i2c. I have set the speed to 100k and sane results.
Wire.begin(SDA, SCL, 100000);
any advice?

Feedback:

dfu: successfully transferred offset:28672 len:4096
dfu: reading chunk (offset:32768 length:4096 try:1)
{“req”:“dfu.get”,“offset”:32768,“length”:4096}
i2c receive error
{“err”:“serial-over-i2c: no response to read request {io}”}
dfu: error on read: serial-over-i2c: no response to read request {io}
dfu: reading chunk (offset:32768 length:4096 try:2)
[E][esp32-hal-i2c.c:1434] i2cCheckLineState(): Bus Invalid State, TwoWire() Can’t init sda=0, scl=0
[E][esp32-hal-i2c.c:1434] i2cCheckLineState(): Bus Invalid State, TwoWire() Can’t init sda=0, scl=0
notecard not responding
dfu: insufficient memory
OTA Finished
ESP32 PARTITION SCHEME (should be two partitions to support OTA)
partition that should be ‘app0’ is ‘app0’ at 0x00010000 (1310720 bytes)
partition that should be ‘app1’ is ‘app1’ at 0x00150000 (1310720 bytes)

Hello @aguerrejoaquin,

Can you provide a bit more insight into your setup?

Specifically:

  • Which ESP32 dev kit are you using (Huzzah32, ESP32-DevKitC, etc…)?
  • Which Notecarrier are you using (AE, AL, AF, A, B, F)?
  • What is the version of the firmware on the Notecard?
  • Can you supply a picture of your setup?
  • Can you share your firmware (at least the relevant parts)?

All of these things would be extraordinarily helpful in diagnosing your problem.

Look forward to hearing from you,
Zak

Hi!

I am using ESp32devkit v4. I am not using any note carrier. I have my own developed PCB board. (attached pics)

Everything else on the notecard works fine. I am using continuous mode for GET requests and GPS time and location. on the same i2c bus I have temp sensors and an oled.

{“req”:“card.version”}
{“version”:“notecard-3.4.1.15117”,“device”:“dev:864475046544663”,“name”:“Blues Wireless Notecard”,“sku”:“NOTE-NBGL-500”,“board”:“1.11”,“api”:3,“body”:{“org”:“Blues Wireless”,“product”:“Notecard”,“version”:“notecard-3.4.1”,“ver_major”:3,“ver_minor”:4,“ver_patch”:1,“ver_build”:15117,“built”:“Jul 29 2022 11:30:03”}}

On the firmware side:
I can paste the parts that you would like to see no problem. I am using Platformio in VScode. Using the library and code example of the tutorial note-tutorials/dfu-tutorials/esp32/esp32-dfu-v1.1.1.1 at master · blues/note-tutorials · GitHub

Schematic Notecard


Cool board!

I happen to have a the same ESP32, so I’ll see if I can repro your problem today. :+1:

Off topic, but I was looking over the schematic, and I was curious what this button does.
image

It looks like there’s a pull-up on NRST to 3V3 (which is great), but when you press the button it also adds 3V3 :thinking:. Am I thinking of it wrong, or should the button should connect to GND if you want to reset the Notecard?

Zak

1 Like

Thanks! let me know if you find anything.
Yes!! good catch that should be GND… LOL

@aguerrejoaquin I was able to get the example to successfully update firmware, but I did run into a couple of stumbling blocks while reproducing your issue. I have a couple of questions based on my experience.

  • Which version of the DFU firmware is running on your board, and to which version are you updating (e.g. 1.0.0.0, 1.1.0.0, 1.1.1.1)?
  • What board definition are you using with PlatformIO?
  • Which pins are you using for I2C?

Thanks,
Zak