Go to advanced search

by aBUGSworstnightmare
Tue Jul 27, 2021 6:33 pm
Forum: Compute Module
Topic: Power budget for CM4
Replies: 3
Views: 84

Re: Power budget for CM4

I know of any other loads connected to CM4 and 5V trace. I've already added it to my power budget. But I don't know how much I should consider for CM4. The other loads are known, but the CM4's peak consumption is not. Can the CM4 without any other load draw up to 2A? Tranks typ figure is given in t...
by aBUGSworstnightmare
Tue Jul 27, 2021 4:03 pm
Forum: Device Tree
Topic: Problems with overlay for TI TLC59116
Replies: 19
Views: 355

Re: Problems with overlay for TI TLC59116

https://elixir.bootlin.com/linux/latest/source/drivers/leds/leds-tlc591xx.c#L77 err = regmap_write(regmap, TLC591XX_REG_MODE1, MODE1_NORMAL_MODE); MODE1_NORMAL_MODE = (0 << 4), so the device no longer responds to the all call address. All call is great for debug quick testing, but is near useless i...
by aBUGSworstnightmare
Tue Jul 27, 2021 2:33 pm
Forum: Device Tree
Topic: Problems with overlay for TI TLC59116
Replies: 19
Views: 355

Re: Problems with overlay for TI TLC59116

Added a second "default-on" led (red one) and also tested with the board which is at adress 0x60h: working as well pi@raspberrypi:~ $ sudo i2cdetect -y 10 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -...
by aBUGSworstnightmare
Tue Jul 27, 2021 2:10 pm
Forum: Device Tree
Topic: Problems with overlay for TI TLC59116
Replies: 19
Views: 355

Re: Problems with overlay for TI TLC59116

As 6by9 has explained, 0x68 is an illegal address for the TLC59116 because it is reserved for broadcast use. The actual address is set by pins A0-A3 which should be pulled high or low, not left to float. The output of i2cdetect suggests they are pulled low in your case (or have floated that way), m...
by aBUGSworstnightmare
Tue Jul 27, 2021 1:15 pm
Forum: Compute Module
Topic: Power budget for CM4
Replies: 3
Views: 84

Re: Power budget for CM4

AFIK figures in the data sheet are not considering any external load. Power consumption of your system depends on the setup, i.e. how much current is available to the USB ports, do you pull current from the CM4 3.3V and/or 1.8V (both are max 600mA each), etc.. Do you have other HW which requires big...
by aBUGSworstnightmare
Tue Jul 27, 2021 1:07 pm
Forum: Compute Module
Topic: Using W5500 with CM4 + CM4IO board
Replies: 3
Views: 69

Re: Using W5500 with CM4 + CM4IO board

2. All the CM4(s) that I have are with eMMC and hence I am not sure the SD card slot on the CM4IO board is connected on the CM4 module at all. So I probably cannot try the SD card on the CM4IO board. Please correct me if I am wrong on this. will not work! You can either use a module with eMMC or a ...
by aBUGSworstnightmare
Tue Jul 27, 2021 12:16 pm
Forum: Compute Module
Topic: Using W5500 with CM4 + CM4IO board
Replies: 3
Views: 69

Re: Using W5500 with CM4 + CM4IO board

How is the module connected? Is it a HAT or do you run jump wires? Have you tested the uSD card which works in the Rpi4 on the CM4+CM4IO (non-active USB should not be a blocking point for such test). Can you try what happens when you add a condition for CM4 to your config.txt; below is just an examp...
by aBUGSworstnightmare
Tue Jul 27, 2021 12:07 pm
Forum: Device Tree
Topic: Problems with overlay for TI TLC59116
Replies: 19
Views: 355

Re: Problems with overlay for TI TLC59116

... IIRC Set total_mem=1008 in config.txt to stop the VPU from using that top 16MB segment. vcdbg should then be able to use /dev/mem to read it all. I think you still get the error logged, but it takes the alternate path. Thanks 6by9, that did the trick for vcdbg. Anyhow, overlay seems to be loade...
by aBUGSworstnightmare
Tue Jul 27, 2021 11:42 am
Forum: Advanced users
Topic: Two HDMI screens as one elongated screen (help)
Replies: 5
Views: 141

Re: Two HDMI screens as one elongated screen (help)

Why do you want two screens? Bigger resolution, left/right image (for 3D like) or what is your target?

