Despite following the procedure listed below, no text appears on the OLED display, despite the driver being able to communicate with the device.
I am using nRF Connect SDK v1.4.0.
I build the example that I copied from {INSTALLDIR}\ncs\v1.4.0\zephyr\samples\display\cfb with the following modifications/additions:
- added nrf9160dk_nrf9160ns.overlay custom device tree overlay file
- updated prj.conf file to include SSD1306 and to enable the I2C port.
I build the example from within a bash window with the command "west build -b nrf9160dk_nrf9160ns".
After building, I program the nrf9160 with the cfb/build/zephyr/merged.hex.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
*** Booting Zephyr OS build v2.4.0-ncs1 ***
Flash regions Domain Permissions
00 00 0x00000 0x08000 Secure rwxl
01 31 0x08000 0x100000 Non-Secure rwxl
Non-secure callable region 0 placed in flash region 0 with size 32.
SRAM region Domain Permissions
00 07 0x00000 0x10000 Secure rwxl
08 31 0x10000 0x40000 Non-Secure rwxl
Peripheral Domain Status
00 NRF_P0 Non-Secure OK
01 NRF_CLOCK Non-Secure OK
02 NRF_RTC0 Non-Secure OK
03 NRF_RTC1 Non-Secure OK
04 NRF_NVMC Non-Secure OK
05 NRF_UARTE1 Non-Secure OK
06 NRF_UARTE2 Secure SKIP
