Shop OBEX P1 Docs P2 Docs Learn Events
Detecting prop and I2C problem — Parallax Forums

Detecting prop and I2C problem

Rick_HRick_H Posts: 116
edited 2010-10-09 11:52 in Propeller 1
I am having 2 problems. The most annoying problem is the longer my code gets the harder it is to upload. really short code gets loaded no problem but Now I'm at the point where i have to keep hitting F10 then enter until it gets uploaded.

The second problem is anything over 240 gives me 240 output on my DAC chip on I2C. At first I thought it was just not picking up the last 2 bits but I do get 0 to 15 and every step all the way up to 240 is good. Then I thought I may have a voltage drop somewhere but it is looking like the voltage just stops at 240. Almost like I had a zener at 4.676 volts.

Comments

  • RaymanRayman Posts: 14,889
    edited 2010-10-07 13:10
    Well, the first problem sounds like the problems I had before with the old version of the Prop Tool. Make sure you have the latest version. Also, it could be your FTDI chip drivers are the wrong ones. Try downloading the latest drivers from Parallax.

    Need more info to help with the second problem...
  • Rick_HRick_H Posts: 116
    edited 2010-10-08 05:15
    that was the first thing I checked but I have the current drivers and prop tool.
  • max72max72 Posts: 1,155
    edited 2010-10-08 05:25
    Try using BST. Or if you have the possibility another PC/notebook.
    Can the second issue be related to the voltage reference you give the DAC?
  • Rick_HRick_H Posts: 116
    edited 2010-10-08 05:35
    I have 5V on the reference and I am getting every voltage step from 0 to 240. I am stumped on this at the moment.

    I'm downloading bst right now, I hear its better anyway.
  • Mike GreenMike Green Posts: 23,101
    edited 2010-10-08 08:21
    First of all, you really need to post your source program and a schematic of how you have things connected. You haven't provided enough information to figure this out. What DAC chip are you using? Do you have anything else running in the background in Windows? The last time I saw this kind of behavior was using XP on a very slow PC with Windows Update running in the background.
  • Rick_HRick_H Posts: 116
    edited 2010-10-09 10:21
    ya sorry I don't have my lab PC hooked up to the net yet so its kinda a pain to save docs from each pc at the moment. I'll be posting my I2C buss code and a schematic later today. I have all services like windows restore, windows update and such disabled on Windows XP. The only applications running are my Stingray OScope, Adobe Reader and Open Office Calc.
  • Rick_HRick_H Posts: 116
    edited 2010-10-09 11:52
    yep, bst solved my loading problem. Its flawless every load.

    I found the issue it was the diode drop, I am driving LED's in series with 500 Ohm resistor on each output and when I removed the load it was back too 5V.
Sign In or Register to comment.