Go to advanced search

by rlev
Sat Jul 25, 2020 12:54 am
Forum: Compute Module
Topic: CM3+ Reboot Using a GPIO
Replies: 3
Views: 472

Re: CM3+ Reboot Using a GPIO

Thank you for advise trejan.

Much appreciated it.
by rlev
Wed Jul 22, 2020 11:50 pm
Forum: Compute Module
Topic: CM3+ Reboot Using a GPIO
Replies: 3
Views: 472

Re: CM3+ Reboot Using a GPIO

Hi Forum,

Can somebody please shed some lights on this problem?

Thank you
by rlev
Wed Jul 22, 2020 3:07 am
Forum: Compute Module
Topic: CM3+ Reboot Using a GPIO
Replies: 3
Views: 472

CM3+ Reboot Using a GPIO

Hi Forum, I am trying to add a reboot button to my custom board ( based on the compute module CM3+). I have followed https://www.stderr.nl/Blog/Hardware/RaspberryPi/PowerButton.html which uses a gpio-shutdown overlay In the mentioned article GPIO3 is used but in my case I using GPIO44 ( GPIO3 is bei...
by rlev
Mon Apr 13, 2020 10:57 am
Forum: Device Tree
Topic: CM3 and Goodix GT911
Replies: 8
Views: 1419

Re: CM3 and Goodix GT911

Thank you 6by9
by rlev
Sun Apr 12, 2020 10:37 pm
Forum: Device Tree
Topic: CM3 and Goodix GT911
Replies: 8
Views: 1419

Re: CM3 and Goodix GT911

PhilE,

In this type of LCD with 50 pins RGB interface.
- Is there a way to turn the LCD on and off programmatically?
- Does the OS like Raspian turn the LCD off after some timeout without user input or interaction?

Thanks
by rlev
Thu Mar 26, 2020 8:42 pm
Forum: Compute Module
Topic: [SOLVED] CM3 Plus and WiFi/BT CYW43455
Replies: 114
Views: 21636

Re: [SOLVED] CM3 Plus and WiFi/BT CYW43455

Now works!

Thank you PhilE.

You saved the Day again.
by rlev
Thu Mar 26, 2020 8:35 pm
Forum: Compute Module
Topic: [SOLVED] CM3 Plus and WiFi/BT CYW43455
Replies: 114
Views: 21636

Re: [SOLVED] CM3 Plus and WiFi/BT CYW43455

Change to :

Code: Select all

console=tty1 root=PARTUUID=ea7d04d6-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
by rlev
Thu Mar 26, 2020 8:23 pm
Forum: Compute Module
Topic: [SOLVED] CM3 Plus and WiFi/BT CYW43455
Replies: 114
Views: 21636

Re: [SOLVED] CM3 Plus and WiFi/BT CYW43455

I got

Code: Select all

pi@raspberrypi:/boot $ sudo cat cmdline.txt
console=serial0,115200 console=tty1 root=PARTUUID=ea7d04d6-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
by rlev
Thu Mar 26, 2020 8:18 pm
Forum: Compute Module
Topic: [SOLVED] CM3 Plus and WiFi/BT CYW43455
Replies: 114
Views: 21636

Re: [SOLVED] CM3 Plus and WiFi/BT CYW43455

Is Uart1 (ttyS0) used by the CM3 console ?

I want to use this uart1 interface from Python as an regular serial interface.

Thanks
by rlev
Thu Mar 26, 2020 5:44 pm
Forum: Compute Module
Topic: [SOLVED] CM3 Plus and WiFi/BT CYW43455
Replies: 114
Views: 21636

Re: [SOLVED] CM3 Plus and WiFi/BT CYW43455

PhilE,

Thank you for your help.
Much appreciated it :)
by rlev
Thu Mar 26, 2020 5:28 pm
Forum: Compute Module
Topic: [SOLVED] CM3 Plus and WiFi/BT CYW43455
Replies: 114
Views: 21636

Re: [SOLVED] CM3 Plus and WiFi/BT CYW43455

PhilE, After I moved "enable_uart=1" out of [pi4] section I get pi@raspberrypi:~ $ raspi-gpio get BANK0 (GPIO 0 to 27): GPIO 0: level=0 fsel=6 alt=2 func=PCLK GPIO 1: level=1 fsel=6 alt=2 func=DE GPIO 2: level=1 fsel=0 func=INPUT GPIO 3: level=1 fsel=0 func=INPUT GPIO 4: level=0 fsel=6 alt=2 func=DP...
by rlev
Thu Mar 26, 2020 5:18 pm
Forum: Compute Module
Topic: [SOLVED] CM3 Plus and WiFi/BT CYW43455
Replies: 114
Views: 21636

Re: [SOLVED] CM3 Plus and WiFi/BT CYW43455

Ooops :o

I will modify the config.txt and test it.
by rlev
Thu Mar 26, 2020 5:09 pm
Forum: Compute Module
Topic: [SOLVED] CM3 Plus and WiFi/BT CYW43455
Replies: 114
Views: 21636

Re: [SOLVED] CM3 Plus and WiFi/BT CYW43455

PhilE, YES I am using "enable_uart=1" at the end ( last line) disable_overscan=1 hdmi_force_hotplug=1 hdmi_group=1 hdmi_mode=31 arm_freq=1200 dtparam=spi=off #lcd ignore_lcd=1 lcd_rotate=2 overscan_left=0 overscan_right=0 overscan_top=0 overscan_bottom=0 framebuffer_width=1024 framebuffer_height=600...
by rlev
Thu Mar 26, 2020 3:43 pm
Forum: Compute Module
Topic: [SOLVED] CM3 Plus and WiFi/BT CYW43455
Replies: 114
Views: 21636

