I need to use the Basic SX/B compiler with the SX 48 ( not the 28) Help please.
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.
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.
Comments
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
·
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
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