3 years, 4 months ago.

I2CSlave on u-blox EVK-NINA-B1

Hi,

I am trying to compile the I2CSlave example from the mbed website (https://docs.mbed.com/docs/mbed-os-api-reference/en/5.1/APIs/interfaces/digital/I2CSlave/) on an u-blox EVK-NINA-B1 board. When I try to compile, I get the error "'I2CSlave' does not name a type". Looking through the targets attributes on the mbed-cli it does not seem to have that feature activated. The NINA-B1 itself is based on the nrf52 chip, and it lists being capable of I2C Master and Slave on its datasheet. (Point 2.4.3 on page 13 https://www.u-blox.com/sites/default/files/NINA-B1_DataSheet_%28UBX-15019243%29.pdf).

Anybody knows how this feature could be enabled or any pointers as to how to extend the mbed HAL to support it on this chip?

Thanks a lot!

Best, Eduardo

Be the first to answer this question.