Shop OBEX P1 Docs P2 Docs Learn Events
SX dead ? — Parallax Forums

SX dead ?

inakiinaki Posts: 262
edited 2006-01-16 00:10 in General Discussion
Suddenly the SX28 refuses to set I/O pins to LOW/HIGH levels. I can program, run and debug·my programs but the I/O lines do not work at all ! I have tried the ports A,B and C and none of them works.
This is second time I find this problem on a SX28.

Does this mean that the SX is dead ? If so, how can this happen so easily ?
It worked yesterday and suddenly today it was dead at first try!




▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔

Comments

  • RsadeikaRsadeika Posts: 3,837
    edited 2006-01-15 19:29
    I have always been told, post the program. That way another set of eyes can look at it, and see if you inadvertantly created an error in the program.
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2006-01-15 19:37
    I think you'd be pretty had pressed to kill an SX through "normal" handling -- I'm actually quite rough with my projects and don't ever know that I've killed a chip. Do post your code, especially if it's SX/B and you're coming from a PBASIC background. In PBASIC, we make a group of pins outputs like this:

    DIRL = %11111111

    ... but on the SX with SX/B, the equivalent command is:

    TRIS_B = %00000000

    -- just the opposite.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • inakiinaki Posts: 262
    edited 2006-01-15 23:19
    I have replaced the SX28 for a new one·and it works. Actually the program I have been using for testing is very simple, it just set output mode and changes pins in a loop.

    Is it possible to blow up the SX28 just by putting power ON and OFF ? confused.gif

    I am working with the Professional Dev Board. Should I put the board OFF (with the provided switch)·prior to remove power ? Usually I remove power without setting the board OFF.









    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • BeanBean Posts: 8,129
    edited 2006-01-16 00:10
    In my experience the most common cause of frying an SX is either the supply went above 5.5 volts or the outputs were shorted.
    Also don't plug-in or remove the SX-Key without removing power. I fryed an SX-key that way. I plugged it in with the power on, and after a couple minutes it was burning hot. Hasn't worked since.
    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "SX-Video·Module" Now available from Parallax for only $28.95

    http://www.parallax.com/detail.asp?product_id=30012

    "SX-Video OSD module" Now available from Parallax for only·$49.95
    http://www.parallax.com/detail.asp?product_id=30015

    Product web site: www.sxvm.com

    "Ability may get you to the top, but it takes character to keep you there."
    ·
Sign In or Register to comment.