• 0

How to configure a one shot push button


Hi all,  brand new to the forum and just received my analog 2 discovery. Pretty impressed with it so far.  Actually I'm working on an interrupt driven spi interface to a SPI accelerometer.  All is working well,  but I would like to configure a button...say in the Static I/O tool, or the patterns tool whereby it can represent my interrupt in. 

I want to be able to trigger a single interrupt,  this will trigger my Interrupt Service Routine, my scope and logic analyzer and I will be able to observe the Single SPI transaction.

So,  restating the question :  "I just want to configure a pushbutton using a Analog discovery 2 instrument that will act like a button driving a one shot (Monostable Multivibrator in the ancient vernacular)  with a pulse length of about 20us.   I push the button say in the Static logic tool and 20 us later it returns to zero.  

Any quick ideas here...I could probably read a while and figure out a strategy but I'm looking for a quick fix.. Thanks.


Link to post
Share on other sites

1 answer to this question

Recommended Posts

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