Searching \ for '[SX] (No Topic)' 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: '(No Topic)'.

Exact match. Not showing close matches.
PICList Thread
'[SX] (No Topic)'
2005\06\17@132040 by ForumAdmin

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

I don't think I have this correct. Will  PULSOUT RB.5, 150 output a 1.5 ms pulse? Thanks for the help
---------- End of Message ----------

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

2005\06\17@132309 by ForumAdmin

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

got click happy, and will Pause 20 be a 20 milisecond delay?

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

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

2005\06\18@095930 by ForumAdmin

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

Hi All,

Looking through the data sheets, I *think* I see that only the SX48/52 have hardware PWM. Is this correct?


Thanks,

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

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

2005\06\30@154423 by heroldn/a

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

I have been using the stamp BS2px to get random bits form the breadboard into the PC via USB. But I have reached the limits by 2800 bits per second and I realized I need much more speed.

Is the SX board usable for that?

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

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


'[SX] (No Topic)'
2005\07\30@214115 by Tolmien/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Tolmie wrote:

We are going into large scale production with a product based on the SX48.

Is there any way to automatically call the programming via a 3rd party application, such as Labview? Perhaps some way of calling the programming algorithm for COM1 via the command line in dos?

Regards,
Shane.

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

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


'[SX] (No Topic)'
2005\08\01@204611 by dkemppain/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, dkemppai wrote:

Hi Guys,

