I suppose tht the I2c signals are not reaching the si570 with the present code that was compiled. perhaps concerned lines can be cross compared before re-compiling. On Fri, Mar 21, 2014 at 8:39 PM, Frank <w4nhj@xxxxxxxxxxx> wrote: > Farhan, > > Jerry and I have the same problem, we have output but only the start-up > freq of 56.32 mhz. Our LCD display moves up and down when you move the > tuning pot, but the frequency stays at 56.32 mhz. The software and the > SI570 are not communicating. I thought perhaps the digital side of the > SI570 chip got destroyed, but since Jerry is having the same problem and it > seemed to occur after I loaded Thomas's software, that there may be a > problem with the software. It worked before with your original software. I > went back to the original software and it would not work. I was testing > the software using an Arduino Uno and one of Dave's (WB6DHW) SI570 boards. > I use a grounded wrist strap and with Dave's board there is no way to get > the ATMEGA328 5 V on the I2C bus going to the SI570. I've torn this apart > for now since I built a Minima digital board. This board works with the > original software and a different SI570 chip. I could see data/clock on > the I2C buss at the SI570. That tells me the software or the SI570 is > bad. One other possibility is that there is a bad solder joint at the > SI570 on one of the I2C lines, but it worked at one time. > > Has anyone been using Thomas's software successfully? Any suggestions > would be welcomed. > > Frank - W4NHJ > > - > On 3/21/14, 7:40 AM, farhanbox@xxxxxxxxx wrote: > > It is possible that the output of the si570 has got disconnected or > shortened to the ground. > - f > Sent from BlackBerry® on Airtel > ------------------------------ > *From: * Frank <w4nhj@xxxxxxxxxxx> <w4nhj@xxxxxxxxxxx> > *Sender: * minima-bounce@xxxxxxxxxxxxx > *Date: *Fri, 21 Mar 2014 06:54:36 -0400 > *To: *<minima@xxxxxxxxxxxxx> <minima@xxxxxxxxxxxxx> > *ReplyTo: * minima@xxxxxxxxxxxxx > *Subject: *[minima] Re: Acting on a hunch - Si570 programming code bug > > Jerry, > > Have you tried the old software again? When I went back to the old > software I still could not get it to work. I have torn my setup apart as I > built a Front Panel/Digital Board. I loaded the old software and it works > with a new SI570. I am wondering if I smoked the SI570 in the old setup. > > Thomas, you said your new code does not write anything to EEPROM. Does it > write anything to the SI570 chip. I am not even sure you can write to the > SI570. I am grasping for any thing at this point. > > Frank - W4NHJ > > - > On 3/21/14, 4:16 AM, jerry@xxxxxxxxxxxxxxxx wrote: > > Thomas, my display moves, and the FN button stops and starts it, but the > Si570 is not changing freq. It sits at 56.32. Frank also has the same > problem. I don't think Mac has built his main board yet. With the > original version of the code the frequency actually moved. Jerry > > K5LRU > Harwood, Texas > > > -------- Original Message -------- > Subject: [minima] Re: Acting on a hunch - Si570 programming code bug > From: Thomas Sarlandie <thomas@xxxxxxxxxxxxx> <thomas@xxxxxxxxxxxxx> > Date: Fri, March 21, 2014 2:51 am > To: "minima@xxxxxxxxxxxxx" <minima@xxxxxxxxxxxxx> <minima@xxxxxxxxxxxxx> > <minima@xxxxxxxxxxxxx> > > > Mac, > > This line is needed because there is no external pull up on the function > key. When we set the output to 1, we force a pull-up resistor and the line > default state will be +5v. > > You say it is working now? I guess you were not able to change frequency > because the function key was always pausing your VFO. If you start moving > in frequency now and press the FN button, you will see that it stops the > VFO. > > I had already fixed this problem in the version that is on > github:https://github.com/afarhan/radiono/commit/43fde697f93f937cacdf57bd3f11411fcdc18260 > > Could you please try the latest from github - Without your other changes - > and tell us whether it works or not? > > If not, can you add debug statement in the code to print on the serial port > the values of the variables that are not calculated properly? How did you > find out that some bits had been cleared? Or that the value was not > calculated well? > > 73, > thomas > > > On Wed, Mar 19, 2014 at 9:29 PM, Mac A. Cody <maccody@xxxxxxx> > <maccody@xxxxxxx> wrote: > > > I found that adding the following code to setup also appears > to solve the problem: > > digitalWrite(FBUTTON, 1); > > Considering that the Function button is an analog input, this > is strange, in an 'Arduino sense'. In a 'microcontroller sense', > it is not, as these lines can probably be configured as either > analog inputs or digital inputs/outputs. What is probably > happening is that an internal pull-up is being connected to the > analog input. Not something one would normally do, but it works > in this application. > > 73, > > Mac AE5PH > > > On 03/19/2014 01:21 PM, Wayne McFee wrote: > > > Jerry, > > I had the Function Switch problem, too, in that button pushes weren't > being recognized even though the expected voltage changes were read on pin > 26. > > Adding a 2.2 K pull-up resistor between pin 26 and 5V fixed it. > > Wayne > > On Mar 19, 2014, at 2:10 AM, <jerry@xxxxxxxxxxxxxxxx> > <jerry@xxxxxxxxxxxxxxxx> wrote: > > My Si570 is froze at 56.32. The display tunes as normal, but the Si570 > never shifts off the 56.32 Something in the code was left out in that > .03 version, the part that tells it to work. I know very little about > the code so someone else will have to fix it. I'm going to reload the > old sketch with the FN button problem so I can continue on with > troubleshooting my other problems. Jerry > > K5LRU > Harwood, Texas > > -------- Original Message -------- > > Subject: [minima] Re: Acting on a hunch - Si570 programming code bug > From: Frank <w4nhj@xxxxxxxxxxx> <w4nhj@xxxxxxxxxxx> > Date: Tue, March 18, 2014 10:46 pm > To: minima@xxxxxxxxxxxxx > > > Jerry, > > What I observed on SDA and SCL was that when the tuning pot was in the > center and the frequency on the display was stopped, I got a steady low > or high, don't remember which. When I turned the tune pot and the > frequency on the LCD started moving either up or down, I would see > pulses on SDA and SCL (3 volt pulses), but as you say the actual > frequency stays at 56.31 mHz. > > My Arduino and SI570 are in a different room then my computer. > Tomorrow, per Thomas, I will try to see what I get on the serial > monitor. > > Time for bed. We will get it Jerry! > > Frank - W4NHJ > > - > > > On 3/18/14, 8:58 PM, jerry@xxxxxxxxxxxxxxxx wrote: > I just checked the voltages and they are 3.3. As far as the pulses go, > I have a signal on both SCL and SDA pins with my oscilloscope, which > don't change when I turn the tuning knob. The freq. stays at the 56.32. > Jerry > > K5LRU > Harwood, Texas > > -------- Original Message -------- > > Subject: [minima] Re: Acting on a hunch - Si570 programming code bug > From: Frank <w4nhj@xxxxxxxxxxx> <w4nhj@xxxxxxxxxxx> > Date: Tue, March 18, 2014 11:49 am > To: minima@xxxxxxxxxxxxx > > > Jerry, > > I am running the code right now on an Arduino board with a WB6DHW 5V > to > 3.3V converter/SI570 board. Mine setup should work either way, > pull-ups enabled or disabled. I don't have to worry about getting 5V > on > SDA and SCL with the converter board. I see pulses on SDA and SCL, > but > the oscillator freq stays at 56.32 while the display changes. Check > and > see if you see pulses on the I2C, SDA and SCL, pins. Also check the > voltage, it should be 3.3V. I am going to try a few things, but right > now I am building a digital board. I ordered another SI570 for this > new > board. I sure would like to get the Arduino/converter/570 working as > a > signal generator. Good luck and I will let you know if I find > anything. > > Frank - W4NHJ > > - > > > On 3/18/14, 8:58 AM, jerry@xxxxxxxxxxxxxxxx wrote: > Frank, with the original sketch, did you make the .cpp change in the > wire.h library so the Si570 doesn't get 5v. I did. maybe that's why > mine won't tune now. maybe Thomas did that in the new code also, I > hear > a clicking in the speaker when the tuning is changing frequency on > the > display, but it's not actually changing frequency. Jerry > > K5LRU > Harwood, Texas > > -------- Original Message -------- > > Subject: [minima] Re: Acting on a hunch - Si570 programming code bug > From: Frank <w4nhj@xxxxxxxxxxx> <w4nhj@xxxxxxxxxxx> > Date: Tue, March 18, 2014 6:02 am > To: minima@xxxxxxxxxxxxx > > > Jerry and All, > > I am having the same problem. I went back to the original program > and > the same thing. I wonder if something is being stored in EEProm and > messing things up when you restart. I was suspecting my SI570 was > bad, > maybe not now that someone else is having the same problem. > > Frank - W4NHJ > > - > > > On 3/18/14, 3:09 AM, jerry@xxxxxxxxxxxxxxxx wrote: > I have just downloaded the new .03 version of the code and for some > reason I can no longer tune around. The display shows the frequency > changing, but it's not really changing. I have the 56.32 startup > freq in > my Si570 in my rig. How do I get the register values you need, are > these > the values on pins 7 thru 12? Jerry > > K5LRU > Harwood, Texas > > -------- Original Message -------- > > Subject: [minima] Acting on a hunch - Si570 programming code bug > From: "Mac A. Cody" <maccody@xxxxxxx> <maccody@xxxxxxx> > Date: Mon, March 17, 2014 9:44 pm > To: minima@xxxxxxxxxxxxx > > > Greetings, > > During the development of my Minima construction guide, I > think I may have found some errors in the code to set the > Si570 VFO frequency. My Si570 has a startup frequency of > 10.00 MHz, versus the usual 'ham' Si570 that has a startup > frequency of 56.32 MHz. I believe that I have fixed one > of the code errors and I have a hunch as to why the original > code failed. In order to verify my hunch, would it be > possible for someone with a Si570 with the 56.32 MHz startup > frequency to post the initial values they obtain for registers > 7 through 12? From those values, I can extract the values > for HS, N1, and RFREQ for their Si570 and either verify or > refute my hunch. > > Thanks and 73, > > Mac AE5PH > > > > > -- Regards Sarma