Go to advanced search

by Conner Labs
Mon Mar 25, 2019 5:40 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C mulitplexer support
Replies: 62
Views: 15158

Re: I2C mulitplexer support

Thanks. What would be the "best" way to handle this? Should I compile my new overlays together with the rest of device tree, to give it a chance to find the references? As for portability: can I take for granted that "i2c@7e804000" will be i2c_arm on the various Raspberry Pi products we use? I expec...
by Conner Labs
Fri Mar 22, 2019 5:19 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C mulitplexer support
Replies: 62
Views: 15158

Re: I2C mulitplexer support

Hi I'm having some trouble reproducing this. Running Raspbian Jessie Linux piggy 4.9.28-v7+ #998 SMP Mon May 15 16:55:39 BST 2017 armv7l GNU/Linux The new generic i2c-mux overlay works fine when I test it with a single PCA9548. But this doesn't suit my use case: I want to use two PCA9548s at address...
by Conner Labs
Thu Feb 28, 2019 4:52 pm
Forum: Compute Module
Topic: Using Raspberry Pi MAC addresses for commercial products based on Compute Module?
Replies: 9
Views: 1445

Re: Using Raspberry Pi MAC addresses for commercial products based on Compute Module?

I designed a similar industrial board, but using TWO LAN9512s. I was unaware of the program_mac_address command (maybe it didn't even exist at the time I did the design?) but I found that EEPROMs worked fine. I used to have to add a malformed MAC address to cmdline.txt to make the Raspberry Pi found...
by Conner Labs
Thu Jun 29, 2017 1:30 pm
Forum: Device Tree
Topic: Using RTC with non-standard I2C port
Replies: 11
Views: 4723

Re: Using RTC with non-standard I2C port

OK, I've submitted the pull request. I don't normally use Git so hopefully I haven't done anything too dreadful.
by Conner Labs
Thu Jun 29, 2017 12:25 pm
Forum: Device Tree
Topic: Using RTC with non-standard I2C port
Replies: 11
Views: 4723

Re: Using RTC with non-standard I2C port

I'll give it a go thanks. What branch should I be raising the pull request on? rpi-4.9.y?
by Conner Labs
Thu Jun 29, 2017 12:04 pm
Forum: Device Tree
Topic: Using RTC with non-standard I2C port
Replies: 11
Views: 4723

Re: Using RTC with non-standard I2C port

OK, so I tried what seemed to me the obvious approach. I got the relevant .dts files from the 4.9.y branch on github, pasted the contents of i2c-rtc-overlay.dts and i2c-gpio-overlay.dts together into a file called i2c-gpio-rtc-overlay.dts, replaced "i2c_arm" for "i2c_gpio", and changed the fragment ...
by Conner Labs
Thu Jun 29, 2017 9:24 am
Forum: Device Tree
Topic: Using RTC with non-standard I2C port
Replies: 11
Views: 4723

Re: Using RTC with non-standard I2C port

I had no problems using the RTC on i2c-1. It's just that our product has an array of data acquisition boards connected to i2c-1. I want a real hardware I2C port for these as it's faster, and I want the RTC on a different port so the RTC driver doesn't conflict with our data acquisition driver. (I ha...
by Conner Labs
Wed Jun 28, 2017 3:57 pm
Forum: Device Tree
Topic: Using RTC with non-standard I2C port
Replies: 11
Views: 4723

Using RTC with non-standard I2C port

Hi all I have a PCF2127 RTC chip connected to my Compute Module 3. I am running the latest Raspbian Jessie Lite official image. I am using the i2c-gpio overlay to drive it through a software emulated I2C port, to save the real I2C port for something more important. If I use dtoverlay=i2c-rtc,pcf2127...
by Conner Labs
Wed Jun 24, 2015 1:40 pm
Forum: Raspbian
Topic: Random ethernet failures?
Replies: 7
Views: 898

Re: Random ethernet failures?

Well that seems to have done the trick. My test setup is now up to 53 successful power cycles. Thanks very much for the advice.
by Conner Labs
Wed Jun 24, 2015 9:13 am
Forum: Raspbian
Topic: Random ethernet failures?
Replies: 7
Views: 898

Re: Random ethernet failures?

Well, I never even knew ifplugd existed, but it seems to be installed on my devices sure enough. :cry: I'll get rid of it and report back...
by Conner Labs
Wed Jun 24, 2015 9:02 am
Forum: Raspbian
Topic: Random ethernet failures?
Replies: 7
Views: 898

Re: Random ethernet failures?

It happened with the R-Pi B+ and Compute Module, and various different power supplies and cables. Including an Anker 40 watt 5 port USB charger, and our custom Compute Module motherboard that has a totally different power supply arrangement. (Our Compute Module setup has 2 LAN interfaces and a wifi ...
by Conner Labs
Tue Jun 23, 2015 5:02 pm
Forum: Raspbian
Topic: Random ethernet failures?
Replies: 7
Views: 898

Re: Random ethernet failures?

I couldn't see any Ethernet related error messages in any of the system logs. I am using static IPs so the DHCP server knows nothing about any of this. The routers and switches don't have logging capabilities. It has happened to me so far with a few different Pis on different sites, and that would i...
by Conner Labs
Tue Jun 23, 2015 3:41 pm
Forum: Raspbian
Topic: Random ethernet failures?
Replies: 7
Views: 898

Random ethernet failures?

Hi all I'm chasing a bug in our industrial application. using Raspbian. We use a static IP address on eth0, and about once every 20 times the Pi is powered up, the Ethernet is non-functional. The Pi cannot be pinged. The USB-Ethernet controller shows up in the output of lsusb, and there is an entry ...
by Conner Labs
Thu Jan 29, 2015 4:14 pm
Forum: Compute Module
Topic: Compute Module Ethernet MAC Address
Replies: 10
Views: 5161

Re: Compute Module Ethernet MAC Address

I revisited this on the Compute Module/CMIO connected to a LAN9514 eval board, with the latest Raspbian image and firmware from raspi-update. Even with a valid EEPROM present, the LAN9514 still got its MAC address set to the Raspberry Pi Foundation one. But having seen the driver source, I figured t...
by Conner Labs
Thu Jan 29, 2015 3:44 pm
Forum: Compute Module
Topic: What's the deal with I2C bus 0?
Replies: 4
Views: 1969

Re: What's the deal with I2C bus 0?

Just an update to say that I got this problem resolved. Thanks for the help guys. :) I changed over from the B+ to the Compute Module/CMIO board, got the latest kernel and firmware with rpi-update, and added dtparam=i2c0=on and dtparam=i2c1=on to /boot/config/txt. That got me two functional I2C buses.
by Conner Labs
Wed Jan 28, 2015 6:45 pm
Forum: Compute Module
Topic: Compute Module Ethernet MAC Address
Replies: 10
Views: 5161

Re: Compute Module Ethernet MAC Address

Interesting. Coincidentally I built a kernel from that source earlier today, but I couldn't get any network interfaces to appear at all. I probably chose the wrong option somewhere in buildroot, I will try again.
by Conner Labs
Wed Jan 28, 2015 6:36 pm
Forum: Compute Module
Topic: What's the deal with I2C bus 0?
Replies: 4
Views: 1969

Re: What's the deal with I2C bus 0?

dtparam=i2c0=on Ooh! Thanks! :) I just stumbled across the device tree blob, but that gives me the context of what on earth it actually is (and the relief that I don't have to compile my own) i2c0 'belongs' to the firmware. When the pi boots, it will probe for various devices which may be attached ...
by Conner Labs
Wed Jan 28, 2015 5:10 pm
Forum: Compute Module
Topic: What's the deal with I2C bus 0?
Replies: 4
Views: 1969

What's the deal with I2C bus 0?

So... I'm working on an industrial application of the Compute Module, but for convenience, I'm using a lashup based around a Pi B+ to test functionality before I sign off on the PCB design. The only real problem I have just now is that I2C bus 0 refuses to work. The latest Raspbian refuses to even l...
by Conner Labs
Wed Jan 28, 2015 4:57 pm
Forum: Compute Module
Topic: Compute Module Ethernet MAC Address
Replies: 10
Views: 5161

Re: Compute Module Ethernet MAC Address

I'm working on a prototype of something very similar. The behaviour I'm seeing is: The second LAN9514 gets the same Raspberry Pi Foundation MAC address as the first one. The kernel parameter smsc95xx.macaddr also sets both MAC addresses the same. The contents of the second LAN9514 EEPROM are ignored...
by Conner Labs
Thu Aug 28, 2014 9:40 am
Forum: Media centres
Topic: TV remote emulates keyboard?
Replies: 5
Views: 1531

Re: TV remote emulates keyboard?

Thanks for the info all. Through one of the links supplied I stumbled across libcec-daemon which seems to do exactly what I want.

Direct control with an IR receiver and lirc would also be an option, but I'm using a Wolfson Audio Card which seems to take up pretty much all of the GPIO lines.
by Conner Labs
Sun Aug 24, 2014 7:08 pm
Forum: Media centres
Topic: TV remote emulates keyboard?
Replies: 5
Views: 1531

Re: TV remote emulates keyboard?

Thanks, that's half of the puzzle. The other half being how to hook libcec up to the keyboard input stream.
by Conner Labs
Sun Aug 24, 2014 1:43 pm
Forum: Media centres
Topic: TV remote emulates keyboard?
Replies: 5
Views: 1531

TV remote emulates keyboard?

I have my own audio player distro based on Raspbian with a lot of tweaks for glitch-free playback, and a minimal user interface based on ncmpc. I would like to use it with a TV as the user interface. I know that Raspbmc, OpenElec etc. can take input from the TV remote over HDMI, but does anyone know...
by Conner Labs
Mon Feb 11, 2013 4:33 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 464224

Re: I2S: Anyone got it running?

I think that is not a fair comment. Yes the onboard sound quality is not good. But I haven't had any issue running USB class audio devices. Mine uses the PCM2707 chip as a USB receiver to I2S converter and it was recognised immediately and runs flawlessly. Have you tried any higher resolution than ...
by Conner Labs
Fri Feb 08, 2013 3:08 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: On-board audio subdevices??
Replies: 1
Views: 443

Re: On-board audio subdevices??

I'm going to guess it's either a multi-headed audio device that can play 8 streams at once with mixing in the GPU, or it supports 7.1 surround over HDMI.
by Conner Labs
Fri Feb 08, 2013 11:30 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 464224

Re: I2S: Anyone got it running?

Well, as I said in that other thread, the Pi's onboard audio is terrible, and its compatibility with USB soundcards is also terrible. I've managed to get it running at 24 bit/96kHz using the AB-1.2 DAC from QNKTC. (based on the open source Audio-Widget project.) It is a high-speed USB2.0 device, and...

Go to advanced search