Has anyone tried to debug an SX with the SX-Key when the SX-Key is powered by 5 volts and the SX chip is powered by 3.0 volts? I've got to dig into things a little, but think that it may be possible. Basically, I have some IC's that are not 5 Volt tolerant (Can't get them in 5 volt versions). These IC's will not operate correctly with the SX running at 5.0 volts. Just won't do it.


They only operate at ~3 volts.


Just wondering if anyone knows if it definatley isn't possible! If not, why not?  

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

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

2005\08\01@220840 by Coriolisn/a

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

The robot scrolling medal operates on 3V, and people discussed about half a year ago about programming them. I believe they did it by providing a seperate 5V for the Key, I don't think there was anything more complicated about it, but Im not completely positive.

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

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

2005\08\02@050307 by dkemppain/a

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

[Quoting: "Paul Baker"]
The robot scrolling medal operates on 3V, and people discussed about half a year ago about programming them. I believe they did it by providing a seperate 5V for the Key, I don't think there was anything more complicated about it, but Im not completely positive.

I was thinking that it would be possible. Since the programming to write the flash comes from the SX-Key, it should be possible...   ....I hope.  I'm going to try it today. Will post results.

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

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

2005\08\03@145428 by Tolmien/a

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

Is there a comprehensive list of 3rd party programmers for the Scenix SX20?

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

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

2005\08\03@145840 by Coriolisn/a

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

Im sure its an oversight, but add a subject line to your post, such as "3rd party SX programmers"
---------- End of Message ----------

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

2005\08\12@064038 by Sawmillern/a

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

hi y'all

i have been trying to hook up a scott edwards serial lcd ( the ILM-216 ) to my sx28 using the tech board i can get the screen to flash using this snippit of code ( in the template of course )
main :

   pauseus 1000
   serout RA.1,N2400,14 ' turn on backlight
    pauseus 1000
   serout RA.1,N2400,15  ' turn off backlight
   goto main

now the problem is  its not consistent !!

sometimes the screen flashes twice then stops, sometimes  comes on and just stays on..


i know it should be consistant.. also i cant seem to write to the screen any letters and  such and have them be the same all the time...

i think it has to do with the serout command, because the same lcd , hooked up to a bs2 works fine... or could it be that the sx just talks too fast ???
:hop:  anyways the reason i started this thread is a sugestion for the next rev of SXB i would like a command that would  open up a screen on the pc and i could output regular text to it to test my apps.

i know we have the debugger, and i can look at one char a time if i set up a watch... (that is if my sx-key would stay found on my computer,) but one char a time isnt the same as seeing the whole string outputed....


ps tried using a usb-> serial port for the sx-key problem ,no go ( see earlier thread on problem, http://forums.parallax.com/forums/default.aspx?f=7&m=83466 ) the 1000 uF cap helps in programming but cant use debugger that way so i end up running code thru the sx-sim  ( thanks gunther daubach ) to be able to look at it

am going to go get a another computer.... just to play with this hobby of mine... any suggestions ?


dan ( dazed and confused )
---------- End of Message ----------

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

2005\08\30@135850 by electroworksn/a

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

I've noticed somthing...

The Basic Stamp 2SX OEM is quite a neat board (easy to program, fast, ect). Still, if im not wrong, it's based on the SX28AC/DP.

This is the same chip usen in many of the SX-Key devices. Does this mean that the SX28AC/DP is accually a PBASIC "command interpiter"? Can I buy a SX chip and an EEPROM and have a Basic Stamp? Can the SX devices run PBASIC code?

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

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


'[SX] (No Topic)'
2005\09\02@182534 by Rajasimhann/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Rajasimhan wrote:

hi

im a student doing my masters in UMIST. i am doin a project using the sx and came across a prg in which in the port assignment some abbreviations were given they are DDIR, LVL, ST and PLP. i don hv a clue as to what it is so if anyone can explain it to me it will be very helpful.


Thanks
Raj
---------- End of Message ----------

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

2005\09\08@150021 by GKCSn/a

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

Hello from Germany,
I just started to work with the SX-28 and your great SX/B compiler. I
just
want to ask, if there are any plans to enhance the SX/B compiler for
WORD
variables support.
I do ask, because I too use the BS2p which is also a SX Chip internally.
And
pBasic already supports WORD variables. So, the technology, how to do on
SX
chips in general is already available. It is only a question of
implementation I guess ....

Thanks a lot for your answer, with best regards from Germany
Gerhard Kropf
---------- End of Message ----------

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

2005\09\17@131913 by mrdevisn/a

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

Hi,
I'm possibly just overlooking the obvious, but while executing following code I get a "bad jump or return address: 0203"
message from SXSim. (ver 2.06.02)

org        $200
rK_Tab                jmp        pc+w
               retw        12,6,0,0,0,6 table is called with
               call        rK_Tab is this a known phenomenon?

Thanks for any help,
jeroen
---------- End of Message ----------

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

2005\09\22@072002 by HyJenxn/a

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

I have a few older boards using the SX family that are no longer supported by the manufacturer.  I need to have the ability to keep these things running for the forseeable future.

Is there any way to upload the programs from these chips using the SX-Key?  I am, obviously, totally new to this, so any help is greatly appreciated.

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

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

2005\09\28@131937 by Peter Van der Zeen/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Peter Van der Zee wrote:

Hi All;

The SX family has some fuse bits that can be manipulated with the SYNC directive. According to the documentation, when this is activated it apparently routes all port input bits through a two stage flip flop toggled by the processor clock in order to isosync inputs to the clock....hunh?????


I have not messed with this "feature" yet as I can't understand the purpose of it.


Can anyone shed some light on this?


Cheers,
---------- End of Message ----------

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

2005\09\30@052933 by lawlopezn/a

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

Resonator part numbers
What are the resonator part numbers fro the 4 MHz and 50 MHz that  Parallax are
currently shipping ?

Are they ?


The 50  MHz resonator  is running without any external componants. with the
sxkey unplugged.


Is this a fluke ?

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

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

2005\09\30@073411 by KenMn/a

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

The post was below was in the sand box. Forum users seemed to have trouble understanding the posters question/message.

I offered to the poster translation of the message to english if he posted in his native language. The translation is below.



http://forums.parallax.com/forums/default.aspx?f=15&m=88158&g=89892#m89892


Translation of Masashi-san's post

<translation start>

Thanks a lot. I'm not good at english. You are very helpful, Thanks for your help.

"Angelica" is a reverse assembler fo the SX microcomputer.
Some time ago I made it because of a request to produce a reverse assembler for the SX microcomputer.

If you are interested, please try using it and test it.

I wasn't sure if this was the right place to write in. But I could no find anywhere esle to consult regarding the SX microcomputer (Sorry about that)

<translation end>

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

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


'[SX] (No Topic)'
2005\10\11@225611 by kingnebn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, kingneb wrote:

That program PWM's from zero to 255.  I am doing ten speeds, so the counter has to increment about 255 / 10.  Probably a better way of doing it.  What is the __PARAMCNT variable used for?

Does  __PARAM1 and 2 mean the first and second parameter?


Does WAIT_US  SUB 1, 2 mean declare a sub routine that works with two parameters?

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

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

2005\10\22@152345 by LUCAn/a

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

how to protect my code in sx28 ?

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

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


'[SX] (No Topic)'
2005\11\04@105221 by kingnebn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, kingneb wrote:

Why is SXSIM throwing runtime error '339' when you run the SX Key software?  After that it gives you a yes/no message box asking if you want to update from version 0.0 to 2.something.something  How can I fix this problem?

Thank you
---------- End of Message ----------

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

2005\11\28@125734 by hermann/a

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

please forgive my ignorance... the sx-keys i have are all serial rs-232. can i use a usb to serial
converter and the serial key work correctly? is there a usb key?


i am new this forum.


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

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

2005\11\28@130159 by kb2hapn/a

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

yes you can use a usb to serial. I think the Keyspan and Parallax Usb->Serial work best.
also I think that there may be a usb key in the works or atleast in the back of someones head
---------- End of Message ----------

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


'[SX] (No Topic)'
2005\12\10@212131 by ShadowsSoldiern/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ShadowsSoldier wrote:

In the SX-Key editor how do I view the compiled .SRC code of my .SXB program?

The programmed seemed to do this automatically, then seemed to stop.

Can anyone help?

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

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

2005\12\29@015528 by lesekn/a

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

Excuse for my English.
The virtual periphery for work with CF and HDD, or examples of realization on SX52/75 interests
---------- End of Message ----------

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

2005\12\31@192417 by theyen/a

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

what can you do with the sx microcontrollers? i am new in this
---------- End of Message ----------

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

2005\12\31@203053 by Jon Williamsn/a

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

Just about anything you can do with nearly any other microcontroller.  What kinds of projects interest you?  
PS: Be sure to add a subject line when you start a new thread -- I fixed this one for you.

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

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


'[SX] (No Topic)'
2006\01\05@113256 by maxxn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, maxx wrote:

Hi everybody,
I was doing some demos using my CMUcam 1 and the Basic stamp board of education. But unforunately I reversed the voltage polarities by accident :shakehead: . Is there any way that I can fix it myself. And I wonder which part specificaly did I fry.i checked the regulator and it looks fine to me. The output voltage was 5v and the input was 6.6v. I think the faulty part is the micro controller the sx28ac as The red LED is on but the green LED is always off and when i programed it doesn't respond. I wonder if i can reprogram the sx28ac or do i have to buy a new one?! Thanx for your help
---------- End of Message ----------

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

2006\01\05@130939 by tdg8934n/a

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

In the Help section of the SX-Key editor v3.1 software, there is an example program showing how to use an SX-28 with a 4x4 matrix keypad. I would like to use this as a modified program (no 7 seg display needed as my current design will use a serial LCD anyway).

What I want to do is use the SX28 as a driver IC or slave to a BS2px being the master.


Has anyone done this?


I take it that I will have to use SEROUT and SERIN commands to a pin on the SX-28 and BS2px to receive the keypad strokes on the BS2px.


Comments?


Thanks,

Timothy Gilmore
---------- End of Message ----------

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

2006\01\11@035148 by sammishaln/a

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

Mr Gunther,

I have found a problem in the SXSim programme
See the attached JPG also I am attaching the programme that caused it.


The two error dialogues occured one after the other.


Also when I tried to use Explorer to get onto the forum
I got a message that there was not enough memory to tun the programme. I had to reboot the computer.


Regards

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

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

2006\01\23@102311 by inakin/a

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

Well the FM25256 does work while the FM25640 does not. Apparently both are the same except the 25256 allows for more power supply tolerance and the speed is 15Mhz versus 5Mhz of the 25640.

Anyone has used the FM25256 with success ?

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

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

2006\01\26@065106 by Rsadeikan/a

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

I am working on a device/sensor that will be based on the SX. I am also trying to figure out how to use SX/B to implemnet the I2C command as it would pertain to a slave device. I asked a similar question about this before, and the answer was, if I read it correctly, the I2C command is only for a master. So, in essence, can not be used in a or for a slave device. Maybe, nobody knows for sure, in the next release of SX/B this will be taken care of.

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

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

2006\01\26@075259 by Coriolisn/a

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

Hi Ray, the problem is that I2C slave just doesn't fit into the SX/B model, you can't just stick a command in to receive a I2C command because an I2C slave is supposed to always be listening. To implement an I2C slave the best way is to stick the code into the ISR and be running a RTCC interrupt to periodically handle the I2C slave in the background. Because code in the ISR is supposed to take a very short amount of time, implementation is still preferably in assembly. There are two downloads for I2C slave in SX downloads section, pdf[/u> and]code.

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

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


'[SX] (No Topic)'
2006\02\03@054728 by ShadowsSoldiern/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ShadowsSoldier wrote:

Hey folks, I have some code generated for a delay. I am new to assembly - what is the JMP$+2 command doing? I assume this is some type of nested loop arrangement...Hex 93 = 147 (decimal) and 0b = 11 (decimal). How does this loop waste 18940 cycles? The product of the 2 is only 1617. Does it serve a multiplier function?

; Delay = 0.0037 seconds
; Clock frequency = 5.12 MHz
; Actual delay = 0.0037 seconds = 18944 cycles
; Error = 1.92038577232e-014 %

                       ;18940 cycles
       mov        w, #$93
       mov        Long_Delay1, w
       mov        w, #$0B
       mov        Long_Delay2, w
Delay_A:
       decsz        Long_Delay1
       jmp        $+2
       decsz        Long_Delay2
       jmp        Delay_A
                       ;4 cycles
       jmp        $+1
       nop
---------- End of Message ----------

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

2006\02\03@113404 by Mike_Wn/a

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

I have tried to rewrite SW20-EX27-Stepper_Control.BS2 to work in SX/B. The program seems to run OK but I am not sure of it.Could somebody take a look at it?

First I am not sure if I configured my pull up resistors correctly.


Second I am not quite clear on ( timing ) and the use of RC Time,

Third can I  configureonly the pins I am using in port B ( rb.4, rb.5, rb.6, rb.7) with TRIS_B or do I have to configure all of them.


The stepper is stopped in the middle Potentiometer posistion and starts slow, working to fast in eather direction.


I am using a  Copal Stepper I pulled out of an old 3 1/2 floppy drive, the SX is connected to the stepper via (4) 2n2222 transistors and a 1K resistor between the I/O pin and Base. The potentiomete is wired as in the schematic for SW20-EX27-Stepper_Control.BS2

Thanks
Mike W
---------- End of Message ----------

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

2006\02\03@114737 by beann/a

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

Mike,
 Looks pretty good except....

 You have "right" and "left" declared as subroutines, but you just jumping to them then jumping back to main.
 
 If you want them to be subroutines then you'll have to do this:

   IF Rc_RT < Rc_LT THEN
     Right
   ENDIF
 And of course put a RETURN at the end of each subroutine instead of "GOTO Main"
Bean.

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

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


'[SX] (No Topic)'
2006\03\17@051006 by ShadowsSoldiern/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ShadowsSoldier wrote:

Hey folks,
Does anyone know if I can "tap" the same 75MHz TTL crystal to the SX for other ICs in my circuit? Are there any special restrictions, problems or results with this?

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

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


'[SX] (No Topic)'
2006\04\05@091651 by hondsn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, honds wrote:

I'm trying to locate a part and I can't find it on Digikey because I don't know exactly what I should be searching for.

Does anyone know the part number for the 4 pin header that is used to connect the SXKey to the breadboard?
It is male on both sides and extends straight from the board. It's a very small part that comes with the SX tech boards an the FTDI USB2SER.
Can anyone tell me the name of this part or the equivalent part for Digikey (my preferred source for parts).

I'd get it from the Parallax component shop expect it isn't sold there either! Nor is it listed in the parts list for the SX Tool kits.

Please, lend me your assistance in finding this part.

And thank you ahead of time for any help.

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

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

2006\04\16@101040 by John Kauffmann/a

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

I'm having problems understanding some of the Debug Registers Window, even after reading Daubach, Williams and the Dev System manual.

I understand the left section of the RegWin, showing the current settings for the registers that record RTCC, pin settings, etc. The middle window I can see holds the lines of code in assembly language. I can also see that the lines of code are numbered in sets: [/3][3]0 00 - FF, 1 00 - FF, up to 7 00-FF.

Am I correct that the first digit of the line numbering refers to the eight banks of programming space, each with 2K bytes?

I do not understand the right section.
What is the purpose of this memory and which commands access it?
Is this the same physical space as what is taken by the program code in the middle window? In other words, is there any relationship between the middle box and the right box?
Is this the place where variables and data tables are kept that are available only within the same programming bank?

I've read the sections of the books regarding memory and the hotel floor analogies. As I get it, the first 16 bytes of each bank is essentially the same memory and thus available to all eight programming blocks. Of those 16 bytes, 8 bytes are reserved for SX use (RTCC, RA, etc.) and the upper 8 bytes are available for variables. To relate that to the registers window:
On the block to the left the top eight rows have labels (RTCC.) because they are reserved. The bottom 8 bytes do nto have labels because they are for user variables that will be available to all programming banks. Correct?

In the block on the right, is that why each column start with the top row at $10, because from $00 to $0F are part of the universal registers?

But why do the column labels increment by $20 instead of $10? I understand there are eight banks, but why not name them $00 to 08?

And one last question. I understand that the physical location of W gets moved around so that one byte on the chip does not wear out. That makes me wonder if there is memory management that creates an abstraction layer between chip's physical matrix and the register naming system. What is the relationship between the registers as we discuss and the physical arrangements on the chip?

I would be grateful if anyone can point me to a reference that explains this. Thanks.

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

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

2006\04\19@213938 by meredth78n/a

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

I am trying to get an led to fade. I have done it with the BS2, but I cant get it to work with the SX.  


BS2:  ---WORKS---
           FOR pulsecount = 1 TO 255
           PWM led2, 255 - pulsecount, 3
           NEXT



SX/B: ---NOT WORKING---
           FOR pulsecount = 1 TO 255 step 5
           PWM led2, 255 - pulsecount
           NEXT


HELP

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

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

2006\04\22@092513 by two_shoes_2002

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, two_shoes_2002@yahoo.com wrote:

I thought CCS already had a compliler that works with the SX.  So this is a new product that will integrate with the SX-Key software?

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

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


'[SX] (No Topic)'
2006\05\03@145225 by jpropatin/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, jpropati wrote:

Hello all,

I am doing a project with around 100 LED's!  I want to be able to control each one separately and be able to turn it on or off with a button.  I know I can use Decoder chips to control 7 LED's but I want to use the SX chip to control multiple decoder chips, which will control each of the 100 or more LED's!  Is this possible??


Any help would be appreciated!


Thanks
Joe
---------- End of Message ----------

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


'[SX] (No Topic)'
2006\07\22@071347 by dmkikendalln/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, dmkikendall wrote:

I need to set up an interrrupt on the positive going edge of a signal, then while in the interrupt service routine, modify the configuration to next trigger on the negative going edge and vice-versa.  Does anyone know if this will work or am I forced to use two input pins to get the job done?

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

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

2006\07\22@073428 by Rsadeikan/a

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

The answer to your question is on page 92 in the SX-Key Development System Manual. My interpretation, is that yes , you can do it.

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

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

2006\07\26@194616 by epalumbon/a

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

Okay, I'm new to this type of controller, and I need a few questions answered.  

1. Am I able to use PBASIC to program the controllers?


2. Is there any separate circuitry on the development boards to program it, or can I connect the SX key directly to the right pins?


3. Is the pin setup the same as the Basic stamps?


4. Is it reprogrammable
---------- End of Message ----------

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


'[SX] (No Topic)'
2006\08\05@105948 by giuron/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, giuro wrote:

hi  
I am a new consumer of sx/b.  
I have realized with simplicity different small programs with sx/b, but  
a more complex program (I am using interrupt and SUBs) the code of error  returns me " error44, pass 2: address 347 ises not within lower half of memory page."  
The suggestions on the forum have not helped me. can you clarify better thing do?  
thanks. giuro
---------- End of Message ----------

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

2006\08\22@082905 by mmetzgern/a

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

Parallels ~ VMWare for the Intel Macs.  It can use the Intel Virtualization technology to run another OS image in, well, parallel.  It's ridiculously fast compared to previous software (a la Virtual PC, etc) as it just acts as a resource management application.

Long story short - You may be experiencing the same problems that happen across all these apps - resource contention.  I'm not on my Mac right now but there should be an option for what to emulate the Com port as.  The memory address and IRQ (virtual in this case) define to Windows what the serial port should be.  The best test is going to be if you can connect to anything using that serial port (ie, a modem, a DCE serial device, a router, etc...)    
I haven't tried this yet (don't want to buy the components until I know this works)...

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

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


'[SX] (No Topic)'
2006\09\22@072518 by rwattsn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, rwatts wrote:

With earlier versions of SX/B I had a few problems with code crossing page boundaries.  For instance, if the assembly code for a PAUSE crossed a page boundary, there was a problem.   Since then I routinely added ADDRESS directives so that no code would execute across a page boundary.  
I believe at least some of those problems have gone away.  Have those issues all been resolved?  Is there any reason to worry about crossing page boundaries with SX/B now?

Thanks.

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

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


'[SX] (No Topic)'
2006\10\13@092020 by John Kauffmann/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, John Kauffman wrote:

Still some questions with WATCH. [/3][3]Following is the whole program. I've stripped out everything unneeded. I thought this replicated the WATCH examples in the sample programs, but something is off.


DEVICE          SX28, OSC4MHZ, TURBO, STACKX, OPTIONX
FREQ            4_000_000

MyNum        VAR  Byte
MyChar       VAR  Byte
MyString      VAR  Byte(5)

WATCH MyNum,1,UDEC
WATCH MyChar,1,FSTR
WATCH MyString,5,FSTR

PROGRAM Main nostartup
Main:
MyNum = 5
MyChar = "H"
PUT MyString, "Hello"
BREAK
 GOTO Main


I strike Ctrl+D, it assembles and loads.
Result in Watch Window:
MyNum           '?'
MyChar           1
Mystring           'll???'

Any guesses?
---------- End of Message ----------

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

2006\10\13@100724 by beann/a

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

John,
 Are you hitting RUN from the debug window first ? Otherwise you will see whatever happens to be in those memory locations.

 The second parameter for UDEC is BITS so you would need "WATCH MyNum,8,UDEC", however SX/B will put in the parameters. So you can just use "WATCH MyNum".

Bean.

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

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

2006\10\22@045747 by robsubjavelinn/a

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

Hi,

My first SX28 program (basic+asm) is for control a DC motor, it runs to a position received by an uart (2400).

On the motor there is a gearbox (1:30) and on the shaft there are 12 magnets (N-Z-N-Z...). An Allegro Hall sensor gives speed and direction back. PWM signal (1960Hz, 0-255) and sensor are made in the interrupt routine (asm).


Everything works well. To compensated the clock ticks caused by the interrupt, I looked at the scope and the timing for 2400 baud (4.16msec). By changing the EffectiveHz parameter of FREQ in 18_750_000 the timing was good and all works well. Interrupt = 500_000 (2usec)
I did not compensated the assembly Hall sensor part, because it was not needed!!. Can someone explain this?


So there are some questions left:

- how to calculate the effectivehz parameter
- must i compensated the Hall sensor part as well for clock ticks
- please any reaction on the source

Regards
Rob.

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

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

2006\10\29@203347 by transmonn/a

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

Could the code from this post see attacment be modified to work on a
3x4 keypad? If so would you just delete the "A" "B" "c" and "d" in the lookup table, and change the scan lines p0-p2 outputs and p4-p6 as imputs, how would the DIRL= %00000111 is this correct, dosent seem right this code is writen for BS2 when I convert over to SX it gets an error on X VAR Byte and i Var Nib is that because the memory is not set up the same on the SX chip.  Thanks Dave
---------- End of Message ----------

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


'[SX] (No Topic)'
2006\11\06@141720 by stefn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, stef wrote:

Hi

Can anybody point me to de good direktion. I'm a bit confused by setting up a communication from an sx28 to a pc (serial connection.) I attached rb.o by a resistor 33 k to the pint 2 of the commport and pin 5 (gnd i think) to the vss .

I declared dimbit tx=RB.0 and level rb=$ff

I use in sxwiz (basic compiler) the SEROUT TX,"abcd",3

I'm running on the internal 4 Mhz clock.


Now the confusing bit. What is the baudrate at tis point. The 3 is for 9600 baut at 50 Mhz I think.


How to set it up at 4 Mhz.


The rest of the program is running fine.



Thanks for any help
---------- End of Message ----------

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

2006\11\06@143225 by peterverkaikn/a

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

Read 'understanding serial I/O' in the sxwiz help.
Scroll down to Using Interrupt Driven SIO Routines
You need to set
TIMEBASE 10.417   ' 9600 baud bit-time'
change the timebase value for other baudrates.
For non-interrupt use, I think the sxwiz compiler
automatically adjusts for the given clock frequency.

regards peter
---------- End of Message ----------

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

2006\11\06@144414 by stefn/a

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

Hi peter
I read the section on serial I/O but wen I use timebase 10.417 and try to compile the compiler is generating an error. "timebase is out of range. Use higher frequency clock". Des that maen that At 4Mhz I can't use 9600 baute???

If i step over to 50 Mhz I need to use an external cristal??


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

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

2006\11\09@192728 by ROBOTECHNICn/a

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

IS IT POSSIBLE TO DRIVE A DIGITAL RC SERVO MOTOR WITH SX/B CHIPS?
THANK YOU
---------- End of Message ----------

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

2006\11\09@221837 by Coriolisn/a

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

Which platform are you looking to develop on? You asked this same question in the Propeller forum, both are capable of doing it.  As noted in the reponses to your other thread, you need to know if it is a standard digital servo or a "super" digital servo. The first is driven just like an ordinary servo, the second requires a different refresh rate. Use http://search.parallax.com and look for previos threads talking about the subject.

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

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

2006\11\20@134620 by MARY_JONESn/a

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

Anyone have any reference to some sample programs for a 16 bit calculator that run on SX.
I was able to run an 8 bit, having troble doing 16.

Any help is appriciated.


Thanks,
Mary
---------- End of Message ----------

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

2006\11\21@073536 by naten/a

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

Do a search on sxlist.com

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

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


'[SX] (No Topic)'
2006\12\28@171819 by ricardo_alonson/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ricardo_alonso wrote:

Good afternoon:

Recently i purchased a GPS Receiver Module that uses the SX microprocesor. My idea was to use it for a mobile robot that use an existing ATOM 28 from MBASIC.


The GPS module blink as expected until light remain fixed, indicating it obtained all the sat data necessary for calculating position.


But when i tried to obtain the information, i only receive zeros (no data)

Attached i will put a copy of the Basic program.


I tried all combination and found equivalence from BS2 to MBasic, but unsucesfully. Could any of you have ideas that will help me?


Regards

Ricardo Alonso
ricardo_alonso@yahoo.com


Sio   con  P1
T4800  con  188
Open  con  $8000
Baud  con  Open|T4800    
GetTime  con  $03
GetLat  con  $05
GetLong  con  $06
GetAlt  con  $07
GetSpeed con  $08
GetHead  con  $09
Baud  var  byte
tmHRS  var  byte
tmMIN  var  byte
tmSEC  var  byte degrLAT  var  byte
minLAT  var  byte
secLAT  var  byte degrLONG var  byte
minLONG  var  byte
secLONG  var  byte
Heading  var  word
alt   var  word
speed  var  word clear

' servo p2,0,2
' servo p3,0,2

ciclo:

 SerDetect Sio,nmode,Baud
 SEROUT Sio,Baud, ["!GPS" ,GetTime]
 SERIN  Sio,Baud,3000,No_response, [tmHRS,tmMIN,tmSEC]
 debug [dec tmHRS," ", dec tmMIN, " " , dec tmSEC,13]  
 
 SEROUT Sio,Baud, ["!GPS",GetLat]
 SERIN  Sio,Baud,3000,No_response, [degrLAT,minLAT,secLAT]
 debug [dec degrLAT," ", dec minLAT, " " , dec secLAT,13]  
   
 SEROUT Sio,Baud, ["!GPS",GetLong]
 SERIN  Sio,Baud,3000,No_response, [degrLONG,minLONG,secLONG]
 debug [dec degrLONG," ", dec minLONG, " " , dec secLONG,13]  
 SEROUT Sio,Baud, ["!GPS",GetHead]
 SERIN  Sio,Baud,3000,No_response, [Heading]
 debug [dec Heading,13]  
 SEROUT Sio,Baud, ["!GPS",GetAlt]
 SERIN  Sio,Baud,3000,No_response, [alt]
 debug [dec alt,13]  
 SEROUT Sio,Baud, ["!GPS",GetSpeed]
 SERIN  Sio,Baud,3000,No_response, [speed]
 debug [dec speed,13]  
 
 
 
pause 1000

goto ciclo

 
No_response:

 debug ["No response",13]  

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

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


'[SX] (No Topic)'
2007\01\08@173720 by danwn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, danw wrote:

work in a group of volunteer retired engineers at the Calif Science Center. We are designing and building an exhibit on electric circuits.

I (the only one with microprocessor experience, and it is 15 years old!) recommended that we use an sx-28 to control LEDs to show current paths. The ASM programming went smoothly and it works beautifully on SX-Sim. When I first downloaded it to the sx-28 proto board and tried to use the debugger, "running" was indicated, but all control buttons were shaded. Now I get the message "Vpp generation failed". The max voltage on the board (Vin - Vdd) is 10 v. The power supply is your 7.5 v, 1  wall supply.

I modified the program to test on a sx-52 proto board that I bought for a different project, but never used, with the same results.

Where do I measure Vpp? What can I do to save  the use of the sx-28? If I can not get this running soon we must use another method.

Please help me!!

Danw
danw@ieee.org
7979 Hollywood Blvd.
Los Angeles, CA 90046
323-850-8040
[list]*
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=164222
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\01\22@130547 by Subzero15n/a

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

I was wondering on the actual wiring... not so much on the programming...

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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=166912
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\01\30@171702 by Sergion/a

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

http://forums.parallax.com/forums/posticons/icon8.gif
    Hola Guys, I“ve been programming for a long time in assembler, so I have a little practice., but programming time based interrupts in the SX28 in VP, is driving me crazy. I“m using  a Scenix VP I2cmm found in internet, that works in 50Mhz, with an intperiod of 86. The question is, How can I make it work with a 4Mhz resonator? With the guide of Daubach book, I calculate an intperiod of 7!!

I“m trying to conmunicate to SX28 with i2c but power comsuption is very important. Can you help me??

I include the file for reference.

THANKS (Perhaps it“s a stupid question, but I“m stuck)
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=168676
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)


