Searching \ for '[SX] A faster pulsin' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/ubicom/devices.htm?key=sx
Search entire site for: 'A faster pulsin'.

Exact match. Not showing close matches.
PICList Thread
'[SX] A faster pulsin'
2007\06\05@090930 by smhhadiman/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, smhhadima wrote:

The pulse in command in the SX is slow (the resolution is 10us)
How can I go as fast as 0.8us? just like the BS/SX
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=194668
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\05@094831 by JonnyMacn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote:

Easy... have a look "under the hood" at the generated assembly code and use it to create a custom function (I've been doing this a lot lately).  Remember, the BS2sx has a fixed 50 MHz resonator and SX/B has to generate code that can work down to 4 MHz and lower, hence the decision to use 10 uS for PULSIN resolution.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=194668#m194678
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\05@094846 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:


cnt = 0
DO ' Wait for pin to go low
LOOP UNTIL inPin = 0
DO ' Wait for pin to go high
LOOP UNTIL inPin = 1
DO ' count until pin goes low again
 PAUSEUS 0.8 ' You'll have to adjust this value to account for instruction time
 INC cnt
 IF cnt = 0 THEN EXIT
LOOP UNTIL inPin = 0
' cnt now holds the desired value

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=194668#m194679
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\06\05@104058 by smhhadiman/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, smhhadima wrote:

it works.
Thank you very much
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=194668#m194692
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

More... (looser matching)
- Last day of these posts
- In 2007 , 2008 only
- Today
- New search...