Go to advanced search

by Orbital6
Thu Mar 01, 2018 12:40 pm
Forum: Graphics, sound and multimedia
Topic: HDMI to CSI-2 via TC358743 on kernel 4.1
Replies: 403
Views: 99301

Re: HDMI to CSI-2 via TC358743 on kernel 4.1

Since this is getting a bit of traction again, i'll just drop this. I have a few B102 and B101 Rev 4 boards for sale.

6by9, feel free to remove this if I'm breaking any rules, but hopefully the spread of more tosh ic's will get more interest :)
by Orbital6
Wed Feb 28, 2018 7:29 pm
Forum: Device Tree
Topic: DT Overlay to force some GPIOs into HiZ from boot
Replies: 25
Views: 2800

Re: DT Overlay to force some GPIOs into HiZ from boot

Your method for adding new pin declarations is correct. However, only GPIOs 0-27 are brought out onto the standard 40-pin header, so you can't use GPIO32. Be careful to distinguish between GPIO number and header pin number - the dt-blob works in GPIO numbers, despite how it may look. I am just test...
by Orbital6
Wed Feb 28, 2018 7:15 pm
Forum: Device Tree
Topic: DT Overlay to force some GPIOs into HiZ from boot
Replies: 25
Views: 2800

Re: DT Overlay to force some GPIOs into HiZ from boot

https://github.com/raspberrypi/firmware/blob/master/extra/dt-blob.dts Looking at the pi 1 b+ below pins_bplus2 { // Pi 1 Model B+ rev 1.2 pin_config { [email protected] { polarity = "active_high"; termination = "pull_down"; startup_state = "inactive"; function = "input"; }; // pin [email protected] { function = "u...
by Orbital6
Wed Feb 28, 2018 6:08 pm
Forum: Device Tree
Topic: DT Overlay to force some GPIOs into HiZ from boot
Replies: 25
Views: 2800

Re: DT Overlay to force some GPIOs into HiZ from boot

One dt-blob.bin can cater for all included platforms, but the required changes have to be made in each of the relevant named sections for the targeted platforms. If you want to target regular Pis you will need to obtain and patch the full dt-blob.dts source (not just this cut-down version) otherwis...
by Orbital6
Wed Feb 28, 2018 5:52 pm
Forum: Device Tree
Topic: DT Overlay to force some GPIOs into HiZ from boot
Replies: 25
Views: 2800

Re: DT Overlay to force some GPIOs into HiZ from boot

Fairly easy - grab the template , rename it (say) "dt-blob.dts", change the state of the relevant pins in the "pins_cm3" section to (e.g.): [email protected] { function = "input"; termination = "no_pulling"; } // HighZ Compile the resulting file: [email protected]:~$ dtc -I dts -O dtb -o dt-blob.bin dt-blob.dts ...
by Orbital6
Wed Feb 28, 2018 4:36 pm
Forum: Device Tree
Topic: DT Overlay to force some GPIOs into HiZ from boot
Replies: 25
Views: 2800

Re: DT Overlay to force some GPIOs into HiZ from boot

The only way to guarantee that GPIOs have the correct state from boot is to design the surrounding circuit so that the correct state is the default for that GPIO. Using a dt-blob you will be able to reduce the length of startup glitch to around a second, maybe less (I told you how to measure the de...
by Orbital6
Wed Feb 28, 2018 3:41 pm
Forum: Device Tree
Topic: DT Overlay to force some GPIOs into HiZ from boot
Replies: 25
Views: 2800

Re: DT Overlay to force some GPIOs into HiZ from boot

Thanks so much for the help. Currently trying to get a proof of concept going, and the hardware guy has already made a PCB that sits between all the pi's, so would there be a way to get a solution to the original question (gpio's set to a certain state at boot) with my current setup? I'll certainly ...
by Orbital6
Wed Feb 28, 2018 3:00 pm
Forum: Device Tree
Topic: DT Overlay to force some GPIOs into HiZ from boot
Replies: 25
Views: 2800

Re: DT Overlay to force some GPIOs into HiZ from boot

Can you tell me the part number of the controller? I just want to check that my understanding is correct. Sorry, i am still learning to ask a question in the most efficient way. On a CM3L / CM1, we use GPIOs [5, 16, 17, 25, 32, 33] to control 5V to each 'daughter' pi. Each daughter board has the fo...
by Orbital6
Wed Feb 28, 2018 1:07 pm
Forum: Device Tree
Topic: DT Overlay to force some GPIOs into HiZ from boot
Replies: 25
Views: 2800