'[SX] (No Topic)'
2007\02\13@070837 by ems1965n/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ems1965 wrote:

Hypothetically... I have 8 pressure sensor they have a pulse width Output. I have these hooked up to Port B of an SX 28. I can poll each pin in sequence and retrieve the pulse width. No problem with that.

What I what to do is poll each pressure sensor based on a specific pressure. In other words lets say that critical pressure is 10 and all of the sensor are reading 5 except one of them which happends to read 6. The system would prioritize that sensor and read it more frequently and read the other 7 sensors less frequently. There is only 64 Polls and depending on the pressure reading.. Some sensor might only get polled 1 time out of the 64.


Each sensor gets polled at least 1 time in 64.


I hope this makes sense.


Anyone have Ideas on how to make this happen?


Regards,
Eric
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=171859
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\02\13@073813 by mgreenn/a

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

First you need to identify the specific rules you want to use.  How many "levels of concern" do you want to have?  You want to guarantee at least one reading of each sensor per cycle of 64.  What's the maximum number of times for a given sensor?  At what readings do you switch priority?  Once you define this, you can choose a way to make it happen.  How much memory do you have available?  How well do you want to distribute multiple readings across the 64 slots?  You probably don't want to do all the multiple readings of a sensor in the same portion of the cycle.  You want to spread them out.

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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=171859#m171860
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\02\13@074306 by chipheadn/a

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

Ahoy mate;
How about something like this (conceptually):

Define a 64 member array.

Set every 8th element to one of the sensor pin IDs.

Set the balance of the elements to "zero".

Have an index variable for the array.

When it's time to poll, check the value of the array index.  If it's zero, skip until you find a non-zero value.  Then poll that pin.

If you find a pin that needs a higher priority, change one or more array elements to that pin.

When that pin no longer needs to be "higher" in priority, zet the element back to zero.

Lots of details to fill in, but at least one possible concept.  How to know what pins have what elements is the biggest problem I can think of now.  
Thinking conceptually, another possible variation would be for each pin to have it's own array of "poll/don't poll" elements.  Cycle through the arrays, and only poll the pin if the current element is "1".

This would provide regular polling of all pins, and keep the frequency for all pins at a "maximum", yet allow for adding additional polling for one or more pins.

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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=171859#m171862
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\02\22@123545 by George Framen/a

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

Hi,  I have a question on SX/B.  When using the Basic stamp I could use
IN3 to use pin 3 as an input.  How do I do the same thing in SX/B?


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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=173886
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)


'[SX] (No Topic)'
2007\03\17@220652 by kanun/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, kanu wrote:

sir, we hav bought the emic tts module.We would like to connect it to a microcontroller preferably to an AT89C51 for our project. but before that we would like to test the module to see whether it is in working condition.we tried connecting it to a hyperterminal but it didnt work.The module was showing the green LED throughout after initialisation.
In the hyperterminal we had given
say=hello;
as such.This was connected via the RS232 and MAX232.We had connected an 8 ohm speaker b/w pins SP+ and SP-.The other pins we used were Vcc,gnd (8,11),SIN ,SOUT.

is there any other method to test the module?

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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=178955
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\03\26@173006 by Lightfootn/a

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

Is there any way of calculating the frequency the PWM command uses?  The clock is running at 4MHZ.



output ra.0
plp_b = 0
DO
PWM RA.0, RB, 1
LOOP

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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=180981
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\03\27@175818 by PJ Allenn/a

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

OK, this program will Compile and Run fine, but then it bombs when I add the part in Red
 It blinks S-O-S and then a rapid burst; then I wanted to try some dimming (Intensities), by changing values of PAUSEUS (HIGH + LOW = 1000.)
 I reckon there are better ways to do this, but what's the deal with the Compilation error.  OPTIONX?  STACKX?  Fiddle-stix.


DEVICE sx28, oschs3, TURBO, OPTIONX
IRC_CAL  IRC_SLOW
FREQ     28_000_000
PROGRAM  starter
 
starter:
 TRIS_A = $0F
 RA = 0
 X        var  byte
 Y        var  byte
 Hi_Nib   var  byte
 Byt_part var  byte

Message:
 GOSUB Alpha_S
 GOSUB Alpha_O
 GOSUB Alpha_S
 PAUSE 1250
 
' Fast Blink series here:
FOR Y = 0 TO 7
HIGH RA.3
PAUSE 100
LOW RA.3
PAUSE 100
NEXT

PAUSE 2000
 
'Intensities>
FOR Hi_Nib = 0 TO 7
 FOR Byt_Part = $00 TO $FF
   HIGH RA.3
   PAUSEUS 100
   LOW RA.3
   PAUSEUS 900
   NEXT
 NEXT

 
GOTO Message
 
Alpha_S:
 FOR X = 0 TO 2
  HIGH RA.3
  PAUSE 200
  LOW RA.3
  PAUSE 300
  NEXT
  PAUSE 750
 RETURN  
Alpha_O:
 FOR X = 0 TO 2
  HIGH RA.3
  PAUSE 500
  LOW RA.3
  PAUSE 300
  NEXT
  PAUSE 750
 RETURN  

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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=181255
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)


'[SX] (No Topic)'
2007\04\19@103151 by willy1067n/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, willy1067 wrote:

