Go to advanced search

by 6by9
Sat Aug 08, 2020 11:29 am
Forum: Graphics, sound and multimedia
Topic: Stream HDMI input
Replies: 4
Views: 165

Re: Stream HDMI input

The link to a 2014 blog post is seriously out of date - the Pi2 hadn't even been launched then. Yes there are HDMI to CSI bridge boards available which can do 1080p50 on all Pis, although that is stretching the video encoder which is specced for 1080p30. Numerous threads on here, including a sticky ...
by 6by9
Sat Aug 08, 2020 9:26 am
Forum: Troubleshooting
Topic: USB problems after update
Replies: 11
Views: 574

Re: USB problems after update

A GIthub issue has been raised - https://github.com/raspberrypi/linux/issues/3779. Please use that for further debugging to avoid duplication of effort.
by 6by9
Fri Aug 07, 2020 5:49 pm
Forum: Troubleshooting
Topic: Custom MIPI DSI panel - dsi works but the display is always black
Replies: 26
Views: 788

Re: Custom MIPI DSI panel - dsi works but the display is always black

Hi But when I write to the framebuffer (sudo dd if=/dev/urandom of=/dev/fb0 bs=1M count=1) my screen stay black too but in my case I can't see that the bitstream changes on the DSI data lanes. I noticed that my framebuffer doesn't change the bitstream on the kernel 5.4. Kernel 4.19.118 works fine (...
by 6by9
Fri Aug 07, 2020 1:44 pm
Forum: Camera board
Topic: Can the HQ camera output 4k over HDMI?
Replies: 4
Views: 130

Re: Can the HQ camera output 4k over HDMI?

Thank you sir, very helpful! To make sure I'm clear, the CSI throughput bottleneck is on the module side, not necessarily the pi side? Is that right? So even something like the Jetson Nano would have the same limitation trying to use the HQ cam? With the current implementation of the HQ camera ther...
by 6by9
Fri Aug 07, 2020 1:12 pm
Forum: Camera board
Topic: HQ Camera stock replenishment
Replies: 9
Views: 354

Re: HQ Camera stock replenishment

Afaik there are no plans to change the filter. Excellent! You have the cheapest UV photography capable camera now on the market. By at least an order of magnitude, almost 2. My dream would be for a future SHQ (super hq) camera using the Panasonic MN34230 sensor. That has the best UV sensitivity of ...
by 6by9
Fri Aug 07, 2020 1:01 pm
Forum: Advanced users
Topic: Pi4 USB messages dropping
Replies: 12
Views: 587

Re: Pi4 USB messages dropping

So, adding in the delay has actually improved driver stability. Its not by any means fixed, but it seems to take significantly longer between failures with anything above 60us delay, although I have not tested above 120us. Still odd behavior, and even more so because its only occurring on the pi 4,...
by 6by9
Fri Aug 07, 2020 9:00 am
Forum: HATs and other add-ons
Topic: Problem getting dtoverlay=sc16is752-i2c to load
Replies: 1
Views: 60

Re: Problem getting dtoverlay=sc16is752-i2c to load

https://github.com/raspberrypi/linux/issues/3765
Updated kernel available via rpi-update. A bump of the apt kernel package is expected soon to deal with this and a couple of other regressions from the switch to the 5.4 kernel.
by 6by9
Fri Aug 07, 2020 8:57 am
Forum: Device Tree
Topic: Request adding additional sensors to dtoverlay sensor supported list?
Replies: 1
Views: 72

Re: Request adding additional sensors to dtoverlay sensor supported list?

It's not rocket science, but it also doesn't happen by magic. There's also a requirement for drivers to exist in the kernel, and someone to have the hardware to test the overlays with. Looking down your list, DS3231 is already supported via the i2c-rtc overlay. I haven't checked for the other ones. ...
by 6by9
Fri Aug 07, 2020 8:37 am
Forum: Camera board
Topic: Can the HQ camera output 4k over HDMI?
Replies: 4
Views: 130

Re: Can the HQ camera output 4k over HDMI?

The HQ camera only has 2 of the 4 CSI-2 data lanes wired up. Each lane carries up to 1Gbit/s based on the CSI-2 spec (some devices overclock it). 3840x2160 @ 12bit/pixel is 99532800 bits. At 30fps that is 2985984000 bits/sec, which exceeds the limit for 2 lanes. So no, the HQ camera can't capture 4k...
by 6by9
Fri Aug 07, 2020 6:16 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Change i2c0 speed
Replies: 13
Views: 2123

Re: Change i2c0 speed

See /boot/overlays/README So dtparam=i2c_vc_baudrate=x seems to be required in /boot/config.txt. I'm using camera on my pi 2B, but for some reasons i need to slow down the i2c speed of camera inerface, will this parameter work? If using libcamera and the kernel drivers, then yes. If using the firmw...
by 6by9
Thu Aug 06, 2020 3:50 pm
Forum: Troubleshooting
Topic: Custom MIPI DSI panel - dsi works but the display is always black
Replies: 26
Views: 788

Re: Custom MIPI DSI panel - dsi works but the display is always black

Our 5.4 branch has gained a load of patches that start to implement vc4-kms-v3d for Pi4, however they are known to have broken DSI on Pi3 in the process :( Apologies for this. We are in the process of backporting v5 of that patchset to our 5.4 branch, but it's not totally trivial as they're based on...
by 6by9
Thu Aug 06, 2020 3:06 pm
Forum: Compute Module
Topic: I2S - PCM
Replies: 24
Views: 10087

Re: I2S - PCM

The Pi can send multiplex a very specific set of signals to specific GPIOs, as listed in section 6.2 of the datasheet.

The (light green) I2S signals can be sent to GPIOs 18-21, or to 28-31, AND NO OTHERS. You can't randomly assign PCM_CLK from GPIO18 to GPIO16.
by 6by9
Thu Aug 06, 2020 1:40 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [UPDATED, SOLVED] Why "cheap" Chinese HDMI-to-CSI2 adapters (e.g.18810-1 C779) doesn't provide I2S sound
Replies: 24
Views: 955

Re: [UPDATED, SOLVED] Why "cheap" Chinese HDMI-to-CSI2 adapters (e.g.18810-1 C779) doesn't provide I2S sound

There are a couple of bands of change at the edges of some bars, which probably implies there is a filter somewhere that is still active. The blacks at the bottom are also reading as 1,0,1 from the C779, but 0,0,0 from the B100, and white as 254,253,254 vs 254,254,254 - again possibly a conversion ...
by 6by9
Thu Aug 06, 2020 1:25 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [UPDATED, SOLVED] Why "cheap" Chinese HDMI-to-CSI2 adapters (e.g.18810-1 C779) doesn't provide I2S sound
Replies: 24
Views: 955

Re: [UPDATED, SOLVED] Why "cheap" Chinese HDMI-to-CSI2 adapters (e.g.18810-1 C779) doesn't provide I2S sound

yavta hasn't stopped the device streaming, therefore the call to set the timings fails as it'll update the device format, and you can't do that whilst it is streaming. And what is workaround for this? Or just "not to set timings while streaming"?;) It needs to stop streaming if it is already, set t...
by 6by9
Thu Aug 06, 2020 10:55 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [UPDATED, SOLVED] Why "cheap" Chinese HDMI-to-CSI2 adapters (e.g.18810-1 C779) doesn't provide I2S sound
Replies: 24
Views: 955

Re: [UPDATED, SOLVED] Why "cheap" Chinese HDMI-to-CSI2 adapters (e.g.18810-1 C779) doesn't provide I2S sound

As to yavta failing on "source changed" exception, using a Pi as a source and explicitly changing the mode, I get 321 (1) [-] none 321 4147200 B 11111.239985 11111.256719 60.006 fps ts mono/EoF 322 (2) [-] none 322 4147200 B 11111.256652 11111.273396 59.999 fps ts mono/EoF 323 (3) [-] none 323 41472...
by 6by9
Thu Aug 06, 2020 10:05 am
Forum: OpenMAX
Topic: what's the OMX_VIDEO_CodingXXX definition for HEVC video format?
Replies: 15
Views: 913

Re: what's the OMX_VIDEO_CodingXXX definition for HEVC video format?

When the Pi4 was first launched mainline HEVC decode was even further behind where it is now, but things like LibreElec wanted to be able to make use of the hardware. A version of FFmpeg was produced that used /dev/rpivid-hevcmem and /dev/rpivid-intcmem as memory mapped register banks to directly po...
by 6by9
Thu Aug 06, 2020 9:41 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [UPDATED, SOLVED] Why "cheap" Chinese HDMI-to-CSI2 adapters (e.g.18810-1 C779) doesn't provide I2S sound
Replies: 24
Views: 955

Re: [UPDATED, SOLVED] Why "cheap" Chinese HDMI-to-CSI2 adapters (e.g.18810-1 C779) doesn't provide I2S sound

My only other thought is to run "v4l2-ctl --log-status" to dump out the internal state of the driver in each case. That should include all the details of the HDMI AVI Infoframe which should describe the incoming video.
by 6by9
Thu Aug 06, 2020 9:39 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [UPDATED, SOLVED] Why "cheap" Chinese HDMI-to-CSI2 adapters (e.g.18810-1 C779) doesn't provide I2S sound
Replies: 24
Views: 955

Re: [UPDATED, SOLVED] Why "cheap" Chinese HDMI-to-CSI2 adapters (e.g.18810-1 C779) doesn't provide I2S sound

So based on the previous issue that had been raised, I'm looking at the VOUT_SET2 in the tc358743 driver. COLORMODE is always set to AUTO (1). The datasheet contradicts the names given in the driver though. 0x00 is "through mode" (RGB888 output) 0x01 is "Enable RGB888 to YUV422 conversion (Fixed col...
by 6by9
Thu Aug 06, 2020 8:15 am
Forum: Camera board
Topic: Max weight for lenses
Replies: 6
Views: 246

Re: Max weight for lenses

If at all worried, then mount the lens and let the module float on the back, as shown with the huge Canon lens in the original blog post.
by 6by9
Thu Aug 06, 2020 7:22 am
Forum: Camera board
Topic: HQ Camera external sync signals support added
Replies: 17
Views: 646

Re: HQ Camera external sync signals support added

I connected the XVS and ground of two imx477 modules, each module is connected to a different pi. Which is now the recommended procedure to capture? If I first start the sync and then start the source, the sync will not show any images and complains about not receiving data. If I first start the so...
by 6by9
Wed Aug 05, 2020 8:48 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [UPDATED, SOLVED] Why "cheap" Chinese HDMI-to-CSI2 adapters (e.g.18810-1 C779) doesn't provide I2S sound
Replies: 24
Views: 955

Re: [UPDATED, SOLVED] Why "cheap" Chinese HDMI-to-CSI2 adapters (e.g.18810-1 C779) doesn't provide I2S sound

V4l2-ctl will stall whilst saving files. I'll try to remember to look at the datasheet to see what those registers are. I seem to recall they are related to the colour conversion matrixes, but I don't think there is an auto mode that could be misdetecting. As for the extraneous timing changes, I can...
by 6by9
Wed Aug 05, 2020 4:14 pm
Forum: Camera board
Topic: Raspberry HQ camera hasn't been implemented well?
Replies: 19
Views: 899

Re: Raspberry HQ camera hasn't been implemented well?

I think your problem is Picamera. I don't think it knows the HQ camera at all. I think HermanSW is correct and that is the problem.\ I am reading through the code and IMX477 may need to be added to lines 223. to add the sensor modes. I have added it and will test if better. I've already corrected H...
by 6by9
Wed Aug 05, 2020 4:03 pm
Forum: Camera board
Topic: Setting exposure time and framerate through V4L2 driver
Replies: 3
Views: 102

Re: Setting exposure time and framerate through V4L2 driver

The definitions for each of those controls is also in the V4L2 kernel docs at https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/ext-ctrls-image-source.html (V4L2_CID_HBLANK and V4L2_CID_VBLANK) and https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/ext-ctrls-image-process.ht...
by 6by9
Wed Aug 05, 2020 4:00 pm
Forum: Camera board
Topic: Setting exposure time and framerate through V4L2 driver
Replies: 3
Views: 102

Re: Setting exposure time and framerate through V4L2 driver

V4L2 kernel docs - https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/extended-controls.html and https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/vidioc-g-ctrl.html The driver advertises V4L2_CID_PIXEL_RATE - how many pixels per second the sensor will produce. The line dura...
by 6by9
Wed Aug 05, 2020 3:51 pm
Forum: Camera board
Topic: HQ Camera external sync signals support added
Replies: 17
Views: 646

Re: HQ Camera external sync signals support added

Yes, it is all a bit confusing. Having un-matched shutter speeds is not really something that is likely to play very nicely here. I would probably recommend fixed (same) shutter speeds between all sensors to start with. Fixed frame rates is probably more likely to be the requirement. I'd expect shu...

Go to advanced search