Zephyr on Hexiwear and integrated Display Support


Marvin Beckmann <marvin@...>
 

Hi guys,

I am using Zephyr on the Hexiwear Board. I accomplished to use the hearrate sensor and some other sensors on the board.

But I am still having trouble with the integrated Display (SSD1351 OLED Display with SPI)

I didn't find drivers for this display. So i decided to use the SSD1306 Drivers.

It seems to work, because the functions for the display return zero, but display is not showing anything.

Is there any chance to support SPI on the Hexiwear Board and using the integrated display.

Here is the link for my code: https://gitlab.com/MarvB19/hexiwear_display <https://gitlab.com/MarvB19/hexiwear_display>

I hope you can help me :)

Have a nice day.


Kind regards

Marvin Beckmann


Maureen Helm
 

Hi Marvin,
The Hexiwear board can use the same SPI driver as the FRDM-K64 board, but you need to configure the SPI pinmuxes. Check the schematic to determine which SPI instance and pins to use. They may not be the same as FRDM-K64F, but should look something like this:
https://github.com/zephyrproject-rtos/zephyr/blob/a9b1c42f403737a2abfeae31e6b5fd43f1d7869f/boards/arm/frdm_k64f/pinmux.c#L61-L67

Maureen

-----Original Message-----
From: users@lists.zephyrproject.org <users@lists.zephyrproject.org> On Behalf Of Marvin Beckmann via lists.zephyrproject.org
Sent: Tuesday, June 29, 2021 9:22 AM
To: users@lists.zephyrproject.org
Subject: [Zephyr-users] Zephyr on Hexiwear and integrated Display Support

Hi guys,

I am using Zephyr on the Hexiwear Board. I accomplished to use the hearrate sensor and some other sensors on the board.

But I am still having trouble with the integrated Display (SSD1351 OLED Display with SPI)

I didn't find drivers for this display. So i decided to use the SSD1306 Drivers.

It seems to work, because the functions for the display return zero, but display is not showing anything.

Is there any chance to support SPI on the Hexiwear Board and using the integrated display.

Here is the link for my code:
https://gitlab.com/MarvB19/hexiwear_display
<https://gitlab.com/MarvB19/hexiwear_display>

I hope you can help me :)

Have a nice day.


Kind regards

Marvin Beckmann