dklinkman

Question about SW1 on Duo

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

 

--David

BlinkTest1.zip

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now