
I'm not too good with my oscilliscope, but I do see pulses going into the chip, and pulses coming out.Īnyway, sorry for the long message, but I always tend to talk too much. Of course, I've already built a board before testing the PGA too much, and I have no real easy way to tie into the output pin anyway. I tried to brute force it by looking at the datasheet, but the chip does not seem to respond. I figured the output pin, which is used to tie another PGA was unneeded.

I see from the SPI library that it wants to use four legs to the chip, and I only want to use three. If (b) ĭigitalWrite(CS,HIGH) //go to sleep chippy Just calling volset whenever I change volume using globals.ĭelayMicroseconds(1) //wait, I have changed these all over the mapĭigitalWrite(CLK,LOW) //should it just be low when I start?

RVOL=EEPROM.read(0) //using eeprom to store values on power off I'm using every pin on the chip (6 for relays - 6 for LCD - 1 for IR - 3 for front panel (8 buttons ala NES controller!) - 3 for PGA - 1 for Alarm sound PWM, yes, thanks to feature creep, it's now an alarm clock too!)Įverything works in my device! except no volume increase when I call my code. I have gotten a few things to work that way, even IR in the past, but now, it seems I just want to make something that works, and not tinker around as much.) You guys have made me lazy! The main reason I started messing with these chips is so I would learn the obnoxious bit-banging methods I so admire. However, I started messing around with the Arduino for some LED mood lamps I built and decided I really liked the libraries available. I have used many atmel chips, and primarily wrote ASM code. Well, I started reading, and found the PGA2310! (I wished I would have seen the PGA2311, so I could have skipped the +/- 15v power supply, but I digress.) She only needs 4 stereo inputs, and initially, I was just going to use a motorized volume knob.

It all started with just wanting to build another GainClone (LM3886 based) amplifier for my daughter's room. Half of the stuff I build only half works, and now, I'm trying to get my Arduino to control a PGA2310 with only three legs. I'm dangerous, and have no formal training.