Maybe a bigger one in a bar-shape format is less pain in the back.
by aBUGSworstnightmare
Tue Jul 27, 2021 7:35 am
Forum: Device Tree
Topic: Problems with overlay for TI TLC59116
Replies: 19
Views: 355

Re: Problems with overlay for TI TLC59116

pi@raspberrypi:~ $ sudo vcdbg log msg Failed to allocate -201253077 bytes for message buffer You've got FKMS or KMS loaded. There is 16MB of RAM that the ARM can't get to but the VPU can. There's a custom ioctl in bcm2708_fb to allow a DMA memcpy of that region for reading logs and other data. so w...
by aBUGSworstnightmare
Tue Jul 27, 2021 6:06 am
Forum: Advanced users
Topic: Two HDMI screens as one elongated screen (help)
Replies: 5
Views: 141

Re: Two HDMI screens as one elongated screen (help)

Hi everyone, I know very little of the Raspberry Pi's video output scheme, so forgive me if this is ignorant, but I have two HDMI monitors that I want to output a single fullscreened program to, in order to authentically physically emulate a Nintendo DS. The program window is naturally very wide fo...
by aBUGSworstnightmare
Tue Jul 27, 2021 5:32 am
Forum: Compute Module
Topic: CM4, custom MIPI TFT display connected to DISP1 DSI interface
Replies: 14
Views: 329

Re: CM4, custom MIPI TFT display connected to DISP1 DSI interface

@aBUGSworstnightmare: It sounds between the lines that you are a bit frustrated about the topic displays/panels together with raspi DSI...;-) but thank you for your links and help...and i can understand that it is hard to comment these things again/again to the guys who start to try to hook up a DS...
by aBUGSworstnightmare
Mon Jul 26, 2021 6:19 pm
Forum: Official Foundation Display
Topic: Official 7” touchscreen panning
Replies: 9
Views: 377

Re: Official 7” touchscreen panning

It works great for me running on fkms. I have tried Google and its a bit confusing. I am kind of a noob at raspberry pi, but I am learning a whole bunch thanks to peoples generious help. what is 'it'? Requested was --panning by you, I've explained how to use --scale and tested non-working --panning...
by aBUGSworstnightmare
Mon Jul 26, 2021 6:06 pm
Forum: Compute Module
Topic: Using DPI interface (RGB 24) on CM4
Replies: 6
Views: 143

Re: Using DPI interface (RGB 24) on CM4

I also don't understand if I should use this EEPROM (24AA32AFT-I). That is the EDID EEPROM which stores the details about this display. Apparently this EEPROM serves to connect something to the TC2030-IDC-NL connector. Am I right? TC2030 is a Tag-Connect debug connector . It is there to allow easy ...
by aBUGSworstnightmare
Mon Jul 26, 2021 4:00 pm
Forum: Official Foundation Display
Topic: Official 7” touchscreen panning
Replies: 9
Views: 377

Re: Official 7” touchscreen panning

Spannermaster wrote:
Mon Jul 26, 2021 3:16 pm
How would i run this command automaticly on start up???
why do you want to add a non-working command?
And what about asking google 'how to run xrandr commands at startup'?
by aBUGSworstnightmare
Mon Jul 26, 2021 3:55 pm
Forum: Compute Module
Topic: Using DPI interface (RGB 24) on CM4
Replies: 6
Views: 143

Re: Using DPI interface (RGB 24) on CM4

cleverca22 wrote:
Mon Jul 26, 2021 3:39 pm
also of note, the official touch screen is DPI based, but there is a DSI->DPI converter board stuck on the back of it
... Using a Toshiba IC which is EOL.

Don't expect to find lot of options..
by aBUGSworstnightmare
Mon Jul 26, 2021 2:02 pm
Forum: Compute Module
Topic: Using DPI interface (RGB 24) on CM4
Replies: 6
Views: 143

Re: Using DPI interface (RGB 24) on CM4

Use a TFP401 connected to HDMI0 i.e. Or a Toshiba DSI to DPI bridge if you can live with the fact that Toshiba has EOL'ed them already. Here is a schematic of that device used on my LVDS4CM3L https://www.raspberrypi.org/forums/viewtopic.php?f=98&t=310501&p=1857433&hilit=Tfp401#p1857433 h...
by aBUGSworstnightmare
Mon Jul 26, 2021 12:36 pm
Forum: Device Tree
Topic: Problems with overlay for TI TLC59116
Replies: 19
Views: 355

