Arduino Forum

Using Arduino => Displays => Topic started by: redflow on Nov 22, 2020, 09:56 am

Title: Failure with u8g2 usage on Arduino nano BLE sense with LD7032
Post by: redflow on Nov 22, 2020, 09:56 am
HI all
using u8g2 on an Arduino NANO BLE Sense with an LD7032 Display (FUTABA) I have strange behaviour: graphics and test start in the middle of the display with a part above the centre and a part belove.
https://www.dropbox.com/s/qi79ia6l82o3o4a/IMG-0373.JPG?dl=0 (https://www.dropbox.com/s/qi79ia6l82o3o4a/IMG-0373.JPG?dl=0)
https://www.dropbox.com/s/e081qs70gkcl1oe/IMG-0374.JPG?dl=0 (https://www.dropbox.com/s/e081qs70gkcl1oe/IMG-0374.JPG?dl=0)
https://www.dropbox.com/s/ibx5xpp5eg16epl/IMG-0375.JPG?dl=0 (https://www.dropbox.com/s/ibx5xpp5eg16epl/IMG-0375.JPG?dl=0)
These photos are the result of the example full_buffer-GraphicsTest but I've tried almost everything with same results: HW or SW connection, Full-Buffer or Paged....everything with same results.

The display was changed because the one we have bought with PCB had broken flat.

Any suggestion?

Thank you
Title: Re: Failure with u8g2 usage on Arduino nano BLE sense with LD7032
Post by: david_prentice on Nov 22, 2020, 10:21 am
Please post a link to the actual display that you have bought.

Copy-paste the u8g2 constructor that you have used.   i.e. one single statement pasted in a Code Window.

David.
Title: Re: Failure with u8g2 usage on Arduino nano BLE sense with LD7032
Post by: redflow on Nov 22, 2020, 12:08 pm
Hi David
this is the DataSheet of the Display:
https://www.mouser.it/datasheet/2/921/Futaba-04-14-2020-ELW0501AB_H_SHORT-1830787.pdf


and I'm using this constructor I'm using:

Code: [Select]
U8G2_LD7032_60X32_F_4W_SW_SPI u8g2(U8G2_R0, /*clock=*/ 11, /*data=*/ 12, /*cs=*/ 9, /*dc=*/ 10, /*reset=*/ 8);



Thank you!
Domenico
Title: Re: Failure with u8g2 usage on Arduino nano BLE sense with LD7032
Post by: david_prentice on Nov 22, 2020, 12:42 pm
You are using the SW constructor.   So it does not matter which GPIO pins that you use.

It looks as if there is a problem with the Driver geometry.   So I doubt if the I2C interface would be any different.   LD7032 has been supported since 2016.

I also see that you have raised an Issue on GitHub.
So you just need to wait until Oliver has some time.

You can try some different GPIO pins but your current choice should not interfere with any built-in hardware.
You can try the display on a different 3.3V Arduino e.g. Zero, Due.   This would verify whether it is Geometry or Nano33_BLE problem.

David.