Re: DT Overlay to force some GPIOs into HiZ from boot

if i use this method, will those gpios be set to input with no pull from boot? There will be a time lag - they will be inputs immediately, but it will take a few seconds before the pulls are removed - you can time this by adding a weaker external pull (~200kOhms) in the opposite direction and seein...
by Orbital6
Tue Feb 27, 2018 7:16 pm
Forum: Device Tree
Topic: DT Overlay to force some GPIOs into HiZ from boot
Replies: 25
Views: 2800

Re: DT Overlay to force some GPIOs into HiZ from boot

Thanks so much. A few questions before i jump into the implementation tomorrow: If i wanted to set a series of GPIOs to hiZ (noted your warnings), would i just fill 'brcm,pins = <5>;' with the bcm gpio pin numbers? so <5,16,17> for e.g. ? if i use this method, will those gpios be set to input with ...
by Orbital6
Tue Feb 27, 2018 2:50 pm
Forum: Device Tree
Topic: DT Overlay to force some GPIOs into HiZ from boot
Replies: 25
Views: 2800

DT Overlay to force some GPIOs into HiZ from boot

Hi,

I've never played with a device tree overlay but am led to believe that I'll need to write one to force some GPIOs on a Pi 1 B+ to output HiZ from boot.

Can anyone point me in the right direction on how to go about this for GPIO5 for example?

Thanks
by Orbital6
Fri Feb 16, 2018 4:13 pm
Forum: For sale
Topic: AuVidea HDMI-In boards
Replies: 2
Views: 1442

AuVidea HDMI-In boards

Hi, I am finishing off with a project which involved the purchase of a bunch of HDMI input 'shields' for the pi. For sale i have: 2x B101 Rev 4 with the I2S header & I2S cables 1x B102 Rev 4 with the I2S header & I2S cables All come in anti-static bags, with the ribbon cable. None of them have been ...
by Orbital6
Wed Dec 13, 2017 12:06 pm
Forum: Graphics, sound and multimedia
Topic: HDMI to CSI-2 via TC358743 on kernel 4.1
Replies: 403
Views: 99301

Re: HDMI to CSI-2 via TC358743 on kernel 4.1

Using ffmpeg just means the data gets written into a Linux pipe instead of writing to disk immediately. I'm now a little confused as to why the last change to yavta isn't behaving as I was expecting. Someone's borrowed my TC358743 board for the moment, so I'll have to reclaim it to do any more test...
by Orbital6
Wed Dec 13, 2017 11:41 am
Forum: Graphics, sound and multimedia
Topic: HDMI to CSI-2 via TC358743 on kernel 4.1
Replies: 403
Views: 99301

Re: HDMI to CSI-2 via TC358743 on kernel 4.1

I retest using yavta with ffmpeg on /dev/shm and had no issues. v4l2-ctl --set-edid=file=/home/pi/testEDID.txt --fix-edid-checksums /home/pi/yavta/yavta -f UYVY --capture=100000 -n 3 --encode-to=- -m -T /dev/video0 | ffmpeg -y -r 25 -i - -vcodec copy /dev/shm/file.mp4 5mn test TEST 1 : OK TEST 2 : ...
by Orbital6
Thu Nov 23, 2017 1:09 pm
Forum: Compute Module
Topic: Use SD card for OS on CM1
Replies: 0
Views: 329

Use SD card for OS on CM1

Hi,

I am shifting some code from a CM3L to a CM1, i noticed the CM1's only come with on-board eMMC, so I'm wondering if I have any option of running an OS off an SD card (processed by the CM1), or if i have to shift the OS onto the eMMC.

Thanks.
by Orbital6
Thu Nov 16, 2017 5:07 pm
Forum: Graphics, sound and multimedia
Topic: HDMI to CSI-2 via TC358743 on kernel 4.1
Replies: 403
Views: 99301

Re: HDMI to CSI-2 via TC358743 on kernel 4.1

I tried to overclock the Raspberry Pi, but I still got dropped frames . I decided to check if the issue was with the SD card and tried to record the video in /dev/shm . I managed to have a mp4 video without dropped frames with yavta/ffmpeg :D So the bottleneck seems to be the sd card . Awesome. Wha...
by Orbital6
Sat Jun 24, 2017 1:17 pm
Forum: Graphics, sound and multimedia
Topic: HDMI to CSI-2 via TC358743 on kernel 4.1
Replies: 403
Views: 99301