I would first like to thanks, all of the good people of this forum for all the help you have given me the pass few month
specially to a newbie like myself, with answer and questions posted by me.


Now, as I said before, I am not a programmer, and just getting into electronics, so please have patience with me.


I need this for my current project. and because I been using BS2 and need more I/O was suggested to add the SX to my design, I think it's a great idea; but i don't have any of the SX products YET.   and would like to see if this is possible.


I need a simple program. (4) pins

(1) one to control the forward movement of a gear thru a solenoid.

(2) the second to control the reverse motion of the gear thru another solenoid.

the (3) third to receive a serial data output from a digital caliper.

and the (4) fourth to receive a serial data input from the Basic Stamp 2.


the program needs to do the following;

(1) receive a data value from a Basic Stamp 2, telling the SX where to go.

(2) move either forward or reverse to achieve the received value data from the BS2.

(3) check the caliper data to see if the Basic Stamp value was achieved.


again, I am not a programmer.  I was just suggested to use the SX and don't have a clue where to start.

any help is greatly appreciated.


This project will go into my current project, so the more help I get, the faster I can complete it, and post it in the completed projects for future use by all of you guys.   http://forums.parallax.com/forums/default.aspx?f=5&m=176953&g=181039#m181039

I posted a quick picture of what I am trying to achieve.

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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=186476
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\04\25@175019 by JonnyMacn/a

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

Chris,
I've attached a demo that works.  Note that I had to disable collecting the parity bit as my terminal program can't send it.  Also, you don't have to collect the stop bit -- use that time to do something with the data you've just collected from the serial input.

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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=187645
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)


'[SX] (No Topic)'
2007\05\02@140319 by eMANn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, eMAN wrote:

Hello,

Ran into a question that has me puzzled...



I have a program developed for the SX52 (will be a 48 in production) which compares two 8 bit numbers.  One number is declared a byte the other is a word.

[see attached "vars"]



When I code the IF statement I use the _LSB of the word to compare with the byte variable.  Needless to say, the code does not work correctly.  The compare fails when the debugger shows me that the subtract yields a 0 and the zero flag is set.

[see attached "Debugger screen"]

The generated code (I'm not an expert in SX .. .yet) seems to be weird.  The SNZ instruction is followed by a page instruction then a jump.  It would appear that the code will not operate correctly.

Can you help me understand this?

Using: IDE 3.2.3, SASM 1.51.07, SXB 1.51.03, SXSim 2.08.05



Thanks for your help,

_______________________________
Don Gille


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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=188828
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\05\02@142143 by superwormsn/a

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

please add a subject line
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=188828#m188831
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\05\02@142858 by JonnyMacn/a

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

SX/B always precedes program labels with @ to ensure that the program goes where you want it to go without worrying about page boundaries.

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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=188828#m188833
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\05\06@095820 by warnerworkingn/a

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

Thanks for all the help with info on running at 75 MHz. I have ordered the SX0001 75MHz and have designed a circuit board to hold it.

While I am waiting for the board to arrive I was wondering what the device options would look like would they change from.
DEVICE          SX28, OSCHS2, TURBO, STACKX, OPTIONX

If so how?
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=189295
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\05\12@134636 by John Kauffmann/a

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

I am trying to understand the declaration and use of parameters in a section of code provided by Parallax in support of their serial display (part 27977). [/3][3]The code works fine, I am not understanding how it works.

Question #1 regards a sub declaration's MIN parameters
SX/B help states that in the sub declarations, the two arguments are the min and max number of parameters. If only one value is provded ten that is t emin and max. The code line of interest (follows, line 92) indicates that a minimum of two parameters must be sent when the sub is called.
LCD_STR       SUB  2             ' send string to LCD

But when the sub is called in the program (follows, line 118) only one parameter is sent
LCD_STR " PARALLAX SX/B "

Question #2 - what does the parameter actually hold?
I lose the logic of the value in the parameter between the call of the sub and the use within the sub. When the sub is called the parameter is the string of characters to display. But within the sub the parameter seems to be an offset, which I would think is a number indicating where to start parsing the string to send individual bytes one at a time to the sub that actually displays them. And what value goes into temp4 since only one param was sent? I understand that the following code can pull characters from a data store (READ) but it is also used by the above GOSUB to display the literal string.

' Use: LCD_STR [ string | label ]
' -- "string" is an embedded literal string
' -- "label" is DATA statement label for stored z-String

LCD_STR:  
temp3 = __PARAM1     ' get string offset
temp4 = __PARAM2     ' get string base
 DO
   READ temp4 + temp3, temp5   ' read a character
   IF temp5 = 0 THEN EXIT      ' if 0, string complete
   LCD_OUT temp5               ' send the byte
   INC temp3                   ' point to next character
   temp4 = temp4 + Z           ' update base on overflow
 LOOP
 RETURN


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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=190310
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)


'[SX] (No Topic)'
2007\06\04@165857 by Wavemann/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Waveman wrote:

Hello,

I have modified the source code examples for the DS1620 Temp Sensor and Sensirion SHT11 Temp/Humidity Sensor, from the Parallax website, for my application, which currently runs using the BS2.


I was wondering how difficullt it will be to port over to SX/B to run on the SX MCU?


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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=194545
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)


'[SX] (No Topic)'
2007\07\16@111651 by Jared.Woolstonn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Jared.Woolston wrote:

I am attempting to get an RFID reader module to work properly and am afraid I cannot do it. My code is heavily based on the RFID_Security sample code on the web site here: http://www.parallax.com/dl/src/prod/RFID_Security.SXB and it will only work in debug mode. I dont have to watch any variables or anything, just be in debug mode. Using the original code with pin numbers changed to fit my application results in the same thing. I do not have an LCD so I just made that an unused pin when using the original code. The enable pin is RC.0 and the SOUT pin of the RFID module is RC.1. From watching the light on the RFID reader it appears the SX chip isnt getting the right data stream from the module and deciding the card is bad after the first few bytes. Any help would greatly be appreciated.

Thanks
Jared
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=202353
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\07\18@043026 by John Bondn/a

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

Hi Guys

I would appreciate your help.


I'm trying to measure RPM off the plug lead of a gas (petrol) motor. The idea is to have a clip-on sensor that fits over a lead to one of the spark plugs and gives a suitable signal. Reliability is a bit important. Being able to fit and remove the device quickly and easily using unskilled people is very important hence the use of a plug lead sensor.


My searching has not turned up much (plenty on connecting to the low tension side or using "hall effect").


I found the following extract of a circuit that is used to trigger a car strobe light. I'll obviously need to filter the spark "rebound".


QUESTION: - Do any of you have a better circuit? If not, how can I improve this one.


Kind regards from the bottom of the world
John Bond
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=202720
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\07\19@131638 by Mike_Wn/a

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

I am using a SX 28 and the circuit below along with RC Time to monitor light. This circuit works with direct sunlight only.  How could I make it more sensitive to dimmer light.

Main:
 HIGH RC_Pin                                                         ' center sensor
 PAUSEUS 250                                                         ' charge the capacitorfor 250 us
 RCTIME Rc_Pin, 1, CT_Sensor, 5                           ' measure in 10 us (2 x 5) units
 PAUSE 100
GOTO Main


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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=203014
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)


'[SX] (No Topic)'
2007\08\16@110227 by Mike_Wn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Mike_W wrote:

[4]
After reading through examples and text about EEPROM I made an attempt at a program to write and read from a ST M93C46 MICROWIRE serial access EEPROM.


I did not have much luck. I listed the program and a schematic of the part I have. The EEPROM is mounted to a small board and is configured for 16 bit operation.


If anyone could give me an idea where I am going wrong I would appreciate it.


Mike

DEVICE          SX28, OSC4MHZ, TURBO, STACKX, OPTIONX
FREQ            4_000_000
' -------------------------------------------------------------------------------------------------
'      IO Pins
' -------------------------------------------------------------------------------------------------
Chip_Select  VAR RC.1    ' S M93C46 Pin 1 Purple
Serial_Data_Input VAR RC.2    ' D M93C46 Pin 2 Blue
Serial_Data_Output VAR RC.3    ' Q M93C46 Pin 3 Orange
Serial_Clock  VAR RC.4    ' C M93C46 Pin 4 Yellow
' -------------------------------------------------------------------------------------------------
'      Constants
' -------------------------------------------------------------------------------------------------
' Device Op-codes plus a 1 start bit
Read_Device  CON 110    ' read
Write_Device  CON 101    ' write
Erase_Device  CON 111    ' erase a byte or word
EWEN   CON 10011    ' erase/write enable
EWDS   CON 10000    ' erase/write disable
ERAL   CON 10010    ' erase all memory
WRAL   CON 10001    ' write all memory
' -------------------------------------------------------------------------------------------------
'      Variables
' -------------------------------------------------------------------------------------------------
tmpW1   VAR WORD    ' work variable
tmpW2    VAR  WORD     ' data written to device
tmpB1    VAR  BYTE    ' address for reads or writes
tmpB2   VAR BYTE    ' data read from device

' -------------------------------------------------------------------------------------------------
'     Sub Declarations
' -------------------------------------------------------------------------------------------------

Device_Busy  SUB     ' check if device is writing
Device_Enable  SUB     ' enable the device - erase/write
Device_Disable  SUB     ' disable the device - erase/write
Write_to_Device  SUB     ' write to device
Read_from_Device SUB     ' read from device
Erase_Part  SUB     ' erase byte or word
Erase_All  SUB     ' erase all memory
Write_All  SUB     ' write all memory with same data
Delay_MS            SUB     1, 2              ' delay in milliseconds
Delay_US  SUB 1, 2    ' delay in microseconds
' =================================================================================================
 PROGRAM Start
' =================================================================================================
WATCH tmpB2,16,UDEC
WATCH tmpW2,16,UDEC  ' value 251
' -------------------------------------------------------------------------------------------------
'      Program Code
' -------------------------------------------------------------------------------------------------
Start:

LOW Chip_Select       ' deactivate device
  Delay_Ms 1000        ' pause 1000 milliseconds 1 second
Main:

tmpW2 = 251        ' value to write
tmpB1 = %000001       ' address value
   GOSUB Device_Enable       ' enable device for writes
 Delay_US 1
   GOSUB Write_to_Device       ' write the data
 Delay_US 1
   GOSUB Device_Busy       ' wait for write to stop
 Delay_US 1
   GOSUB Device_Disable      ' disable device only write/erase affected
 Delay_US 1
   GOSUB Read_from_Device       ' read the data
 LOW Chip_Select       ' deactivate device
END          ' end program

' =================================================================================================
'      Subroutines / Jump Table
' =================================================================================================
Device_Busy:

 DO WHILE Serial_Data_Output = 1       ' loop until write finishes
  LOOP
 LOW Chip_Select       ' deactivate device
RETURN
' -------------------------------------------------------------------------------------------------
Device_Enable:        ' erase/write enable
 LOW Serial_Clock       ' hold clock low to start instruction
 HIGH Chip_Select       ' activate device
   SHIFTOUT Serial_Data_Input, Serial_Clock, MSBFIRST, EWEN \5  ' send enable opcode
 LOW Chip_Select       ' deactivate device
RETURN
' -------------------------------------------------------------------------------------------------
Device_Disable:        ' erase/write disable
 LOW Serial_Clock       ' hold clock low to start instruction  
 HIGH Chip_Select       ' activate device
   SHIFTOUT Serial_Data_Input, Serial_Clock, MSBFIRST, EWDS \5  ' send disable opcode
 LOW Chip_Select       ' deactivate device
RETURN
' -------------------------------------------------------------------------------------------------
Write_to_Device:       ' write to device
 LOW Serial_Clock       ' hold clock low to start instruction
 HIGH Chip_Select       ' activate device
   SHIFTOUT Serial_Data_Input, Serial_Clock, MSBFIRST, Write_Device \3 ' send write opcode
   SHIFTOUT Serial_Data_Input, Serial_Clock, MSBFIRST, tmpB1 \6 ' send the address
   SHIFTOUT Serial_Data_Input, Serial_Clock, MSBFIRST, tmpW2  ' send the data
 LOW Chip_Select       ' deactivate device
