Go to advanced search

by 6by9
Tue May 22, 2018 7:07 pm
Forum: Compute Module
Topic: What is the difference between those two CM IO Boards?
Replies: 5
Views: 177

Re: What is the difference between those two CM IO Boards?

The second board is made by WaveShare: https://www.waveshare.com/compute-module-io-board-plus.htm Thanks, that link contains a good feature list for the board. I clicked on "Buy" for the more expensive board and tried several suppliers. Found no such detailed feature list for that board. Is there a...
by 6by9
Tue May 22, 2018 2:43 pm
Forum: Camera board
Topic: Hardware camera sync pulses
Replies: 19
Views: 1654

Re: Hardware camera sync pulses

Line 1226 is pin_define@CAMERA_0_LED. Amend that section appropriately. Could someone please provide me with a sample part of https://github.com/raspberrypi/firmware/blob/master/extra/dt-blob.dts for Pi 3 v1.2 (pins_3b2) if I want to map the camera led to GPIO21 (pin #40) to get the sync pulses the...
by 6by9
Tue May 22, 2018 2:36 pm
Forum: Graphics programming
Topic: MMAL resizer?
Replies: 9
Views: 3515

Re: MMAL resizer?

You've resurrected a 4 year old post about vc.ril.resize with stuff on vc.ril.isp. It would have been more sensible to start a new thread. vc.ril.isp didn't exist in 2014, and is still considered to be beta code and under active development (as time permits). mmal_dump_format takes a MMAL_ES_FORMAT_...
by 6by9
Tue May 22, 2018 2:28 pm
Forum: Graphics, sound and multimedia
Topic: Pi Zero PWM Audio through LM386 amplifier still very soft
Replies: 6
Views: 152

Re: Pi Zero PWM Audio through LM386 amplifier still very soft

https://learn.adafruit.com/introducing-the-raspberry-pi-zero/audio-outputs https://learn.adafruit.com/adding-basic-audio-ouput-to-raspberry-pi-zero/ The PWM outputs will produce a square wave at some high frequency, and the capacitor / resistor network low pass filters that to convert it into a more...
by 6by9
Tue May 22, 2018 11:34 am
Forum: Camera board
Topic: PPM/TGA support in MMAL image encoder
Replies: 7
Views: 235

Re: PPM/TGA support in MMAL image encoder

