Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: The Altruist; Keyword(s):

Search: Search took 0.00 seconds.

  1. Re: Having trouble using PIC as SPI driver for Hittite PLL

    Hm... you might be right. I completely over looked that. Let's see if it works!
  2. Having trouble using PIC as SPI driver for Hittite PLL

    I'm working on a project where I'm using a PIC18F14K50 to drive a Hittite HMC704LP4E frequency synthesizer via SPI in HMC Mode. I'm trying to make sense of the Hittite documentation. Am I...
  3. Getting Error 87 with WinUSB_WritePipe with LowPin USB Dev Kit

    Using PBP3 Gold on Low Pin Count USB Dev Kit (PIC18F14k50). I'm using the vanilla HID code with minor changes to PID/MFR/Device Name.
    I followed the code from here:...
  4. Replies
    10
    Views
    7,000

    For those of you wondering, this algorithm gives...

    For those of you wondering, this algorithm gives decently accurate 10-bit ratios with a Big O of (n^2). I hope some one finds it useful.
    Bear in mind that the Numerator MUST be smaller than the...
  5. Replies
    10
    Views
    7,000

    While I have your attention, I'm puzzling over...

    While I have your attention, I'm puzzling over how to efficiently do a 10-bit by 10-bit division (which will yield a value 0<x<1) then multiply it again by 1023 to get a number (0<=x<=1023). I'd...
  6. Replies
    10
    Views
    7,000

    Hm.... false alarm. The DAC chip was bad. We...

    Hm.... false alarm. The DAC chip was bad.
    We have it (or at least a simple saw tooth wave demo) working now:


    ;@ __CONFIG _HS_OSC & _WDT_OFF

    DEFINE OSC 20
    DEFINE I2C_SLOW 1
  7. Replies
    10
    Views
    7,000

    Actually, that's something I had not considered....

    Actually, that's something I had not considered.
    Let me go do some research, and I'll get back with an answer to that.
  8. Replies
    10
    Views
    7,000

    This is a trimmed down version of my code. And...

    This is a trimmed down version of my code. And frankly, nothing is working. I'm not a hardware guy, so I can't tell if my setup is wired wrong. The guy I work with put it together for me. He's a...
  9. Replies
    10
    Views
    7,000

    Troubles with I2C_Write

    I'm trying to send an I2C message to a non-EEPROM. Now everyone may laugh and say "So what's the problem?"
    Every I2C example I've seen written is for EEPROMs. The I2C_WRITE command seems built...
  10. Hmm....

    I'm trying to use inline Assembler, but I use multiple arrays which means I need to address multiple banks. How can I tell which bank a given array is stored in?
    Also, I'm not certain how you mean...
  11. Thanks!

    Thank you very much! I'm surprised I didn't think of that.
    Now comes the next question.
    Is there a "banksel" function equivalent in PM assembler?
  12. Accessing MultiByte Variables in Assembler

    This may have been covered elsewhere, but I'm having trouble figuring out how to access the High and Low Bytes of 16-bit Words in Assembler. I know I can point the FSR register at the _Variable to...
  13. COD file not being generated (reference "Unable to execute mpasmwin")

    I'm trying to compile PBP code in MPLAB to use with my ICD2. And it breaks.
    I dig through things, yank -oq and add -v and get this:

    Executing: "C:\Dev\PIC\PBP\PBPW.EXE" -ampasmwin -z -v ...
Results 1 to 13 of 13