RETURN
' -------------------------------------------------------------------------------------------------
Read_from_Device:       ' read from device
 LOW Serial_Clock       ' hold clock low to start instruction
 HIGH Chip_Select       ' activate device
   SHIFTOUT Serial_Data_Input, Serial_Clock, MSBFIRST, Read_Device \3 ' send read opcode
   SHIFTOUT Serial_Data_Input, Serial_Clock, MSBFIRST, tmpB1 \6 ' send the address
   SHIFTIN Serial_Data_Output, Serial_Clock, MSBPRE, tmpB2 \4  ' read the data data is msb first
 LOW Chip_Select       ' deactivate device
RETURN
' -------------------------------------------------------------------------------------------------
Erase_Part:

 LOW Serial_Clock       ' hold clock low to start instruction
 HIGH Chip_Select       ' activate device
   SHIFTOUT Serial_Data_Input, Serial_Clock, MSBFIRST, Erase_Device \3 ' send write opcode
   SHIFTOUT Serial_Data_Input, Serial_Clock, MSBFIRST, tmpB1 \6 ' send the address
 LOW Chip_Select
RETURN
' -------------------------------------------------------------------------------------------------
Erase_All:

 LOW Serial_Clock       ' hold clock low to start instruction
 HIGH Chip_Select       ' activate device
   SHIFTOUT Serial_Data_Input, Serial_Clock, MSBFIRST, ERAL \5  ' send write opcode
   SHIFTOUT Serial_Data_Input, Serial_Clock, MSBFIRST, tmpB1 \6 ' send the address
 LOW Chip_Select
RETURN
' -------------------------------------------------------------------------------------------------
Write_All:

 LOW Serial_Clock       ' hold clock low to start instruction
 HIGH Chip_Select       ' activate device
   SHIFTOUT Serial_Data_Input, Serial_Clock, MSBFIRST, WRAL \5  ' send write opcode
   SHIFTOUT Serial_Data_Input, Serial_Clock, MSBFIRST, tmpB1 \6 ' send the address
 LOW Chip_Select
RETURN
' -------------------------------------------------------------------------------------------------
' Use: DELAY_MS mSecs (one thousandth of a second)
' -- delays program in milliseconds
Delay_MS:

 IF __PARAMCNT = 1 THEN      ' get delay value
   tmpW1 = __PARAM1       '
 ELSE         ' store delay value
   tmpW1 = __WPARAM12       '
 ENDIF         ' do delay
 PAUSE tmpW1        ' pause for tmpW1 milliseconds
RETURN
' -------------------------------------------------------------------------------------------------
' Use: DELAY_US uSecs (one millionth of a second)
' -- delays program in microseconds
DELAY_US:
 IF __PARAMCNT = 1 THEN
   tmpW1 = __PARAM1
 ELSE
   tmpW1 = __WPARAM12
 ENDIF
 PAUSEUS tmpW1
RETURN
[/4]
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=208841
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\08\29@090458 by Blackbird455n/a

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

Yes,
 I already have a USB to serial cable that I have been using for a long time sucessfully on BS1's and BS2's.

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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=211353
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)


'[SX] (No Topic)'
2007\09\13@101808 by Stefan Mann/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Stefan Man wrote:

Hi, EveryOne

I am new to this Forum

I have Play with the Basic Stamp for a few years but not with SX Chip

I have look at the online stuff that you have for the SX


I have project that all i need to is.....>>>>>>

Look>

Turn>

Then>

Then>

When>

Then>



[color=blue>

[color=blue>


Now i read that this chip has timer on the chip

I would like to know how write this routine

Now i could use a Basic Stamp for this and know how to write this


[color=red>I >

Please let me know in i am wrong in this idea
But i would like to learn something more about a different chip


Is there any one that can help with this Thanks ahead a time for your time
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=216072
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\09\13@152131 by jrockn/a

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

Are there any software upgrades for the ProtoLab 4.0?

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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=216123
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\09\13@220657 by jclindern/a

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

I'm connecting my HP desktop system via USB and using a usb mini male end into a parallax item 28030 "USB to DB-9 connector/232 adaptor" rev b.  Then I plug into my SX-Key rev f.  The usb to db-9 thing installs itself using the lastest ftdi drivers, which are Windows cert.  I view the port that has opened via the Windows Hardware list in the control panel.  It says com3.  I  try all the IDE's I found (2.02, 2.3, 2.3+)...with and without connection to the 4-pin port on my sx-28 and 48/52 boards.  According to the failure msgs when I try to set the clock, with the normal clock disconnected, the IDE consistently fails to find the sx-key on com3.  So, my question is whether the usb-28030-SXkey tool chain is possible?   :confused:

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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=216194
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\09\27@164536 by mojorizingn/a

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

The Pactec enclosure pictured above offers plenty of room for the SX proto boards...I must have read the spec. sheet wrong.  That's the HPLS enclosure pictured above.  However, I'm now thinking of using a 4x20 LCD which won't fit; only a 2x20 display will fit this enclosure.

BTW, Pactec does offer samples of some of their product line http://www.pactecenclosures.com/free_sample.lfml
Thanks, Kevin
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=219785
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)


'[SX] (No Topic)'
2007\10\07@083222 by Kingofl337n/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Kingofl337 wrote:

If only we could run servo PWM so easily.  :smile:

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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=222095
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\10\07@092046 by JonnyMacn/a

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

If you're using the SX, adding a servo-driver VP is quite straightforward; I've done it on a couple projects, one you can read about here:
-- http://www.parallax.com/dl/docs/cols/nv/vol8/col/nv143.pdf
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=222095#m222102
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\10\12@060804 by CCraign/a

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

Andy Lindsay had some good posts a couple of months ago. It was for the BS2 and they worked great. I only tried the first samples until my son wanted his Boe-Bot back. Very good reading.


http://forums.parallax.com/forums/default.aspx?f=10&m=189615

HTH, Chris
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=223451
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)


'[SX] (No Topic)'
2007\11\18@155401 by Fe2o3Fishn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Fe2o3Fish wrote:

A curious issue with using a resonator on the Prop-SX controller.
I'm new to the Prop-SX, SX, and the SX/B in general.

I have a 4-MHz resonator plugged into my Prop-SX board.  I have a
simple candle program loaded into SX-Key 3.2.3 and I'm using SX/Basic.

The DEVICE & FREQ lines are:
DEVICE   SX28, OSCXT2, TURBO, STACKX, OPTIONX
FREQ   4_000_000
Now, I select menu Run->Device.   The following are checked
in the Device window:  SX28, Browout Off, Crystal-XT2, Crystal Drive,
and Crystal Feedback, Turbo Mode, and Stack + OPTION.

LOOP:
I uncheck both Crystal Drive and Feedback (Drive goes into "ghost" mode)
and press the Program button.  Everything goes OK there.

I now press the Verify button and it comes back "Device verifed OK".

Now when I press the Read button (this reads from the SX chip, right?)
and "Crystal Drive" becomes checked again so I go back to LOOP again.  :-)
Alas, the same thing happens.   I go ahead and download my program into
my Prop board and it appears to be working.  Still, moving my mouse pointer
over the Crystal Drive checkbox pops up a little box that says
"Use DEVICE XTLBUFD".  I look that up in the SX-Key manual and it doesn't
look like that's an option I want set when using a resonator.

Am I wrong here?

Where do I learn how to properly use a resonator and the appropriate
program directives and device configuration settings I need?

Thanks!

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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=231456
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)


'[SX] (No Topic)'
2007\12\03@193708 by Banditn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Bandit wrote:

On an SX28 chip I set the RB.1 at 2.4 volts and RB.2 at 5 volts and expected to get a 5 volt output from RB.0.
The only output from RB.0 was a flickering 1 Volt.
Any idea what I am doing wrong?

http://forums.parallax.com/forums/emoticons/jumpin.gif
jumpin
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=234186
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\12\03@195513 by beann/a

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

Have you enabled the comparitor ?
Please post your code.

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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=234186#m234187
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\12\19@112036 by Steeln/a

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

Dang.  I was hoping this was  an offer  :S
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=237220
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)


'[SX] (No Topic)'
2008\01\01@165950 by richaj45n/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, richaj45 wrote:

Why do people continue to use the SX line of parts when there are the PIC18Fxxxx, AVRmegaXXXX, and the new Propeller chips?

I am not trying to cause trouble.  I am just wondering what drives peoples decisions to use an old line of parts?

cheers,
rich
---------- End of Message ----------

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

2008\01\01@170736 by JonnyMacn/a

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

New <> Better
---------- End of Message ----------

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

2008\01\01@190514 by datacpsn/a

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

Speed up to 75 MHz, Price, Support, Flexibility, SX/B, Pretty much the SX chip does everything I need it to do. If I need more HP I will go to the Prop.  Between those two I can do what I need. Also the support here is second to none. From the BS1 to the Prop Parallax opened a big door for me.
Parallax also makes it fun with the Robot Kits, Hydra, ECT. I have PIC chip projects that I am switching over to the SX Chips. I also have a Prop project to do. Like I said before with those two chips I can do what ever I want and get support from expert members, and last but not least have a lot of fun doing it.. Unless I need something with more power than the prop, I will be here for a while..This is my opinion..

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

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

2008\01\01@193028 by mgreenn/a

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

It's a funny marketplace.  The Arduino is a nice platform for the ATmega168 chip for example.  With the Lily Pad version, it may see a lot more use in wearable clothing.  There's nothing particularly unique about this chip.  There's nothing particular that it can do that the SX cannot do other than 6 on-chip ADCs.  The SX can do a couple of sigma-delta ADCs, but I'm not sure if it can do 6 of them and it does require a couple of off-chip passive components.  It's the packaging and the open-source software that's aimed for the raw beginner that will do the trick.

Part of the advantage of the SX (and the Propeller for that matter) is that it's completely software configurable.  It has enough speed and basic functionality to do a lot of what normally takes special purpose functional units on-chip, but in software that comes with the programming tools and is modifiable and extendable.  Sometimes the built-in functional units are convenient and you put up with other quirks.

You can't beat the level of support though.  Unless you're going to use a whole bunch of somebody's microcontroller for a single project, you want good support.  Otherwise, the cost of the learning curve is just too high.

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

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

2008\01\01@193219 by datacpsn/a

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

BTW, I did projects with ATMEGA8-16AC, PIC16C84, PIC16C622, PIC16C711, I am switiching them over to the SX28 or SX48. The Prop project I am doing, none of those chip combined can do what I need the Prop to do... I like the idea that no matter what project I am doing or need to do, I have 3 chips to choose from. I see the PIC chip PIC18F458-E/L is 14 dollars. I also see the PIC18 run at 40 Mhz ...I rather get a Prop for 12.00 and run it at 80 Mhz ,which is why I need the prop.

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

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

2008\01\14@223934 by richaj45n/a

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

I need help to get the best asm code for the following:

1) Declare 12-bit label values stored in program memory.
2) Index into the table of values with a 8-bit number.
3) Read the 12-bit value with iread.
4) Jump to the 12-bit value as a program memory location and start
   execution.

I am new to the SX ASM so could i get help in making this as fast as possible.

cheers,
rich
---------- End of Message ----------

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


'[SX] (No Topic)'
2008\02\15@151243 by loojaden/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, loojade wrote:

hallo everyboby,
I'm new with parallax and SX micro. I want to say sorry for my bad english...

This is my problem:
In a Sx application I would like to save some datas  in internal Flash memory. It's possible keep data into the Flash or I have to use a external EEPROM.
If It's necessary a external EEPROM someone can tell me something about...
Thanks in advance.

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

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

2008\02\15@172909 by JonnyMacn/a

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

You cannot write to the internal flash at run time; you'll need to use an external EEPROM or equivalent device.

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

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

2008\02\22@072738 by robotworkshopn/a

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

Here is an extra function to go along with the ISR based serial code.  There are times when I want to take a peek in the serial input buffer to see what the next character is but I don't want to pull it out just yet.  To do so I just made a copy of RX_BYTE and called it RX_CHKBYTE to check the next character in the buffer.  Before calling the RX_CHKBYTE function I usually just check rxBufCnt to see if it is greater than 0.  If not I don't bother calling it as I have other processing to do.  Adding the extra function was pretty simple as is just doesn't update the pointer and leaves the count alone.  Hopefully others will find this extra function useful.

