please dont rip this site

Ubicom SX Embedded Controller Interrupt

Pulse width tests

There does not appear to be any documentation of the minimum pulse width that will reliably trigger an interupt on the SX devices.

Peter Van der Zee says:

As this issue is also interesting to me, I decided to do some tests, and here are the results.

Operating at 5 volts and room temperature, turbo mode, and triggering the pulse into port B.0, the threshold of pulse detection was 5 nano seconds (as short as my pulse generator will go) with about 80% success. Stretching this to 6 nano seconds or longer brought the detection to 100%.

It worked identically for detecting rising and falling edges, and it captured equally well at 50 Mhz using SX-Key's clock and 4Mhz internal clock.

At 50 Mhz the minimum delay time in entering interrupt was 100 nano seconds, equal to 5 instructions, and the maximum delay was 120 nano seconds, the difference of course being the asynchronicity between the pulse generator and the processor clock.

At 4 Mhz the minimum delay time in entering interrupt was 1000 nano seconds, equal to 4 instructions, and the maximum delay was 1250 nano seconds.

It would appear that there is some 20 nano seconds of transit delay which of course is not noticable at the slower speed, but shows up as the equivalent time of one instruction at 50 Mhz.

The delay testing was done by triggering one channel of my oscilloscope on the pulse edge, and observing an RB.7 bit-set flag as the first instruction in the interrupt on another channel. The scope bandwidth was set to 500 Mhz.

Because the observable bit-set (read-modify-write) occurs near the end on a processor cycle, the duration of the bit-set instruction (20 nano seconds for the 50 Mhz case) was subtracted from the observed time, giving the net results indicated above. In other words, the actual time observed on the scope was one instruction longer time than the true time to enter interrupt; the final instruction cycle does not count in determining the number of cycles to get from the pulse edge into interrupt.


file: /Techref/scenix/intpulse.htm, 2KB, , updated: 2005/3/8 18:37, local time: 2024/11/24 19:48,
TOP NEW HELP FIND: 
18.117.75.53:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://techref.massmind.org/techref/scenix/intpulse.htm"> Ubicom SX Embedded Controller Interrupts</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to techref.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .