How to connect OLED C Click with Warp 7 by 3.3V PIN

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to connect OLED C Click with Warp 7 by 3.3V PIN

1,069 Views
chaunguyenngoc
Contributor III

I'm using OLED C Click display connect with Warp7 by 3.3V PIN.

Currently, we can not power on for OLED C Click display.

We found out that 3.3V PIN of Warp7 is disabled (do not have electricity)

We tried to used sample / libraries of OLED C Click display

(Provided by support site OLED C click - carries the PSP27801 OLED display | MikroElektronika )

(Libraries site: LibStock - OLED C click )

Result: SSH Terminal screen only display some lines of characters (Unknown character - like they are wrong encoded)

Question: 

- Why 3.3V PIN of warp7 is disabled by default ? 

- How can we enable 3.3V PIN of warp7 (by programming or manual)

- do OLED display need special driver or packages ?

System:

- Warp7 with Yocto Linux (core-image-base)

- Sample application is *.bin file

Labels (1)
6 Replies

652 Views
chaunguyenngoc
Contributor III

Hi igor

Sorry but we have mistake. 

When we enable all PINs by using "echo 1 > gpioXX/value" command. I realize power LED of OLED display is ON by RST PIN (gpio198). 

I test with Volmeter and LED light. There is no signal in 3.3V.

0 Kudos

652 Views
igorpadykov
NXP Employee
NXP Employee

one can try to attach jtag debugger and set iomux pin settings with it.

Check how that gpio is powered in Table 99,102  i.MX 7Dual functional contact assignments

i.MX7D Datasheet

http://cache.nxp.com/files/32bit/doc/data_sheet/IMX7DCEC.pdf

~igor

0 Kudos

652 Views
chaunguyenngoc
Contributor III

Sorry but I do not understand what you showed.

About datasheet, I still start to learn about reading, since I am not electrican but software developer.

I assume that 3.3V will be enable by source code. Because when i look in Mikroe's sample, I do not see any thing related to 3.3V PIN.

BTW, I am using i.MX7S (Warp7).

Is there any specific way to enable it ? (by programming)

0 Kudos

652 Views
igorpadykov
NXP Employee
NXP Employee

Hi chau

for changing gpio one can refer to

Definitive GPIO guide - Studio Kousagi Wiki 

for changing lcd timings/resolution :

Display Output, Resolution and Timings (Linux) 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

652 Views
chaunguyenngoc
Contributor III

I set all PIN ON by using script in link :smileyhappy:

https://wiki.openwrt.org/doc/hardware/port.gpio

 now 3.3V is working.

Next I will try to build an example base on Mikroe sample.

0 Kudos

652 Views
chaunguyenngoc
Contributor III

Hi igor

Sorry but can you go for more details.

I thought 3.3V PIN is power PIN which should be enable by default, is it right ?

I'm using Sysfsgpio on Linux but I can not determine which number of GPIO that i need to use. (I try to find Warp7 schematic but i still can not find any document.) All I can see is the text on board (3.3V, 5V, MISO,....)

0 Kudos