' Use: aByte = RX_BYTE
' -- returns "aByte" from 8-byte circular buffer
' -- will wait if buffer is presently empty
' -- rxBufCnt holds byte count of receive buffer (0 to 7)
FUNC RX_BYTE
 ASM
   BANK  rxSerial
   TEST  rxBufCnt                                ' check buffer count
   JZ    @RX_BYTE                                ' wait if empty
   MOV   W, #rxBuf                                ' point to tail
   ADD   W, rxTail
   MOV   FSR, W
   MOV   __PARAM1, IND                                ' get byte at tail
   INC   rxTail                                ' update tail
   AND   rxTail, #%00000111                        ' keep 0 to 7    
   DEC   rxBufCnt                                ' update buffer count
   BANK  0
 ENDASM
 ENDFUNC
' Use: aByte = RX_CHKBYTE
' -- returns the tail value from 8-byte circular buffer but leaves
' -- it alone.  Will wait if buffer is presently empty
' -- rxBufCnt holds byte count of receive buffer (0 to 7)
' -- 2/21/2008 RLD
FUNC RX_CHKBYTE
 ASM
   BANK  rxSerial
   TEST  rxBufCnt                                ' check buffer count
   JZ    @RX_CHKBYTE                                ' wait if empty
   MOV   W, #rxBuf                                ' point to tail
   ADD   W, rxTail
   MOV   FSR, W
   MOV   __PARAM1, IND                                ' get byte at tail
   BANK  0
 ENDASM
 ENDFUNC
Best Regards,
Robert
---------- End of Message ----------

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

2008\02\24@101727 by cameraturretn/a

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

I have just gotten the sx tool kit and have begun to learn the chip.   But I cannot seem to download a sample programm and run it.     Every time I try to run the program it says,  "SX Key not found on com1".

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

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

2008\02\24@112908 by JonnyMacn/a

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

Do you have and SX-Key or SX-Blitz?  If the latter, you can only download a program to the SX, you can't run it.  After downloading, remove power, remove the Blitz, plug in a resonator, then restore power.

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

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

2008\02\24@115021 by cameraturretn/a

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

John,
It is the SX key, but I found my problem.   The power supply was only putting out 4 volts.  I threw in another and it runs the sample program fine.  
However, I was under the impression that you could write in PBasic and compile to the sx.  Is that true?  Learning a whole new language will be a task.

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

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

2008\02\24@123647 by JonnyMacn/a

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

You cannot compile PBASIC to run on the SX, you'll write the program in SX/B.  Don't worry, the switch from PBASIC to SX/B is not terribly dramatic and the horsepower gained is worth the small effort.  I haven't written a PBASIC program for myself in ages; everything I've done the last 18 months has been on the SX, using SX/B and occasionally tossing in some Assembly when that makes sense to do.

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

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

2008\02\24@134856 by cameraturretn/a

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

John,
Again I spoke too soon.   I got the books, "programming the SX Microcontroller" and "SX Key developement System manual" and in neither could I find anything about SX/B program set.

Then I found an article called, "Practical SX/B" written by Jon Williams.   It shows how to program in SX/B and it appears as straight forward as you said.

Many thanks,
lou
---------- End of Message ----------

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

2008\02\24@150103 by JonnyMacn/a

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

I would know... I am the actor formerly known as Jon Williams
---------- End of Message ----------

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

2008\02\24@155345 by cameraturretn/a

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

Jon,
This Lou of CT.   If you remember my last name, you will know why I was called chick all my life.

Call me when you get a chance.

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

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


'[SX] (No Topic)'
2008\04\13@135520 by JonnyMacn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote:

Remember that the interrupt is your one constant.  X cycles through it without a change in the ZC state means no AC.  Y cycles through it without a break detection means no incoming DMX data.  You should be able to add a couple counters to your program to keep track of things, and also use the ISR for timing of LED blink periods.  Remember to clear your ZC counter when you do detect a ZC input, and the no-DMX counter when a break is detected.

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

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


'[SX] (No Topic)'
2008\05\13@075217 by edgellmhn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, edgellmh wrote:

Is there a simple way to step through and collect the parameter values from a function without calling each parameter by name?

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

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

2008\05\13@081641 by beann/a

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

I'm not sure what you are asking.
Could you post some code showing what you are doing now ?

P.S. I added a subject to your post for you.

Bean.

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

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

2008\05\13@082358 by edgellmhn/a

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

Is there a way to step thru the __PARAMs without naming each?

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

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

2008\05\13@082718 by beann/a

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

You mean to assign them to other variables ?

I don't know what you mean by "step through" ?

Show us  an example...

Bean.

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

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


'[SX] (No Topic)'
2008\06\04@141153 by apollo21n/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, apollo21 wrote:

My computer doesn't have the serial port.
I want to have the same exercising as it done by using improvement version PIC16F648
A of "Fluffy2".
Is this possible?
I note the content of the CONFIG register the setting of an analog port with Deholt.

What respect do I only have to note besides?
Please give detailed attention when it is possible to do.

Change point with "Schematic" of "Fluffy2"
I want to control the output with an external element detecting the "13.2v" making and the voltage by using "RA3" and "RB3" (PWM) with the charge pump of the capacitor and the diode.
In this case, it is possible to use it for "RA4" to change by not using "RA3" and reversing "RB3" (PWM) with an external transistor.
If PWM is used, it is not necessary to control the reason with software.
(The output is controlled with an external circuit with PWM constantly output. )
Additionally, RB4 is made RB1 for serial communications, and RA2 is
allotted to RB2.

"VDD" The control applies "RA2" to the change of "RB1".
Speed switch "RB7" is changed in "RB5".
Besides, "RA4" doesn't have signs used now. It seems to have used it in "Fluffy".

I want to control serial communications by passing "FT232RL" with USB virtual serial
port of WIN2000.
If RB1-RXD and RB2-TXD are used in the hardware mode, a further high-speed
communication can be expected.

An accurate system clock can be supplied by being able to take out internal 12MHz of "CBUS4" of "FT232RL" and connecting it with "RA7-OSC1".
Or, other "Crystal oscillator" can be installed.

It is almost incompetent to bring software together though I am good at the summary of hardware and the entire idea.

A possible person must help me.
nonnno
---------- End of Message ----------

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

2008\06\07@101855 by rmayhewn/a

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

This is a project update of the SX 3 Axis Controller.


This is a 24 bit version of an earlier project in the forums. The reason for the upgrade was to extend the accuracy boundries and the loss of the source code due to hard drive loss.


The controller is set up for three Gecko Drive 6210 Steeper Drives, Step and Direction inputs are used with 24V power supply.


The inputs to the Gecko are 5V but opto isolators were used anyway.
The RS232 converter is an ADM233 connected to pins D0 and D1. D0, the input pin, is high until a receive level is detected. This means during simulate D0 will need to be toggled or the program will jump directly to the serial subroutines.


The VB program is included for the computer interface. The Linear Move Packet is shorter than the others for reduced delays between moves. It is possible to skip the Cordic for circles using this update if your circles don't have to be too fine. One could emulate the move with the software.


The Cordic is a little jumpy when dividing a circle by 2PI * 1000000 Radians, may need some attention.

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

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


'[SX] (No Topic)'
2008\07\03@131547 by Steeln/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Steel wrote:

I haven't had any problems with any parallax (or other) products on Vista.

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

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


'[SX] (No Topic)'
2008\08\22@170328 by Shawn Lowen/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Shawn Lowe wrote:

Just a quick note:
PJMonty - I have found out what the problem with not finding my program with windows. When I first started the key, windows vista said there was a problem with displaying the program. Upon further investigation, my programs are under a section called compatibility files. However, the attachment manager will not let me see the files under this section.


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

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

2008\08\28@194919 by RS_Jimn/a

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

Good evening,
I don't have a scope but would like to do some pulse width measurement along with the frequency of the pulse.  Is the counter/timer in the SX-48 a workable solution?  I know how to make it do a pwm pulse but am not sure about using the timer functions.  the pulses I am trying to measure are in the 200 to 400 KHz region.

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

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

2008\08\29@031538 by VelocitąPaolan/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, VelocitąPaola wrote:

According to the SX/B documentation, the COUNT command should work just fine.  I'm not sure exactly what kind of waves you'll be measuring, but assuming a 50% DC at 400kHz, the SX would need to be running at at least 40MHz.

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

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


'[SX] (No Topic)'
2008\09\01@162148 by ERICWn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ERICW wrote:

Can you have a subscripted variable that is a word?  Example DIGIT VAR WORD (4). I suspect that you cant. If not, what is the alternative.
Thanks  Eric
---------- End of Message ----------

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

2008\09\01@162337 by Chris Savagen/a

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

Please edit your message using the pencil icon to the top right of the message and add a subject line for assistance.

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

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

2008\09\09@054453 by ERICWn/a

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

I have a question dealing with the order in which code is written. My question is dealing with some code that Peter helped me with on Sunday. He added a subroutine to my program to take a word and break it into an array of bytes. I noticed that when he sent my program back with the new subroutine code, that he changed the order of some of my program elements. Instead of having ISR code under the Interuupt 1000 heading, he moved the ISR code and jumped to it. I believe that the subroutine code was in the middle. My first attempt in typing in the modified code in the original order (Parallax SXB template) would not compile. The compiler stopped recognizing all declarations after the subroutine in the main program code like PLP XXX and all variable names.I have not tried rearranging the code yet like Peter had it. If it is true that order matters, what is the recommended order of things, i.e interrupt code, subroutine code and program code.
Thanks Eric.

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

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

2008\09\09@060809 by beann/a

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

Eric,
 The INTERRUPT keyword must come before anything that generates code (like SUB declarations). So it is common to just put a GOTO after the interrupt, and put the actual interrupt code further down (after the SUB declarations).

 This is because in the SX chip the interrupt code MUST be at address $000.

Bean.

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

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

2008\09\09@060812 by beann/a

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

Eric,
 The INTERRUPT keyword must come before anything that generates code (like SUB declarations). So it is common to just put a GOTO after the interrupt, and put the actual interrupt code further down (after the SUB declarations).

 This is because in the SX chip the interrupt code MUST be at address $000.

Bean.

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

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

2008\09\09@072235 by JonnyMacn/a

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

Most of the time the interrupt code is fairly small and the attached template will help you keep things in order (I created to keep my own head straight).  But, as Peter showed you, there are ways to work around those [rare] times when the interrupt code is large enough to push the jump table (which is created by SUB and FUNC definitions).

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

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

2008\09\28@180950 by Macgman2000n/a

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

Agreed, time to revisit the SX software/hardware. I joined this forum 4 years ago and got into the Sx for a while. Then I am ashamed to say, microchip pulled me towards the dark side with one projects after another. I have pretty much maxed out what I can do with their 8bit family (5 MIPS), so I am revisiting SX :)
Nick
---------- End of Message ----------

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


'[SX] (No Topic)'
2008\10\08@225558 by richaj45n/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, richaj45 wrote:

Hello:

What would take the minimum resources on an SX:  A slave I2C or UART?

I am wondering if i used SX48s as slave controllers what would be the most robust slave interface with the least amount of SX code and ram spave taken up.

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

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

2008\10\09@005654 by peterverkaikn/a

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

Define resources.
A background uart takes less code than a background I2C slave.
If you want to minimize cycles, you can split up code into
several states, which means code size increases but the number
of cycles inside the isr decreases, although it requires more
interrupt periods to complete a task.
So it is a tradeoff between memory and speed, as usual.

regards peter
---------- End of Message ----------

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


'[SX] (No Topic)'
2008\11\05@134228 by Steeln/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Steel wrote:

For the first question:

Technically, an interrupt is just a subroutine...however it requires hardware support (Interrupts reside as both hardware and firmware entities)

When you set up an interrupt to trigger, it polls the interrupt pins to see if there is any criteria that matches your interrupt trigger.


If a trigger occurs, then the interrupt occurs, which stores the program counter (hardware) onto the stack (hardware) and re-assigns the program counter to zero, which is where the interrupt vector runs(hardware).  The program counter then begins, and runs the code (firmware) that you put in that vector.  When the code completes, it reads the program counter value stored on the stack (hardware) and begins incrementing the program counter to run code.