Re: [SOLVED] CM3 Plus and WiFi/BT CYW43455

PhilE,

Code: Select all

http://paste.debian.net/1136775/
by rlev
Thu Mar 26, 2020 1:51 pm
Forum: Compute Module
Topic: [SOLVED] CM3 Plus and WiFi/BT CYW43455
Replies: 114
Views: 21636

Re: [SOLVED] CM3 Plus and WiFi/BT CYW43455

Hi PhilE, In my CM3 module I am using UART0 for the Bluetooth. I am trying to enable UART1 ( ttyS0 ) to be used on pins 40, 41 at the user space. I have added next line to the config.txt dtoverlay=uart1,txd1_pin=40,rxd1_pin=41 But I am seeing no UART1 ttyS0 being enable :( pi@raspberrypi:~ $ raspi-g...
by rlev
Wed Mar 25, 2020 10:34 pm
Forum: Compute Module
Topic: CM3 and Display Touch I2C Controller
Replies: 13
Views: 1896

Re: CM3 and Display Touch I2C Controller

Hi Guys,

For the sake of completion.

Just to let you know we dropped ST1633I chip in favor of GT911 chip which has support in Raspian.

Thank you all for your help.
by rlev
Tue Mar 10, 2020 6:31 pm
Forum: Device Tree
Topic: CM3 and Goodix GT911
Replies: 8
Views: 1419

Re: CM3 and Goodix GT911

PhilE, 6by9,

Understood.

Thank you very much for your guide and help.
by rlev
Tue Mar 10, 2020 10:44 am
Forum: Device Tree
Topic: CM3 and Goodix GT911
Replies: 8
Views: 1419

Re: CM3 and Goodix GT911

PhilE, Thank you for your response. I have found out that was the overlay goodix.dtbo the one enabling i2c1. https://raw.githubusercontent.com/raspberrypi/linux/rpi-4.19.y/arch/arm/boot/dts/overlays/goodix-overlay.dts I have modified it to use i2c0 matching my I2C pinout // Device tree overlay for I...
by rlev
Mon Mar 09, 2020 11:19 am
Forum: Device Tree
Topic: CM3 and Goodix GT911
Replies: 8
Views: 1419

CM3 and Goodix GT911

Hi Everyone, I have a LCD with 50 pins RGB interface that uses the Goodix GT911 as I2C control touch panel controller. We are using a custom board based on the Raspberry Pi CM3 Plus Module. The LCD works fine but for some reason we can not get the Touch screen panel to work. This is the Touch contro...
by rlev
Sun Mar 08, 2020 12:14 pm
Forum: Compute Module
Topic: CM3 and Display Touch I2C Controller
Replies: 13
Views: 1896

Re: CM3 and Display Touch I2C Controller

I have modified the overlay getting rid of the overrides part ( Not sure if needed ). But still the touch screen does not respond :(. // Device tree overlay for I2C connected sitronix st1633 touch controller // compile : dtc -@ -I dts -O dtb -o st1633-overlay.dtbo st1633-overlay.dts // deploy : sudo...
by rlev
Sat Mar 07, 2020 7:41 pm
Forum: Compute Module
Topic: CM3 and Display Touch I2C Controller
Replies: 13
Views: 1896

Re: CM3 and Display Touch I2C Controller

Any hints on this touch screen overlay?

Thank you
by rlev
Thu Mar 05, 2020 11:51 am
Forum: Compute Module
Topic: CM3 and Display Touch I2C Controller
Replies: 13
Views: 1896

Re: CM3 and Display Touch I2C Controller

6by9, Based on the pins mapping I am using ( st1633 chip i2c address= 0x38 ) GPIO 02 ----- RST/WAKE ( Output ) GPIO 03 ----- INT ( Input ) GPIO 28 ----- SDA0 GPIO 29 ----- SCL0 I have attempted to create a dts file, compiled and included it in the config.txt file st1633-overlay.dts /dts-v1/; /plugin...
by rlev
Tue Mar 03, 2020 1:37 pm
Forum: Compute Module
Topic: CM3 and Display Touch I2C Controller
Replies: 13
Views: 1896

Re: CM3 and Display Touch I2C Controller

Hi 6by9, Thanks for your feedback. The " 0x38 " value in below command refers to Sitronix I2C address of the st1633 chip pi@raspberrypi:~ $ sudo i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- ...
by rlev
Tue Mar 03, 2020 11:26 am
Forum: Compute Module
Topic: [SOLVED] CM3 Plus and WiFi/BT CYW43455
Replies: 114
Views: 21636

Re: [SOLVED] CM3 Plus and WiFi/BT CYW43455

PhilE,

We have decided to go back and use UART0 to drive the Bluetooth as was originally planned. After a modification in our hardware we have tested it and works ok.
Now we will try to set config.txt to try to use UART1 as a user application serial port.

Thank you very much for your help.
by rlev
Sat Feb 29, 2020 12:47 am
Forum: Compute Module
Topic: [SOLVED] CM3 Plus and WiFi/BT CYW43455
Replies: 114
Views: 21636

Re: [SOLVED] CM3 Plus and WiFi/BT CYW43455

Hi PhilE, Thanks for your response. I have tried the overlay you posted. This is result : pi@raspberrypi:~ $ sudo systemctl status hciuart.service ● hciuart.service - Configure Bluetooth Modems connected by UART Loaded: loaded (/lib/systemd/system/hciuart.service; enabled; vendor preset: enabled) Ac...

Go to advanced search