By using our site, you acknowledge that you have read and understand our Cookie Policy , Privacy Policy , and our Terms of Service. Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It only takes a minute to sign up. Sign up to join this community. The best answers are voted up and rise to the top. Home Questions Tags Users Unanswered.

Author:Shakaran Fecage
Language:English (Spanish)
Published (Last):19 September 2012
PDF File Size:19.43 Mb
ePub File Size:1.1 Mb
Price:Free* [*Free Regsitration Required]

Logout Register. To switch audio channels I want to use a PT chip, which can be controlled with i2c. The module I am using is working on an Arduino board. But for some reason I am unable to detect the chip on the raspi using i2cdetect. A display connected to the same wires works without problems.

On the arduino it is working with 3. On the raspi I have tried 3. Also adding pull up resistors did not help. Is there anything else I can try to get it working. Thank You Thomas. Re: unable to detect pt i2c device Mon Feb 01, pm Does i2cdetect show an empty grid? Could you detail the connections your have made between the PT and the Pi? Re: unable to detect pt i2c device Mon Feb 01, pm Hi, i2cdetect is showing the following: i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 27 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 27 is the display - which is working.

The audio chip should be at Regards Thomas. Re: unable to detect pt i2c device Mon Feb 01, pm You need to connect the Pi ground to the PT ground. This is working on an Arduino. The question is what can be different compared to the raspi. I am assuming it might be some kind of timing or voltage level problem. Software Engineer at Raspberry Pi Trading. Views expressed are still personal views. I'm not interested in doing contracts for bespoke functionality - please don't ask.

Re: unable to detect pt i2c device Mon Feb 08, pm I am now giving up with the pt Somehow the chip does not like the i2c interface of the raspi also not at 6v. I will now use the TDA This chip is doing the same ant it works together with raspberry. It has operational voltage range of 2. We had connected it directly to raspberry pi without pull up resistors and everything worked just fine from 3. Re: unable to detect pt i2c device Wed Mar 16, am I can confirm that the MS is working perfect with the Raspberry Pi.

Again big thanks for your help. Re: unable to detect pt i2c device Fri Mar 18, am It's possible that the PT is working properly, but that i2cdetect fails to find it. The program works by trying some 'standard' I2C bus commands typically 'register read' or 'register write' and seeing whether they work. So, a 'register read' is a 1-byte send to set the register address immediately followed by an n- byte read.

Some devices don't actually follow this convention - for instance, I've just been using an HTU21 humidity sensor which doesn't have addressable registers as such; you just send it command bytes, and when you read it sends the result from the command. Sure enough, my HTU21 actually works fine but doesn't show up with i2cdetect.

This might explain why i2cdetect won't find it. The MS worked and the PT did not. I even checked a second module just to make sure that there is nothing wrong with it.

The same module which did not work on the Raspi worked OK with an Arduino. I have no idea why but somehow this chip does not like the Raspi But finally I am happy because the MS does have besides that is working another advantage - it runs on 3.

The problem with the modules relates to their ability to pull the data line low to give the ACK I2C notification. The modules did work with an Arduino Uno that has a lower pull down current around 0. So in broad terms these should work with 10k pull-up resistors but are unlikely to work with pull-up resistors of 3k3 or less.

I normally use 3k3. An I2C voltage level convertor should provide adequate pull-down to drive the Pi and may have a low enough pull-down current for the PT modules. I have not tried these yet. Also these modules have 1k resistors in series with the data and clock inputs. These should not be there and make the situation worse.

Hence best to short these out R11 and R I just noticed that the JBL has the A version of the chip. So this problem is simply that the base PT chip has a very poor pull-down and hence only works with high value pull-up resistors.

Re: unable to detect pt i2c device Wed Aug 07, pm Level shifters do not solve the problem as they still require the slave to sink the masters pull-up current. This uses the current gain of the transistor to sink the current. However the best it can do is to deliver a low of 0. I assumed that clock stretching would not be required and hence connected the clock direct. Despite this it did work and the PT output signal responded as it should to volume and tone commands.

If there were no alternatives I would have run with this. Jump to. Board index All times are UTC.


PT2314-D - 4-Channel Input Audio Processor IC

Originally Posted by andrewzuku. I've had a couple of people ask for my code, especially the stuff relating to the PT Feel free to do whatever you like with this code, just give me credit in the comments if you use a big chunk of it. If you do anything cool, let me know! I'd be inclined to use something more powerful than an Arduino, something that could play FLAC music from a USB hub stuffed full of thumbdrives, or perhaps a 2.


4-Channel Input Audio Processor

GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together. Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community. Already on GitHub? Sign in to your account. I started to use PT I bought this one.


Subscribe to RSS

Princeton Technology Corp. Tel : Fax : Volume, Bass, Treble and Balance are incorporated into a single chip.

Related Articles