So the interrupt is firmware controlled, however it is hardware executed.




For the second question:

Interrupts are not 'background run' or separate threads.  They aren't on SX chips, PICs, or even PC's.  In fact, the software term 'thread' in itself is misleading. You can look at interrupts the same as sub-routines, except there is hardware support that is constantly polling for an interrupt criteria.


A processor is only able to run one command at a time.  There are many processors that have peripherals built in that are able to run at the same time...but the core of the processor handles one command at a time (such as controlling/reading/writing the internal peripherals.)

In software, when you create a new 'thread' or timer function, you are not running 2 things at once.  The 2 or more 'threads' are 'toggling' their commands on the processor core...but the core is not running 2 programs at once.


The Propeller chip is an example of true multi-processing, as it has 8 processors running simultaneously inside that share program space and memory...

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

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

2008\11\19@183245 by Calebon/a

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

For some reason this has happened for the first time. The programs in one of my program folders just had issues with the RESET     Main command. it says "Redefinition of symbol 'RESET'" and "The symbol <Main> is not defined." :shocked:  Does anyone have an idea why it is doing this??? this just happened to half of my programs in one of my folders but every where else it works fine. :shakehead:

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

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

2008\11\29@205644 by Calebon/a

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

Hey thanks for the previous help with the high and low outputs. Due to my inquisitive mind i was experimenting with the program and was able to remove a few parts and make it simpler but I am confused as to why the program ceases to function without the "@" in the "jmp @Main" line. Using "jmp Main" when connecting 2 LEDs to low caused the LEDs to saty off but when I type the @ back in it works fine. I was wondering why this happened and the reason for using the "@" in front of the Main.

  Attatched is the program that PJMonty sent me regarding turning output pins into high/low pins. Then the next attatchment should be the program that I made trying to figure out the above issue. Also if anyone would be willing to look over my program of turning output pins to high and low without using the "setb, clrb" method then the help is appreciated.


Thanks for your consideration,

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

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


'[SX] (No Topic)'
2008\12\04@214327 by Calebon/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Calebo wrote:

Hey does anyone know where I could find an example of making a timer with the parallax 2x16 serial LCD in assembly? I found a few on controlling LCDs with SX/B so if I would appreciate a good example program of making a serial LCD stopwatch in assembly or SX/B.
Thanks, Calebjo
---------- End of Message ----------

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

2008\12\04@224519 by Beau Schwaben/a

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

Calebjo,
In the future please try to use a more descriptive subject for your post. "(No Subject)" doesn't convey what you need help with. This will often limit potential useful responses as those who can help may never see your message.

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

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

2008\12\04@230827 by williamn/a

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

Can the forum engine be changed to block new topics that has No Subject?
This can solve a lot of headache.

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

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


'[SX] (No Topic)'
2009\01\19@092638 by Steeln/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Steel wrote:

And you're programming an sx chip right?

It sounds like a silly question...but it sounds like you are trying to program something else.  I use SX Blitzes for programming SX20's and SX28's all the time.  It works great.  Like he said, the only thing it doesn't do is debug...It is great for production lines where debugging is not necessary.

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

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

2009\01\22@033622 by p.realaccin/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, p.realacci wrote:

Hello,
I have a very strange problem running the SX48BD at 20Mhz.
I'll try to explain what's happening even though my English is not perfect.

In the past, I had a similar problem, and I thought it was due to the hardware (e.g. clock path, vcc noise etc.).
Now I'm having the same problem again with a completely new board, and I cannot realize what is causing it.
The problem is that the SXB program "crashes" when it calls a specific subroutine from a specific address. If I insert some NOP's somewhere in the code, the program starts to work fine. This problem also disappears by using a 50Mhz clock instead of 20Mhz.

I've written a sample code that simply calls some subroutines at the same memory locations of my original program. To do that, I've used the ADDRESS directive.
The program has a SUB_1 routine that prints "OK" on a RS232 line, and a SUB_2 routine that simply calls SUB_1.
If I use the debugger, and execute the program step-by-step, it works as expected. If I run the program at full speed, it doesn't work.

