arduino / arduino/ArduinoCore-sam

Wire does not play nicely with Adafruit I2C FRAM breakout board

Open
#126 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
91
Forks
112
PR merge metrics
No merged PRs in 30d

Description

I'm trying to get some example sketch [MB85RC256V.ino](https://github.com/adafruit/Adafruit_FRAM_I2C/blob/master/examples/MB85RC256V/MB85RC256V.ino) running on Arduino Due to interface with an [Adafruit I2C FRAM breakout board](https://learn.adafruit.com/adafruit-i2c-fram-breakout). I've the issue that the IC is not detected at all. The I2C default address has not been changed and I'm using the [official docs to setup the board](https://learn.adafruit.com/adafruit-i2c-fram-breakout/wiring-and-test).

With the Arduino Due (SDA/20 + SCL/21) I'm getting this output:

```
Unexpected Manufacturer ID: 0xA00
I2C FRAM not identified ... check your connections?

Will continue in case this processor doesn't support repeated start
```

For comparison with the Arduino Mega (SDA/20 + SCL/21) I'm getting this output:

```
Found I2C FRAM
Restarted 7 times

0x0: 0x8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x20: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x40: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x60: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x80: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0xA0: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0xC0: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0xE0: 0x00 0x00 0x00 0x00 0x00 0x00 (...a lot of other FRAM dump data...)
```

In all post comments in the Arduino forum I've found so far about people running the breakout board and the Arduino Due successfully report that they are using own libs. Can someone confirm that the official libs support the Arduino Due and Adafruit I2C FRAM Breakout Board?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing examples/MB85RC256V/MB85RC256V.ino on an Arduino Due using SDA/20 and SCL/21, then compare the result with the reported Arduino Mega output. Inspect the Due Wire implementation and the sketch's FRAM detection path. Done means determining whether the official library supports this board combination and documenting or fixing the incompatibility.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.