Jump to content
  • 0

How to configure a one shot push button


Glen Grenier

Question

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.

Glen

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...