I've verified that the PPM and TGA encode and decode libraries do appear to do something sane, and they're pretty small (<7kB for encode and decode of both codecs). A patch is up for review and merge into our firmware tree, so should appear into the rpi-update firmware in the next few days (watch ht...
by 6by9
Mon May 21, 2018 8:41 pm
Forum: Camera board
Topic: What is raspivid preview coordinate system?
Replies: 4
Views: 142

Re: What is raspivid preview coordinate system?

I'm not overly familiar with fbset, but almost certainly it is not changing the hdmi mode. It's only changing the resolution of an image buffer into which linux is rendering, and then the hardware will resize that for the selected hdmi mode. Raspivid will always use the hdmi mode resolution. To chan...
by 6by9
Mon May 21, 2018 4:00 pm
Forum: General discussion
Topic: TV Tuner runs on one but not other
Replies: 1
Views: 88

Re: TV Tuner runs on one but not other

ssh into the box or otherwise get a shell. Run "dmesg | less" to view the kernel log. You're likely to find an entry referencing trying to load firmware for the tuner and the filename it is looking for. That is what you need to find. If in doubt then have a look in https://github.com/LibreELEC/dvb-f...
by 6by9
Mon May 21, 2018 2:30 pm
Forum: Troubleshooting
Topic: Failed to create camera component
Replies: 2
Views: 61

Re: Failed to create camera component

If it is the same as https://www.amazon.co.uk/Kuman-Camera-Module-Raspberry-OV5647/dp/B01ICNT3HC, then remove those IR LEDs from the side and retest. This is NOT a product made by Raspberry Pi, and the supply they have connected those LEDs to is not designed for the current they'll pull. I'm not sur...
by 6by9
Mon May 21, 2018 12:52 pm
Forum: Camera board
Topic: What is raspivid preview coordinate system?
Replies: 4
Views: 142

Re: What is raspivid preview coordinate system?

I'm very confused as to what you're trying to do/saying is wrong. tvservice -e "DMT 16 DVI" to force 1024x768 raspivid -md 7 -w 640 -h 480 -p 976,552,640,480 -t 0 gives me a preview image that is mainly off the screen, as shown with "vcgencmd dispmanx_list" pi@raspberrypi:~ $ vcgencmd dispmanx_list ...
by 6by9
Mon May 21, 2018 9:08 am
Forum: Graphics programming
Topic: MPEG2 patents expiring
Replies: 17
Views: 3581

Re: MPEG2 patents expiring

This is an unofficial response as I am not directly involved in the codec licencing, but basically it is complicated. There is an agreement between the RPT and MPEG-LA on licencing terms. Unless renegotiated then those terms remain in force. There are still live patents on MPEG2 in the Philipines an...
by 6by9
Sat May 19, 2018 4:57 pm
Forum: Camera board
Topic: Official V4L2 driver
Replies: 518
Views: 359204

Re: Official V4L2 driver

Is there any way to set the quantisation parameter with this? (-qp on raspivid) Not currently, but it looks like V4L2_CID_MPEG_VIDEO_H264_I_FRAME_QP, V4L2_CID_MPEG_VIDEO_H264_P_FRAME_QP, V4L2_CID_MPEG_VIDEO_H264_MIN_QP, and V4L2_CID_MPEG_VIDEO_H264_MAX_QP (see https://www.linuxtv.org/downloads/v4l-...
by 6by9
Sat May 19, 2018 4:52 pm
Forum: Camera board
Topic: Raspistill vs Raspivid quality issue
Replies: 3
Views: 105

Re: Raspistill vs Raspivid quality issue

You don't say which version of the camera module you are using. Fortunately the JPEG has retained the EXIF information so I can deduce that it is the V1 Omnivision OV5647, probably a clone seeing as that module hasn't been sold by RPT since 2015. You don't say exactly what aspect of the image qualit...
by 6by9
Fri May 18, 2018 4:08 pm
Forum: Camera board
Topic: PPM/TGA support in MMAL image encoder
Replies: 7
Views: 235

Re: PPM/TGA support in MMAL image encoder

OK, so this has started debate on whether we actually add support so you can throw almost anything and everything at image_decode / encode. There's no licencing issue, but it's unknown if it actually works.
I'll have a play to see what happens.
by 6by9
Fri May 18, 2018 3:03 pm
Forum: General discussion
Topic: Labview with Raspberry pi 3 problem
Replies: 11
Views: 419

Re: Labview with Raspberry pi 3 problem

Prove your LED works correctly. LabView for whatever reason have chosen to renumber the GPIOs to their own liking, which means it doesn't match anything else. For header pin 7, it is the SoC GPIO 4, so sudo apt install raspi-gpio raspi-gpio set 4 op dh raspi-gpio set 4 op dl should install the raspi...
by 6by9
Fri May 18, 2018 11:58 am
Forum: Camera board
Topic: PPM/TGA support in MMAL image encoder
Replies: 7
Views: 235

Re: PPM/TGA support in MMAL image encoder

Thanks for the heads up on that. Yes, currently using the MMAL_PARAMETER_SUPPORTED_ENCODINGS call to check supported encoding types. Are you planning any changes to the MMAL_PARAMETER_ENCODING_T struct at all to signify whether support is built in? I can look into it, but hadn't been planing on doi...
by 6by9
Fri May 18, 2018 10:17 am
Forum: Compute Module
Topic: CM3 - Netboot using ENC28j60 ethernet module
Replies: 1
Views: 83

Re: CM3 - Netboot using ENC28j60 ethernet module

The bootrom only knows how to netboot via a SMSC951x or LAN78xx based device. You can put the boot partition on the SDcard/EMMC with a Linux kernel that includes ENC28j60 driver as a built-in driver (not a module), and that would enable you to NFS mount everything else. It's going to be slow over 10...
by 6by9
Fri May 18, 2018 9:31 am
Forum: Camera board
Topic: PPM/TGA support in MMAL image encoder
Replies: 7
Views: 235

Re: PPM/TGA support in MMAL image encoder

Regression tests for MMALSharp have picked up an issue with the image encoder component throwing ENOSPC errors for PPM/TGA encodings. I was just wondering if anyone could confirm these encoding types work ok in MMAL natively so I know if it's an issue on my end? Buffer num and buffer size for outpu...
by 6by9
Thu May 17, 2018 4:11 pm
Forum: General discussion
Topic: (gstreamer) two camera streaming to one single display
Replies: 6
Views: 270

Re: (gstreamer) two camera streaming to one single display

Sending the data from two devices to the same port on the same remote node is going to cause problems. The receiving device has no easy way to separate out the stream. How would you cope if two people were speaking to you and you got three words from person A, then three words from person B, three f...
by 6by9
Thu May 17, 2018 10:40 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Enable both I2C Busses
Replies: 58
Views: 25284

Re: Enable both I2C Busses

There is a way to turn on I2C channel 0 that makes it automatically initialized during boot up. Add the following line to /boot/config.txt dtparam=i2c_vc=on Save the change and reboot. After the reboot, there should be both a /dev/i2c-0 and /dev/i2c-1 . For more details see the forum discussion: ht...
by 6by9
Wed May 16, 2018 3:21 pm
Forum: Camera board
Topic: Raspiraw issue: permanent buffer delay of 1 useless frame
Replies: 9
Views: 469

Re: Raspiraw issue: permanent buffer delay of 1 useless frame

Thanks. vcos_log_error is fine by me, although probably under a switch to disable it to avoid spewing out too much junk. I've copy/pasted some parsing code from the firmware into the callback to do a simple decode of the first few tags, but haven't got time to tidy it up at the moment. There should...
by 6by9
Wed May 16, 2018 3:20 pm
Forum: Camera board
Topic: Hardware camera sync pulses
Replies: 19
Views: 1654

Re: Hardware camera sync pulses

OK, couldn't get the flash driver to work in capture_continuous, but setting disable_camera_led=3 does generate the pulses I need. And driving the IR illuminator directly with these pulses works like a dream. I'm using exposure_mode=off and a fixed shutter speed of just 1-2ms and at 6 frames per se...
by 6by9
Wed May 16, 2018 1:40 pm
Forum: Camera board
Topic: Raspiraw issue: permanent buffer delay of 1 useless frame
Replies: 9
Views: 469

Re: Raspiraw issue: permanent buffer delay of 1 useless frame

I don't suppose you fancy writing a parser for the embedded data and creating a pull requrest? The format is common for almost all Bayer CSI2 sensors, although it does vary slightly between raw 8, 10, and 12 modes. It's documented in the IMX219 datasheet (Google for it). I've already got a simple p...
by 6by9
Wed May 16, 2018 1:36 pm
Forum: Compute Module
Topic: DSI Interface to Non Raspberry Pi Display
Replies: 21
Views: 10137

Re: DSI Interface to Non Raspberry Pi Display

There is no problem in using DSI! Drivers are there for DRM/KMS ie the standard Linux display APIs - https://github.com/raspberrypi/linux/blob/rpi-4.14.y/drivers/gpu/drm/vc4/vc4_dsi.c. Yes DRM is different from the DispmanX and MMAL APIs that many Pi apps will use, but it's the way we're trying to ...
by 6by9
Wed May 16, 2018 1:31 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C wrong returned value by i2cget
Replies: 1
Views: 72

Re: I2C wrong returned value by i2cget

Where has you value of 0x05 come from in your "sudo i2cget -y 1 0x20 0x05" command? i2cget and i2cset are designed around SMBus devices and so send a register address value before sending or reading the data value. The PCF8574 is NOT an SMBus device and only has one register that it reads or writes....
by 6by9
Wed May 16, 2018 12:40 pm
Forum: Camera board
Topic: Raspiraw issue: permanent buffer delay of 1 useless frame
Replies: 9
Views: 469

Re: Raspiraw issue: permanent buffer delay of 1 useless frame

All the ones with flags 0084 will be immediately returned as they are the embedded metadata (not used on IMX219 IIRC), but they are there. FYI, it seems the embedded metadata on the IMX219 contains a bunch of registers with the settings for that frame. I've been using it as a simple bit of debuggin...

Go to advanced search