Re: Problems with overlay for TI TLC59116

Spend some time today on another FRESH kernel compile, making sure only 'PWM driver LED support' and 'TLC59116' got added to the kernel config (wasn't 100% on the kernel build done yesterday), but still the same bad result: 0x68h is not there anymore! What makes it worse is the fact that I've added ...
by aBUGSworstnightmare
Mon Jul 26, 2021 12:04 pm
Forum: Compute Module
Topic: CM4, custom MIPI TFT display connected to DISP1 DSI interface
Replies: 14
Views: 329

Re: CM4, custom MIPI TFT display connected to DISP1 DSI interface

@jamesh: Wow this is really good news, very much appreciated! And yes, MIPI DSI seems to be really tricky and lots of displaycontrollers around... ...so but for my special "problem" it seems that i am very close to my solution: I have a kernel driver already for the st7701s (panel-sitroni...
by aBUGSworstnightmare
Mon Jul 26, 2021 12:02 pm
Forum: Compute Module
Topic: CM4, custom MIPI TFT display connected to DISP1 DSI interface
Replies: 14
Views: 329

Re: CM4, custom MIPI TFT display connected to DISP1 DSI interface

Hi, i hooked up an TFT display with an st7701s interface chip from here: https://www.buydisplay.com/4-inch-tft-lcd-display-480x480-pixel-with-mipi-interface-for-iot-devices https://www.buydisplay.com/download/ic/ST7701.pdf to a CM4 on the DISP1 DSI port. It has two DSI lines and i configured it for...
by aBUGSworstnightmare
Mon Jul 26, 2021 11:46 am
Forum: Compute Module
Topic: CM4, custom MIPI TFT display connected to DISP1 DSI interface
Replies: 14
Views: 329

Re: CM4, custom MIPI TFT display connected to DISP1 DSI interface

Gavinmc42 wrote:
Mon Jul 26, 2021 8:39 am
Sure would be nice if RPF had some direct connect DSI displays.
Seems a shame to waste those two on the CM4 I/O board and the single one on the PI4 boards.
.
Has anyone got DSI displays working without using a converter chip?
https://github.com/harlab/CM4_LCD_LT070ME05000
by aBUGSworstnightmare
Mon Jul 26, 2021 11:45 am
Forum: Compute Module
Topic: CM4, custom MIPI TFT display connected to DISP1 DSI interface
Replies: 14
Views: 329

Re: CM4, custom MIPI TFT display connected to DISP1 DSI interface

DSI displays are very difficult to get going. The DSI spec describes an electrical connection, but the register settings is pretty much a free for all, so every display is different, and every display usually needs some arcane set of registers set to values that make no sense to anyone except the d...
by aBUGSworstnightmare
Mon Jul 26, 2021 5:16 am
Forum: Official Foundation Display
Topic: cable extensions
Replies: 1
Views: 62

Re: cable extensions

Ask at a qualified reseller in your country i.e.? I.e. https://shop.pimoroni.com/ for the UK, https://www.berrybase.de/ in Germany and xxx where you are. Amazon, ebay is also an option; it's a 15pin FFC with 1mm pitch. Jump wires use Dupond connecfors. Don't try to make the DSI cable too long; MIPI ...
by aBUGSworstnightmare
Sun Jul 25, 2021 4:56 pm
Forum: Compute Module
Topic: Retro Lite CM4: Handheld Gaming Console
Replies: 118
Views: 14743

Re: Retro Lite CM4: Handheld Gaming Console

Hi guys. I’ve finally got the CM4 consistently booting up now, but having issues with HDMI1 video output to my Japanese TV. I have tried with the compute module IO board and successfully got HDMI out of HDMI1 (HDMI0 didn’t seem to work though which was weird) so I’m assuming that it’s either my rou...
by aBUGSworstnightmare
Sun Jul 25, 2021 1:27 pm
Forum: Device Tree
Topic: Problems with overlay for TI TLC59116
Replies: 19
Views: 355

Re: Problems with overlay for TI TLC59116

Don't! dt-blob.bin configures FIRMWARE resources, not kernel. bcm2710-rpi-cm3 defines the GPIOs that are used for the BSC0 mux as being 0&1 and 28&29 on that platform. If the firmware has left the wrong set of pins muxed for BSC0 then the kernel is not guaranteed to disable them all, and it...

Go to advanced search