Re: HDMI to CSI-2 via TC358743 on kernel 4.1

... Regarding the R100, I assume you tested with raspivid? Did you make these connections: CD0_SDA to GPIO44. CD0_SCL to GPIO45 CAM0_IO1 to GPIO2 CAM0_IO0 to GPIO3 6by9 can confirm, but i think these connections needed to be made to work with the new userspace app, though I'm sure he can confirm if...
by Orbital6
Tue Jun 20, 2017 3:29 pm
Forum: Graphics, sound and multimedia
Topic: HDMI to CSI-2 via TC358743 on kernel 4.1
Replies: 403
Views: 99301

Re: HDMI to CSI-2 via TC358743 on kernel 4.1

... Hi Jurgen, I've been trying to get 4 lanes working to allow 1080p50 to work, as i've also been helping Dave with the beta testing, as far as i know i'm the only one that's got audio working too so it won't be a bad idea if you redirect your offers for beta testing to me ;) (you seem to have ign...
by Orbital6
Mon Jun 12, 2017 4:18 pm
Forum: Compute Module
Topic: 4 lanes on CAM1 CM3
Replies: 2
Views: 596

Re: 4 lanes on CAM1 CM3

6by9 wrote:As discussed on email, CD1_SDA (J6 pin 37), CD1_SCL, CAM1_IO1, and CAM1_IO0 set up the I2C and control GPIOs only.

The CSI2 bus has 5 dedicated pairs (4 data, 1 clock) back into the SoC for CAM1, and 3 pairs (2 data, 1 clock) for CAM0.
Got it. Thanks.
by Orbital6
Mon Jun 12, 2017 3:58 pm
Forum: Compute Module
Topic: 4 lanes on CAM1 CM3
Replies: 2
Views: 596

4 lanes on CAM1 CM3

Hi, I asked this in the interfacing sub-thread but not sure if it was the right place. I want to use all four lanes on the CM3 + IO Board. Would the following connections be adequate to have lanes 3 and 4 connected? Attach CD1_SDA (J6 pin 37) to GPIO0 (J5 pin 1). Attach CD1_SCL (J6 pin 39) to GPIO1 ...
by Orbital6
Wed Jun 07, 2017 12:50 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2S Success (at last) !
Replies: 104
Views: 36849

Re: I2S Success (at last) !

Maash wrote:There seems to be new version of simple_card.c in the kernel. i'll see if it "fits right in". It would definitely suck if I have to roll back to december release just to get I2S recording working :/.
Please let me know if you get it working!
by Orbital6
Wed Jun 07, 2017 12:07 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2S Success (at last) !
Replies: 104
Views: 36849

Re: I2S Success (at last) !

Has anyone recently compiled the simple_card against latest kernels? I decided to update the rpi and now I cannot compile the driver. "struct snd_soc_card has no member named rtd" I googled this a bit and there was few indications form '15 that this could have been a bug in kernel. However that's q...
by Orbital6
Thu Apr 27, 2017 12:46 pm
Forum: General discussion
Topic: Thoughts on a completed ADC HAT + Advice / feedback welcome
Replies: 8
Views: 1793

Re: Thoughts on a completed ADC HAT + Advice / feedback welc

Would this give that much better performance than the standard (cheap) USB sound cards? They are 16-bit 44.1-48 ksps. Wouldn't there be enough noise floating around on a Raspberry Pi that 16 vs 24 bits would be rather moot? Follow your dream but do you have some performance figures v. much less exp...
by Orbital6
Tue Apr 18, 2017 6:46 pm
Forum: Troubleshooting
Topic: espeak TTS ALSA Unknown PCM cards
Replies: 7
Views: 16577

Re: espeak TTS ALSA Unknown PCM cards

Why do I get this error? I am running via SSH... [email protected]:~ $ espeak "test" Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started I too get a similar problem [email protected]:~ $ jackd -d alsa jackdmp ...
by Orbital6
Mon Apr 17, 2017 12:05 pm
Forum: Beginners
Topic: ping www.google.com Not working
Replies: 20
Views: 6035

Re: ping www.google.com Not working

KLL wrote:ahm, if your system uses dhcpcd then interfaces should be "original"
and fix ip .. settings are in dhcpcd.conf only,
BUT FOR NEWER SYSTEMS ONLY
What's a newer system.

Go to advanced search