dklinkman Posted March 9, 2015 Report Share Posted March 9, 2015 Got my board about a week ago, been playing around with it. Very slick. Question about the user switch though. Looking at the schematic I see one side of the SW1 switch connected to an FPGA input (O_L1N_VREF_1 or pin 104). And the switch is just switching between 1 and 0. And of course an FPGA output pin 139 connects to the AVR reset. On the blank circuit I remove the switch input ahead of the inverter and change it to a pull down (or pull up). At this point I expect the user switch to not be doing anything. Blink on the AVR is running fine with the pull down. Now when I move the switch either up or down, the FPGA restarts, even though I expect nothing to happen. Or I assume this because the USB port goes away then comes back, and the circuit is reloaded. The AVR restarts also. I just can't figure out why. I know there is a second side to the DPDT switch, but per the schematic it doesn't appear to be connected to anything. I must be missing something though, because the Duo definitely restarts when changing the switch. :confused: --David Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted March 9, 2015 Report Share Posted March 9, 2015 Hello, Can you make a screenshot of the circuit or post the project here? Maybe what is happening is that there is something off in the loaded circuit that causes 3.3V to connect to ground which makes the FPGA reset? Jack. Quote Link to comment Share on other sites More sharing options...
dklinkman Posted March 10, 2015 Author Report Share Posted March 10, 2015 I attached the project. However I think I found the problem. I thought this was some sort of logic problem but after your comment about 3v3 connecting to ground I hooked up an ohmmeter across the opposite terminals of the slide switch. Right in the center, if I move the switch slowly, there is a spot where the opposite contacts are connected. That's probably not good. Powered on this would appear to short 3v3 to ground long enough to restart the circuit every time the switch is moved. --DavidBlinkTest1.zip Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted March 10, 2015 Report Share Posted March 10, 2015 Uh, oh. That's not good... Let me know if you want to replace the DUO board. Jack. Quote Link to comment Share on other sites More sharing options...
dklinkman Posted March 10, 2015 Author Report Share Posted March 10, 2015 Maybe just the switch. Do you have a spare? Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted March 10, 2015 Report Share Posted March 10, 2015 Unfortunately I don't have any extra switches, I would have to request some from Seeed... Jack. Quote Link to comment Share on other sites More sharing options...
dklinkman Posted March 10, 2015 Author Report Share Posted March 10, 2015 Is it this one (see attachment)? Part 3010010P1 from Seeed's open parts list? Looks like it might be the right size and construction. I should be able to get this locally for about $.39 if it's the right one. 3010010P1.pdf Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted March 10, 2015 Report Share Posted March 10, 2015 Yes, the switch is directly from the Seeed Open Parts list. (Which is part of the reason its hard for me to source.) Jack Quote Link to comment Share on other sites More sharing options...
dklinkman Posted March 10, 2015 Author Report Share Posted March 10, 2015 Ok great. I'll just need to stop fiddling with the switch for now. And next time I order some stuff from Digikey I'll simply get a new switch. No need to replace the board. Pricey item that. Cheers!! --David Quote Link to comment Share on other sites More sharing options...
mathers Posted May 22, 2015 Report Share Posted May 22, 2015 Hi, Just dropping by to say that I have exactly the same problem... Quote Link to comment Share on other sites More sharing options...
Jack Gassett Posted May 22, 2015 Report Share Posted May 22, 2015 If you would like a replacement board please send us a message to support@gadgetfactory.net. I have not noticed any resetting of my boards here when I flip that switch. We can get you a new board if you like. Jack. Quote Link to comment Share on other sites More sharing options...
smithh Posted October 30, 2015 Report Share Posted October 30, 2015 dklinkman, Did you get your switch problem solved? I just broke mine and need a replacement. Hugh Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.