For instance, if I insert a breakpoint at the instruction "temp1 = 1" in SUB_1, when the breakpoint pops-up I can see that the message "OK" has been sent over the serial port as expected.
If I now move the breakpoint to the instruction "temp1 = 2", and click RUN again, the breakpoint never pops-up.
If I reset the program, and insert the breakpoint at the instruction "temp1 = 3" on the main program, the breakpoint never pops-up.
If, instead, I insert the breakpoint at the instruction "goto StopHere", the breakpoint pops-up (I don't know how), but the content of the register temp1 is 1 and not 3 as expected.

Note that if I change the directive "ADDRESS $83E" into "ADDRESS $83D" the program works as expected.
Also changing the clock frequency form 20MHz to 50MHz the program works fine.

Is there anybody that could try this code using the SX48 prototype board? If it work fine then the problem is indeed due to my hardware.

Thank you.
Paolo.

Here is the code:

DEVICE        SX48, OSCHS2
FREQ            20_000_000
SIn      var rb.3      'RS232 RX
SOut   var rb.5      'RS232 TX temp1         var byte
PROGRAM Start
ADDRESS $43
SUB_1          SUB 0
SUB_2          SUB 0
TX_BYTE     SUB 1
Start:
SUB_1
SUB_2
temp1 = 3
StopHere:
goto StopHere
ADDRESS $83E
SUB SUB_2
temp1 = 1
SUB_1
temp1 = 2
ENDSUB
SUB SUB_1
TX_BYTE "O"
TX_BYTE "K"
ENDSUB
SUB TX_BYTE
 temp1 = __PARAM1                        
 SEROUT SOut, T9600, temp1          
ENDSUB
---------- End of Message ----------

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

2009\01\29@072925 by mwgarardn/a

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

I am completely new to the BS2SX module. I have built test boxes which use the BS2SX. We have one working test box, but want to copy the programming from the programmed BS2SX to the new modules we purchased. Could someone please tell/show me how to do this or point me to someone that may be able to help? Basically, I want to clone the programmed BS2SX modult to the new modules. Thanks!

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

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

2009\01\29@113514 by PJMontyn/a

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

mwgarard,
You need to post in the correct forum.  This is for folks who use SX processors directly.  You're talking about a BS2SX which is a Basic Stamp, so you want the Basic Stamp forum.

Thanks,
PeterM
---------- End of Message ----------

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

2009\01\29@115248 by JonnyMacn/a

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

And the post seems very suspicious at that -- one could conclude that this person wants to clone the BS2sx interpreter instead of buying them from Parallax.

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

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


'[SX] (No Topic)'
2009\02\13@062821 by mojorizingn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, mojorizing wrote:

"NOT" is bitwise, try "-" (negate) with a byte
---------- End of Message ----------

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

2009\02\16@113122 by Peter Van der Zeen/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Peter Van der Zee wrote:

Hi All;

When I'm using the new SX/B conversion command HEXVAL in direct address mode, I believe the wrong address is calculated.... off by -1.


HEXVAL @__Param3, K compiles (first line) to:



1066  00BC  0C0B        MOV FSR,#(__PARAM3-1)          ;  HEXVAL @__Param3, K
     00BD  0024
 

and that points to __Param2, not to __Param3

I have not checked the other conversion commands.


Cheers,

Peter (pjv)
---------- End of Message ----------

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


'[SX] (No Topic)'
2009\03\26@082055 by WFreitagn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, WFreitag wrote:

Hello guys and gurus,

I'm new with the SX28 (not new to microcontrollers, though) and entering matters with the SX-Key Tech Tool Kit.

I have installed Sx-Key v3.2.92h BETA, because this would support the USB-Key I got with the kit.

I'm writing Assembler, at this time writing the typical "blinking LED" samples and studying port configuration and stuff.


What happens from time to time is, that I have a program loaded and running, have made some changes to the source and want to reprogram for debugging, when all of a sudden a message box says Chip connect failed, and when retrying, it says SX-Key not found on COM4. I disconnect the SX-Key, switch of the board and retry, sometimes successful, sometimes I have to retry several times before it works.


Also for some reason the clock frequency seems to be wrong when entering debug modus. Just a couple of minutes ago it happended to change at random. After entering debug the blinking was rather slow and after 2 or 3 seconds it went to the expected speed, without me doing anything at all.


I have to say, most things worked as expected, but I feel a little unsure about the described behaviour.

Anybody else experienced such problems? Maybe it's an already known BETA software issue?

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

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

2009\03\28@102336 by WFreitagn/a

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

Hello, assembler gurus,

what I wanted to achieve is a default clock frequency of 50MHz, being defined in the common include file.

But I wanted the possibility to override the setting in individual source files.

I want to put a statement like MHZ EQU 20, or MHZ EQU 4 in a source file.

In the include I put:


 IFDEF MHZ
   IF MHZ = 20
      FREQ 20_000_000
   ENDIF
ELSE
   FREQ 50_000_000
ENDIF

The assembler will not assemble if I don't have MHZ defined in the source.
But this is the reason why I used the IFDEF statement. In case I didn't define MHZ I want FREQ 50_000_000 to be executed.

In case I defined MHZ, I want FREQ to be set according to the value of MHZ.

This would be fine.

But the assembler complains about the missing symbol MHZ in the IF MHZ = 20 line.

Why? The assembler is not supposed to assemble the lines between IFDEF MHZ and ELSE?

Bug? Or silly me?

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

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


'[SX] (No Topic)'
2009\04\30@154713 by JPH989n/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JPH989 wrote:

Ok first off I would like to thank everyone in advance for their time and help.  Novice doesn't even start to explain my level of understanding and knowledge of microcontrollers..

I have a relatively simple problem I need to overcome.  Below I will outline a basic idea of what I need to have happen and an idea of how I think I can make it happen.  
What I am requesting help on is what components do I need and how can they be combined to solve this problem.  Also if there is an easier way to go about this I am open to any and all ideas.

Lastly I did some basic searching on the forum but I really don't have the vocabulary to do a proper search, there very well may be an answer to my questions on here and if so please point me in the right direction.

Thank-you,
James

Problem:

       Input 01: IF voltage is greater than 0.5vdc then make output pin HIGH (5vdc)
       Input 02: IF voltage is greater than 1.0vdc then make output pin HIGH (5vdc)
       Input 03: IF voltage is greater than 1.5vdc then make output pin HIGH (5vdc)
               (The following inputs have the same IF/THEN question so I will only list the cutoff voltage)
       Input 04: 2.0
       Input 05: 2.5
       Input 06: 3.0
       Input 07: 3.5
       Input 08: 4.0
       Input 09: 4.5
       Input 10: 5.0
       Input 11: 9.0
       Input 12: 12.0
       Input 13: 24.0
The output pin (in the case of the  SX28AC/DP-G I/O #20) will be connected to a relay I also have some very basic statements using some of the other I/Os to control some LEDs so if any solution you offer use a large number of I/Os this my or may not be a problem.


My first thought:
My first thought is that the key to this is interfacing between an ADC0831 8-bit A/D converter DIP and an SX28AC/DP-G.

Like I said before I have only worked a bit with the BS2 so I really don't know where to start, if it wasn't for the fact that I will have to make a run of 20 of these right off the bat and possibly hundreds latter down the line I would just building it on the more expensive BS2.

Any and all help will be appreciated,
James
---------- End of Message ----------

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


'[SX] (No Topic)'
2009\05\01@124233 by pmrobertn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, pmrobert wrote:

4.7-0.2 = 4.5; 115-15 = 100; 4.5/100 = 0.045 volts per kPa; so: (volts measured-0.2)/0.045:=kPa
---------- End of Message ----------

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

2009\05\04@210411 by fishheadn/a

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

Hi all. I am used to using the picaxe. I want to change to a more powerful chip. THe Basic stamp with all the books and experiments would be ideal but the cost is too m uch for me whilst I am job hunting.
So I am looking at the SX wich is inexpensive by comparison but does not have the support in the form of books and parts to learn along the way. Perhaps I should dive in and order the SX starter kit.

Perhaps there are projects to follow in the book that comes with the starter kit ?

Any advice would be very appreciated.

Fishhead :)   :jumpin:

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

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

2009\05\04@210535 by fishheadn/a

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

I would like to order the latest catalogue from Parallax but cannot find the link to do so !!!????

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

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

2009\05\04@212636 by mgreenn/a

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

Click on the Resources tab and you'll see a link to Catalog Request
http://www.parallax.com/Resources/CatalogRequest/tabid/611/Default.aspx
There are several books, sample applications, etc. here:

http://www.parallax.com/tabid/460/Default.aspx
Browse the links under the Resources tab and under Downloads.

You might also consider starting with a Propeller.  The Propeller USB Protoboard is only $40.  The Accessory Kit is only $15 and gets you the ability to use the Protoboard with a VGA display and PS/2 keyboard.  Particularly if you have a small breadboard, some LEDs, resistors, and pushbutton switches, you can do a lot of the experiments in something like the Propeller Education Kit without spending any more money.

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

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

2009\05\05@005917 by hayynn/a

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

Thanks Mike. I have downloaded the new manual, not had a chance to look at it much. In the manual I have (2005) there is a bluetooth tranceiver. It does not state the range.

Does anyone know the range of this device ? I need around 30 or 40 meter range. Iwill contact silicon chip mag to see if they have any bright ideas.

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

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

2009\05\05@091715 by mgreenn/a

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

Parallax's Bluetooth devices are Class 2 (http://en.wikipedia.org/wiki/Bluetooth) with a range up to about 10 meters.  They're simply not designed for ranges on the order of 30-40 meters.  I've seen similar devices with external antennas that can get better coverage and there are Class 1 devices with ranges on the order of 100 meters, but these are much more expensive.

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

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

2009\05\05@120836 by robotworkshopn/a

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

If you need a Class 1 device to work with the SX series chips (or Propeller) you may want to checkout the eb-501 modules and add the Antenna.  I've have good results using them:

http://www.a7eng.com/products/bluetooth/productpages/eb501-ser.htm
Choosing a processor will really depend upon what you want to use the chip for.  The Propeller is a fantastic chip but there are many cases where the SX chips make a lot more sense to use.  One example is if you want to use the chip as a peripheral device for another controller.  The SX chips are ready immediately while the Propeller has some latency while it reads it's program from an external EEPROM.  Another consideration is that you need a few more extra components with the Propeller.  Both great chips!

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

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


'[SX] (No Topic)'
2009\06\16@164411 by Fred_5msn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Fred_5ms wrote:

A schematic
---------- End of Message ----------

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


'[SX] (No Topic)'
2009\07\01@174519 by bbfarmn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bbfarm wrote:

Bean

I am relatively new to SX.  I have a SX48 protoboard that I have sucessfully programmed some functions that work.  The problem I'm having is I can't get I2C EEprom working. All I get back is garbage. I've attached file of how I2C is connected and the program file.  Hope its something simple.


I am running at 75MHz because this will eventually be a data acquisition program.


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

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

2009\07\01@230113 by PJMontyn/a

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

Ben,
Add a subject to this thread to get more people to read it.  In general, never post without a subject as those threads often get ignored.

Thanks,
PeterM
---------- End of Message ----------

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

2009\07\02@041515 by beann/a

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

Do you really want the I2CSPEED to be 0.01 ?
That might cause a problem at high clock speeds.
Try removing that line.

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

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


'[SX] (No Topic)'
2009\08\06@071023 by daveheinn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, davehein wrote:

I understand Parallax's reasons for dropping the SX.  However, I don't understand why Parallax hasn't partnered with a PIC chip manufacturer to provide a replacement.  The reasons I use the SX is because of the support Parallax provides.  I started with the Basic Stamp, and then moved over to the SX when I saw it's capabilities.  I needed the ability to use interrupts, and the SX provided that feature.

The SX/B language made it easy to transistion from the Basic Stamp to the SX.  I pretty much write everything in SX assembly now, but I still use the SX/B to generate reference code when needed.


I like the simplicity of the SX.  For some applications I can use the internal clock generator, and the only external component I need is a pull-up resistor for the reset line.  The SX-Key is a great device, and I normally add a 4-pin header to my projects so I can reprogram the SX in-circuit.


The Prop has too large of a footprint for most of my applications.  I normally use SX18 chips for my projects.  I have a small supply of these chips and the SX28 chips that will serve my needs for a few years.  Personally, the SX EOL won't affect me too much.  This is probably true of most of the hobbyist that use the SX.  Of course, I'll be in trouble if my SX-Key breaks before I run out of SX chips.


The biggest problem will be for people that use the SX chip in their products.  Chip suppliers normally have a replacement chip for the part that they EOL.  In this case, Parallax has no such part.  Manufacturers will have to buy enough SX chips to support their products until they can redesign them to use PIC chips.


Over the next few years Parallax will lose their pools of SX customers.  This may not be a large pool of customers, but we do buy other parts from Parallax.  In my case I have bought voltage regulators, EEPROMs, Accelerometers, A/D converters, and other components  from Parallax.  I could have bought these components from other sources, but the one-stop shopping made it easier.  If I need to switch to the PIC processor, then I might as well get my other parts from that source as well.


This is why I would encourage Parallax to resell PIC parts that provide capability that is similar to the SX.  I would also encourage Parallax to provide an SX/B-like enviroment for a PIC chip.   This way customers could continue to do their one-stop shopping for their projects at Parallax.


To the Parallax management, my views are just the opinion of one customer.  Other customers may have other opinions.  The EOL of the SX causes me little hassle or frustration.   However, I like doing business with Parallax.   I have been looking at the Prop for some of my more complex projects.  It would be nice if Parallax could provide a replacement for the SX for smaller projects.


Thanks,
Dave Hein
---------- End of Message ----------

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

2009\08\06@071922 by daveheinn/a

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

I intended the previous post to be part of the SX EOL thread.  I guess I hit the wrong button.  Could an forum admin please add a subject to this thread labelled "SX Replacement", or move the previous post to the SX EOL thread?  Otherwise, I suppose we could continue this thread with no subject.

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

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

2009\08\06@073315 by peterverkaikn/a

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

You can edit the subject by clicking the pencil symbol.

The SX uses 1 clockcycle per instruction, and @50MHz that means 50 MIPS.
PIC uses 4 clockcycles per instruction, and @20MHz that means 5 MIPS.
(do you know any small dip package PIC that runs @50MHz ?)
Closest replacement would be ATtiny, 1 clockcycle per instruction, 20MHz,
so those are closest to SX @20MHz.

regards peter
---------- End of Message ----------

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

2009\08\15@021423 by man7osn/a

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


Microchip / PIC16F877A
PIC Microcontroller
$4.68 x 1 = $4.68
FOX / 520-TCF2000
20 MHz Oscillator
$1.58 x 1 = $1.58
Panasonic / LN175
GaAIAs Infrared LED
$1.81 x 1 = $1.81
Sharp / IS489
Light Detector Sensor
$0.92 x 1 = $0.92
Freescale / MC145026
Encoder
$2.19 x 1 = $2.19
Freescale / MC145027
Decoder
$2.60 x 1 = $2.60
Alcoswitch / MTA-206N
Toggle Switch    
$3.43 x 2 = $6.86
Hewlett Packard / HLMP3401
Yellow LED
$0.15 x 5 = $0.75
All Electronics / VB-1
Vibrating Motor
$1.25 x 1 = $1.25
Chicago Miniature / 7219
12V Lamp
$1.35 x 5 = $6.75
MCM ELECTRONICS / 28-1645            
6V Buzzer
$2.15 x 1 = $2.15
National Semiconductor / CD4025
Triple Input NOR Gate
$0.40 x 1 = $0.40
LINX / TXM-900-HP3-PPS
Wireless Transmitter
$29.45 x 1 = $29.45
LINX / RXM-900-HP3-PPS
Wireless Receiver
$30.33 x 1 = $30.33
Motorola / MC7805CTFS-ND
5 V Regulator
$0.53 x 2 = $1.06
BOURNS / 3006P-1-105
Potentiometer
$0.87 x 1 = $0.87
Energizer / EN22
Industrial 9V Battery
$1.38 x 1 = $1.38
Durakool / T08-1006
Tilt Switch
$5.98 x 3 = $17.94
Unknown
Safety Glasses
$5.00 x 1 = $5.00
2N2222
NPN Transistor Switch
$0.24 x 3 = $0.72
Unknown
9V Battery Holder
$0.50 x 1 = $0.50
ICE-143-S-TG  
14-pin Socket
$0.39 x 1 = $0.39
Various
Capacitor
$0.25 x 5 = $1.25
Various
Resistor
$0.25 x 5 = $1.25
Parts Shop
Printed Circuit Board
$5.00 x 1 = $5.00
Walgreens
Developed Film
$0.17 x 1 = $0.17



i want to order the hole parts , where i can get them ? or can any body collect them and i give him a commition ? in kuwait
---------- End of Message ----------

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


'[SX] (No Topic)'
2009\09\16@092503 by 97566n/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, 97566 wrote:

I have started to work on my clock and hit a problem. I want to blank the first digit when the digit is not in use.

I have included my code with the post as well.


Thank you
ACE227
---------- End of Message ----------

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

2009\09\16@102701 by tdg8934n/a

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

Try adding what is in bold to your subroutines below:


' Display timer in MM.SS (00.00 .. 59.59) format with solid DP
SUB CLOCK_MMSS      ' display mins & secs
 tmpB1 = mins / 10     ' get 10's digit
 tmpB2 = __REMAINDER     ' save 1's digit
 READ SegMap + tmpB1, display(3)
 READ SegMap + tmpB2, display(2)
 display(2) = display(2) | DecPnt   ' add DP to hr01 digit
 tmpB1 = secs / 10
 tmpB2 = __REMAINDER
 READ SegMap + tmpB1, display(1)
 READ SegMap + tmpB2, display(0)
 IF display(0) = %00111111 THEN  ' if 1st digit is a 0 then blank
    display(0) = %00000000
 ENDIF
 
 HIGH LED
 PAUSE 500
 LOW LED
 PAUSE 500
 IF TmrEnable = TmrRun THEN
   GOTO Main
 ELSE
   ChangeSec
 ENDIF
ENDSUB
' -------------------------------------------------------------------------
' Display timer in HH.MM (00.00 .. 23.59) format with blinking DP
CLOCK_HHMM:      ' display hours & mins
 tmpB1 = hrs / 10
 tmpB2 = __REMAINDER
 READ SegMap + tmpB1, display(3)
 READ SegMap + tmpB2, display(2)
 IF blink = Yes THEN
   display(2) = display(2) | DecPnt   ' blink DP on hr01 digit
 ENDIF
 tmpB1 = mins / 10
 tmpB2 = __REMAINDER
 READ SegMap + tmpB1, display(1)
 READ SegMap + tmpB2, display(0)
 IF display(0) = %00111111 THEN  ' if 1st digit is a 0 then blank
    display(0) = %00000000

 ENDIF
 HIGH LED
 PAUSE 500
 LOW LED
 PAUSE 500
 IF TmrEnable = TmrRun THEN
   GOTO Main
 ELSE
   ChangeMin
 ENDIF
ENDSUB


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

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

2009\09\17@210340 by Chris Savagen/a

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

You should use the pencil icon to the top right of your message to add a descriptive subject to your post as well.  Take care.

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

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

2009\09\18@091014 by 97566n/a

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

Thank you Tim. That helped me out a lot.

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

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


'[SX] (No Topic)'
2009\10\08@094645 by 97566n/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, 97566 wrote:

I have another question with my clock.
I got it to work on my circut board and I put in two leds. I want to blink one led once every second and the other led to blink once every ten seconds. Now I had the led for ever second to blink but the code would wait until it read through the code before continuing to the next step. I would like to know how to put in that bit of code and always run but not interupt the other coding.
Thanks for all the help.
ACE227
---------- End of Message ----------

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

2009\10\08@100130 by mgreenn/a

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

Please add a descriptive subject to your message as Chris requested.

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

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

2009\10\08@103524 by 97566n/a

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

What are you looking for Mike?

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

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

2009\10\08@123722 by Shawn Lowen/a

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

Ace-
If you add a subject to your message, you'll be helping people who have your exact problem. Your solution can help them, but not if they can't find the posting.

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

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

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