The nRF9160 DK has an I/O expander that can optionally be used to interface the LEDs, slide switches, and buttons.
Any sample code available on how to interface to the I/O expander.
The nRF9160 DK has an I/O expander that can optionally be used to interface the LEDs, slide switches, and buttons.
Any sample code available on how to interface to the I/O expander.
I am not yet at the bottom of this. Here is what I am looking into at the moment: This section about the Board controller should provide some clues. It looks like the way to configure the I/O expander is to change the CONFIGs of the nRF52840 firmware. Also take a look at the nRF9160 DK board control sections showing possible routing.
Hi Francis, I now have an update from our DK team: As of now we do not have any driver or support available for the I/O expander in nRF Connect SDK. Support for the device is planned, however, I do not have any specific date for when this will be implemented.
Please refer to the already mentioned driver for nRF5 SDK as a reference for how to operate the I/O expander. Please also let us know if you have any other questions regarding how to set up the board as you are going forward.
@helsing any update on getting the nRF52840 to work? Earlier today I was trying to get connected to the nRF52840 with an app figuring that was how Nordic had setup the control of the external memory and I/O but I couldn't find the nRF52840 and there is nothing about access the I/O or memory other then it exist.
Hi Kevin,
I am not sure what exactly you are asking for. Perhaps you could create a new case and give a little background information, explaining what you would like to achieve?
Best regards,
Håkon
There was a new nRF Connect SDK tag, v1.5.0, released yesterday, with support for the I/O expander, PCAL6408A.
Please check out the updated documentation on Working with nRF9160 DK.
There has also been added functionality for selecting board revisions. The board revision feature must be enabled in order to make use of the I/O expander. Check out the description under Board Revisions.