Shop OBEX P1 Docs P2 Docs Learn Events
I need to use the Basic SX/B compiler with the SX 48 ( not the 28) Help please. — Parallax Forums

I need to use the Basic SX/B compiler with the SX 48 ( not the 28) Help please.

JoeJoe Posts: 184
edited 2008-07-19 02:45 in General Discussion
Hi,


I am using the SX/B but it seems that sometimes
doesn't work fine for the SX/48.

For example I am using an infrared sensor from Parallax
and the code is working with the SX28 but it is not working
with the SX48.

Some help will be very welcome.

Thanks, Joe
PS: Please see attached.
540 x 499 - 75K
SXB
996B

Comments

  • BeanBean Posts: 8,129
    edited 2008-07-19 00:59
    Joe,
    I don't see any reason why it shouldn't work on the SX48...Keep experimenting maybe you find something causing the problem.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    "A government big enough to give you everything you want, is big enough to take away everything you·have."·· Thomas Jefferson

    "It is our choices, Harry, that show what we truly are, far more than our abilities."·Dumbledore from Harry Potter

    www.iElectronicDesigns.com

    ·
  • RobotWorkshopRobotWorkshop Posts: 2,307
    edited 2008-07-19 02:11
    Hello Joe,

    I can't say for sure what is wrong but I can ask some questions which may help uncover what the issue is.....

    Can you also post your program that IS working for the SX28 so people can see both versions?? In particular are you just changing the chip description for the chip between SX28 and SX48 and nothing else?

    Reason I ask is that by default you don't have to specify things like TURBO mode, etc on the SX48 chip since they are on by default. I usually always use the extra TURBO option on the SX28 chip so it acts the same. If you don't specify that then the chips will act differently which may affect the timing.

    It may be something as simple as altering the device line in your program.

    Also, how are things wired? Do you have a schematic on how everything is connected?

    One other question is what you are using for your clock source. During your tests are these being run via an SX-Key (Serial or USB), Internal RC, resonator, or an Oscillator? If you are using the internal RC oscillator have you trying using the IRC calibration to help it be a little more accurate?

    Hopefully you'll get it resolved.

    Robert
  • Sparks-R-FunSparks-R-Fun Posts: 388
    edited 2008-07-19 02:45
    Joe,

    Try connecting the emitter to one SX and the detector to the other. Then switch the arrangement. Let us know the results. This might narrow the problem a bit more.

    - Sparks
Sign In or Register to comment.