I'm not sure how anyone can debounce a switch without a delay or ISR routine of some sort, but just about every way of deboucing a switch with the SX is shown here:...
Type: Posts; User: James Newton
I'm not sure how anyone can debounce a switch without a delay or ISR routine of some sort, but just about every way of deboucing a switch with the SX is shown here:...
http://www.sxlist.com/cgi-bin/delay.exe?Delay=2000&Type=cycles&Regs=d1+d2+d3+d4&clock=4&name=Delay&CPU=SX
but change the clock=4 to clock= how ever many mega hertz your clock is actually running...
Peter, that is really interesting, but I'm a little confused...
What does the [ 75 ] represent?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
---
James Newton, Host of SXList.com
james at sxlist,com...
PJV, I've already done all that in the mymacros.src file I referenced above. Look at the way the subroutine macro is defined. The only difference is you do the setup when you define the subroutine...
What PV said.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
---
James Newton, Host of SXList.com
james at sxlist,com 1-619-652-0593 fax:1-208-279-8767
SX FAQ / Code / Tutorials / Documentation: ...
I believe the problem is that "Name" gets evaluated to a numerical value prior to being passed to the macro. Name evaluates to 0 which is then the value assigned to ADDR and so ADDR is defined, but...
http://www.sxlist.com/techref/ubicom/lib/mem/tables_sx.htm explains it all.
bitnum2mask
;load lower byte of address plus index
mov temp, W ;store index
mov W, #table_start && $FF ;w = lower...
Dude... The datasheet for the SX28 specifies 5.5 volts MAXIMUM supply voltage. That means you MUST have a regulated power supply.
Also, where is your clock? Did you setup the chip to run on the...
Time for the naked ugly truth as I know it: The macro section in SASM has a few strange and interesting bugs. The ones I've found have been reported years ago, but the people who originally wrote the...
There isn't any reason why the standard 8 bit PWM routines couldn't be expanded to provide 10 or 16 bit PWM output. Sadly, I have no such routines in the library. If you make one, please share it?
...
Just a quick point: From the pictures, that would appear to be set in India or some such place. I would guess there is a high probability that the people who made it and are using it faced a choice...
I believe I still have some around here somewhere... I think I have some rated at 75 and some rated for 100Mhz... I'll be holding out for a higher price for those screamers.
...
I've added that to:
http://www.sxlist.com/techref/ubicom/analogcomparator.htm
along with a lot of other findings from other peoples tests...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
---
James Newton,...
And they are documented at
http://www.sxlist.com/techref/ubicom/secrets.htm
and in the instruction list at
http://www.sxlist.com/techref/ubicom/inst.htm#secret
Please consider adding...
Although it probably doesn't apply to the OP's design, there are some interesting issues with multiple interrupt sources on the SX chips.
Check out:...
http://www.sxlist.com/techref/ubicom/lib/math/bit/setbit_sx.htm
may be of help.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
---
James Newton, Host of SXList.com
james at sxlist,com 1-619-652-0593...
My understanding is that gpasm (the assembler in gputils) is production / stable. It has a number of PIC users. I just don't think it has many SX users because they haven't made it clear they support...
Did you guys know that there is (apparently) an open source·tool chain including assembler that supports the SX chips? Search for gputils at sourceforge. Apparently it has supported the SX line for...
That's pretty cool... IF it makes it the rest of the way to a full blown replacement for SASM.
Have you thought about the macro language in SASM? Do you plan on supporting that or no?
...
Simular things have been done with PIC's at much lower frequencies. I see no reason why an SX couldn't be used. Given the SX speed, you could even reduce the need for filtering (not eliminate the...
The screen shots are amazing...
The (aparent) ability to draw a schematic with all those different types of components connected to the SX and then simulate not only the SX, but what the...
http://www.sxlist.com/techref/ubicom/hardware.htm ·where I just added to the line "Read/Modify/Write problems get worse at high speeds and also get worse at lower operating voltages."
...
As it happens, someone (who wishes to remain anon) DID step up, in what I consider a more constructive way than you did, and made a contribution which covered the registration fee. The google ads...
I'm trying to decide if I should renew the site or not. No one is supporting it financially (except for me) and the registration / hosting costs are adding up. I get a VERY small amound from the...
Please check the datasheet. Are the current SX's are rated to run at 50Mhz at 3.3 volts?
Does your Tektronics blink program run at 3.3v with a lower frequency resonator?
My clue here is that...