GUIX sample code with I2C interface for NXP Controller

@Mra 21 Reputation points
2022-04-07T08:52:40.243+00:00

I am using NXP S32K148 controller. on the board i also have UG-2864KSWLG01 display IC. I use NXP to communicate with the Display.
the display is 128 x 64 Dot Matrix OLED/PLED Segment/Common Driver with Controller. I wanted to use Azure GUIX for Display.
Can any one share sample code for Azure GUIX which uses I2C module for communication.
If any sample code also there will be helpful.

Azure RTOS
Azure RTOS
An Azure embedded development suite including a small but powerful operating system for resource-constrained devices.
341 questions
{count} votes

Accepted answer
  1. Ken Maxwell 706 Reputation points Microsoft Employee
    2022-04-11T15:31:57.547+00:00

    For this type of architecture, we would normally recommend that you configure a local buffer for the GUIX canvas memory, and provide a buffer-toggle function that transfers the modified portion of the local canvas memory over I2C to the display after each drawing sequence. If you can send email to azure-rtos-support@microsoft.com, I can send you a template monochrome GUIX display driver that should help you implement this solution.

    Regarding the I2C interface specifics, I'm not sure we have that particular board in-house. I would leverage the bsp and examples provided by NXP to implement the memory-to-display graphic data transfer.


2 additional answers

Sort by: Most helpful
  1. @Mra 21 Reputation points
    2022-04-17T20:37:09.077+00:00

    Hi Ken,
    Thanks for the reply. The answer gave me some idea how to use it. I will go through the template file you have shared and go through and get back to you if i have any questions.
    I have already created low level I2C interface which can get data from Canvas, and write to display the data coming from Canvas.

    0 comments No comments

  2. @Mra 21 Reputation points
    2022-04-17T20:47:00.483+00:00

    Hi ken,
    I have also dropped mail to azure-rtos-support@microsoft.com, requesting for sample monochrome GUIX display driver. If you have can you share it with me plz.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.