Searching \ for '[SX] SX48 proto board and Pull ups' 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=sx48
Search entire site for: 'SX48 proto board and Pull ups'.

Exact match. Not showing close matches.
PICList Thread
'[SX] SX48 proto board and Pull ups'
2008\07\17@065024 by RS_Jimn/a

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

Good Morning,
I am just a little frustrated with my SX-48 Proto board and or my software not sure which.  I am trying to read an 8position dip switch in port e.  The switch is connected to VSS on one side and thru 270 ohm resistors to RE.  Using the following commands to load port and read:

port e latch $00
Port e DDIR  $FF
Port e PLP   $00

The commands to load are:

_mode  ST mov w#RE_ST
Mov !RE,W
_mode LVL mov W,#RE_LVL mov !RE,W
_mode PLP mov w,#PLP mov !RE,w
_mode DDIR mov w,#DDIR_E mov !RE,w
_mode latch mov w,#RE_latch mov !RE,w

mov __WPARAM12_LSB,DIP_1

I see nothing in W during the transfer when I breakpoint in DEBUG
where am I going wrong?


I also am having a problem with SXSIM in that I cannot keep the Commands desplaying after I load the lst file.

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=279839
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\07\17@071001 by beann/a

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

Jim,
 In theory you have everything correct.  The code snipet you have posted doesn't help at all.

 Try to reduce the program to the least amount of code that still exhibits the problem.
 Then post the entire code so we can try it and see if we can reproduce the issue.

 I have found when doing this, many times I find the problem myself in the process.

Bean.

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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=279839#m279848
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\07\18@202114 by Sparks-R-Funn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Sparks-R-Fun wrote:

As you step through your program in DEBUG do you see the correct state of PORT E being reflected in the debugger?  If not, it may be an indication of a hardware problem rather than software.

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

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

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

Ok, I am beginning to think that the problem is hardware.  I have moved just the port set up code and the input instructions to a test file and compiled it.  Results are the same. Question, on the SX-48 proto board, the lable on the build side of the board that says VSS, is that really VSS? Or do I need to jumper that to ground?

The test file is attached.

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

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

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

It is ground. No worries there.

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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=279839#m280231
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\07\20@072147 by RS_Jimn/a

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

Good Sunday Morning,
Using the snipit of code I posted the other day, I run the program fine under SX-Sim.  It does as I expect.  However, when I run it on a protoboard, I get all 0 all the time on RE.  I grabbed a brand new proto board, after implementing strict ESD measures and installed a single 270 ohm resistor from RE 5 to VSS.  I would expect to see all 1 except a 0 in RE.5. Where do I go from here?
Jim
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=279839#m280348
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\07\20@080501 by PJ Allenn/a

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

Could you set up a switch this way (see pic) and tell me the results?

[Disregard the LED ckt on the side.  And "P1" would be your SX input pin.]
http://i270.photobucket.com/albums/jj118/new_clear_days/circuits/blackbird.jpg
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=279839#m280356
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\07\20@081047 by RS_Jimn/a

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

PJ
I just connected a resister to VDD and I get a 1.  It appears that the PLP is not working on my 2 proto boards.  I have a third that I will try it on and then contact Parallax regarding the problem.

Thanks everyone for all the help.  I will revisit my design and see if I can use VDD instead of VSS and use the external pullup
JIM
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=279839#m280357
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\07\20@093324 by PJ Allenn/a

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

You should be able to verify the presence/absence of the "weak pull-up" with a voltmeter.

http://i270.photobucket.com/albums/jj118/new_clear_days/circuits/wk_plp.jpg
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=279839#m280365
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\07\21@062718 by RS_Jimn/a

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

PJ
I have done a couple of things this morning with interesting results.  I commeneted out the RD and RE parts of the code and tried running same code on my SX-28.  No Pullup present. Yet when I run the same code on sx-sim I see all 1's on all inputs with nothing connected.  I also used the same code on all ports to set them all to inputs with pullup. No port is responding.  Is the problem the order in which the code is being fed to the mode register?  I would not think so but....

As far as using external pullup, that increases my parts count far more than I would like!

I am scratching my head and with little hair that is hazerdous to my scalp!

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

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=279839#m280463
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\07\22@064103 by RS_Jimn/a

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

:jumpin:   :jumpin:  
I found the problem!  The macro that sets the mode failed to have the constant value as part of the macro!

it read:

\_mode  Macro 1
\mov w,\1

It should have read mov  w,#\1
Gunther warned about the sleepless nights that failing to declare a value a constant would cause, well it did!


Thanks for all the inputs and suggestions, maybe now I can get on with my project.

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

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

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