Skip to content

cpu/nrf52/periph/i2c: 16-bit adressing #16680

Description

@nicoHarel

Description

Hello everyone.
After my fix for cpp on the at24cx driver I tried using it in my app which is powered by a NRF52 MCU.

Big problem: the i2C periph of that MCU doesn't like it supports 16-bit register addressing (see: periph/i2c.c line 172)

Any reason why ?

Also a few lines later:

the nrf52's TWI device does not support to do two consecutive transfers
* without a repeated start condition in between. So we have to put all data
* to be transferred into a temporary buffer

That doesn't seem to be true:
See this link:
https://devzone.nordicsemi.com/f/nordic-q-a/5267/i2c-eeprom-with-16bit-addressing

I could use a use a 16KB AT24C chip but yeah... It's a bit small and ancient =)

Have a nice day.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions