Starnote+wifi card: Serial-over-i2c: unexpected protocol byte count

Hi - I'm testing w/ starnote and quickly hooked up a ESP32 Adafruit Feather V2 to the XS QWIIC to the QWIIC connector on the esp32, 
SDA <-> SDA
SCL<->SCL 
GND<->GND

I issue a notecard.begin call and I'm seeing : 
[ERROR] serial-over-i2c: unexpected protocol byte count {io}

The library on the host side is blues notecard 1.7.1

I saw in a post that it was mentioned this error may have been fixed in FW 9.2.3 v which I am running. What did I do wrong ?

Hi @gomario2 ,

Would you mind sharing a quick photo, and the relevant setup section of your code?

Also, the section of the code where you setup the Note and send it.

Cheers,

Zak

As for the notecard , I just call

Notecard notecard;
notecard.begin()

The code is part of a much larger product which is running fine w/ the cellcard only solution. I’ll break it out to a very simple loop. My 1st thoughts on this was I had old FW ( notecard fw or the api ) .

* I did a I2C scan and it came back w/ addresses 0x17 and 0x6A , not sure why there are 2 addresses , I expected only 1

Also, in the pick the USB is connected to the XS board as well as the host mcu.

As for the notecard , I just call

Notecard notecard;
notecard.begin()

The code is part of a much larger product which is running fine w/ the cellcard only solution. I’ll break it out to a very simple loop. My 1st thoughts on this was I had old FW ( notecard fw or the api ) .

* I did a I2C scan and it came back w/ addresses 0x17 and 0x6A , not sure why there are 2 addresses , I expected only 1

Also, in the pick the USB is connected to the XS board as well as the host mcu.

UPDATE*******

I switched the wifi card for a cellcard and it worked. Also, I had to change some things in my code due to the Adafruit Feather is a esp32-pico-mini vs esp32S3 I use in production.

I don’t use WiFi in our solution so sat+cell is where I’m headed anyways. Thanks for listening to me walk through this :slight_smile:

1 Like

I’m glad I was able to be instrumental in your success! :rofl:

All kidding aside, I’m glad you are up and running, and thanks for reporting. We will try to replicate your issue with the Wi-Fi Notecard.

Cheers,

Zak

@gomario2 I have a follow-up for you.

The Note ESP is the only Notecard without pull-ups on the I2C lines, and from what I can tell from the ESP32 Adafruit Feather V2 Schematic it doesn’t either.

This would explain the odd address, 0x6A, as well as the protocol error.

I would imagine, if you added pull-ups or any generic Qwiic peripheral from Adafruit, it would behave better.

Again, thanks for reporting, because now there is help for the next person to find.

All the best,

Zak

2 Likes

Thanks thats a great observation – I have a custom board w/blues and will also check that schematic because that board is working great.

1 Like