Problem with MSSP module.


Results 1 to 4 of 4

Threaded View

  1. #4
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,154


    Did you find this post helpful? Yes | No

    Default Re: Problem with MSSP module.

    Totally off the top of my head; maybe the dummy read clears a buffer?

    And this buffer doesn't handle a constant and variable the same way (allocation of space, bit VS byte, etc).

    Robert


    EDIT: Looking over your code again and I just thought of something after seeing the PAUSE. Does the time it takes PBP to access the value stored in a variable interfere with the MSSP module?

    Bear in mind that I have absolutely no clue what a MSSP module eats in wintertime.


    EDIT SOME MORE: Forgot to ask, how are these variables defined?

    SST_Status
    SSPBUF (looks like a BYTE in MSSP section of 18f25k20 datasheet)
    Last edited by Demon; - 5th January 2012 at 02:53.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts