-
Posts
13 -
Joined
-
Last visited
-
Hello, I am using OPI one with Armbian_5.90_Ubuntu_bionic_4.19.57, so I fliped my 7" touch screen display vertically (rotated 180) by modifing: /etc/X11/xorg.conf/01-armbian-defaults.conf and it worked, but the touch doesn't correspond with it (still points as it was before rotation). how can i flip the touch information (x,y) coordinates vertically (rotate by 180)? Regards,
-
pmw on orange pi one isn't 3.3v in magnitude!
Younes_Thabet replied to Younes_Thabet's topic in Allwinner sunxi
It didn't work hahaha, but thanks for your help. i will post the solution once i get it to work properly. -
pmw on orange pi one isn't 3.3v in magnitude!
Younes_Thabet replied to Younes_Thabet's topic in Allwinner sunxi
@martinayotte Sir, do you have any idea what could be wrong with the 330mv pwm issue!? normally it should be 3.3V, right!? Thanks in advance. -
pmw on orange pi one isn't 3.3v in magnitude!
Younes_Thabet replied to Younes_Thabet's topic in Allwinner sunxi
i did change the satatus but no luck!! I have my pwm and all but it's peak value is around 330mv not 3.3v ...so maybe the problem is with pull-up resistors !? IDK! -
pmw on orange pi one isn't 3.3v in magnitude!
Younes_Thabet replied to Younes_Thabet's topic in Allwinner sunxi
I did decompile DTB into DTS, and this is what i found: uart0 { pins = "PA4/0PA5"; function = "uart0"; phandle = < 0x19 >; }; pwm@1c21400 { compatible = "allwinner,sun8i-h3-pwm"; reg = < 0x1c21400 0x08 >; clocks = < 0x0e >; #pwm-cells = < 0x03 >; status = "disabled"; phandle = < 0x56 >; }; there is no status line in uart0 and all other peripherals (spi i2c i2s ...) i tryed to change the status of pwm to "enabled" but with no luck!? -
Hello all, I used using opi one with (Armbian_5.90_Ubuntu_bionic_4.19.57) image. and used the uart0 pins for hardware pwm but the output was around 330mv pwm not 3.3v as i want. my initial thoughts was either the uart0 isn't disabled or there are no pull ups activated, although i tryed using this: https://github.com/iboguslavsky/pwm-sunxi-opi0 Remap pins in FEX: ; Disable debug UART0 [uart_para] uart_debug_port = 0 uart_debug_tx = port:PA04<2><1> uart_debug_rx = port:PA05<2><1> ; Enable PWM0 on PA05 [pwm0_para] pwm_used = 1 pwm_positive = port:PA05<3><0> but there is no FEX but DTB files and i didn't know how to disable uart0 and activate pwm in DTB/DTS files. so how can i get a 3.3v pwm on uart0 (hardware pwm) ?
-
Hello all, I have a 5" waveshare touch screen connected (touch screen cable) to an orange pi one through usb with a separate power cable for screen, and it works fine. but when I used the (microusb to microusb cable) for the touch it doesn't work.. is there any way to make it work!? because i need the usb for something else and i can't use a usb hub for it's too big for my application. Regards,
-
thanks again for the quick answer @martinayotte, i see from your answer that i don't need to modify a .dtb file but just add lines to armbianEnv.txt ... so i did add the "overlays=pwm" to armbianEnv and rebooted but when i use the PA05 pin i got a noisy signal, maybe i need to disactivate uart0 first, idk! I sure need to read more about overlays.
-
I have orange pi one with Armbian Xenial desktop legacy kernel 3.4.y which have a script.bin file in /boot directory and doesn't have /boot/dtb directory ...but when i installed Armbian Bionic mainline based kernel 4.19.y, I found the .dtb files but not the script.bin ....now i don't know how to configure both touch screen and the pwm pin! is the .dtb file (sun8i-h3-orangepi-one.dtb) is the same as script.bin or orangepione.bin ? if so, how to configure it? because i am used to convert the script.bin to .fex to configure it and then back to .bin.
-
can't install armbian on eMMC for orange pi win plus
Younes_Thabet posted a topic in Allwinner sunxi
Hello all, Recently, I bought an Orange Pi Win Plus board and have installed Armbian on SDcard and it works fine but when i try to install it on emmc using "sudo nand-sata-install" it just shows "install/update the bootloader on SD/eMMC" in the options instead of "boot from eMMC - system on eMMC" as i have seen on the internet . so guys! what am i doing wrong!? Regards,