+ Reply to Thread
Results 1 to 3 of 3

Thread: Proton mssp support

  1. #1
    Licensed User bugi's Avatar
    Join Date
    Aug 2011
    Location
    Istanbul
    Posts
    56

    Default Proton mssp support

    Hi Les,

    Hi, its great to see you visiting our forum. Why not try Proton Compiler for FREE?

    Download the FREE version of Proton Compiler, Its called Amicus18 and its available from HERE

    Already using proton Compiler??? Get rid of these pesky messages... get LICENSED USER STATUS




    How can I use MSSP module with PROTON ?

    I found only I2C command but there are not any MSSP command.

    Regards.


  2. If you're a Licensed user of PROTON DEVELOPMENT SUITE, apply for Licensed User Status to remove these pesky messages
     and get access to additional forum areas, Beta test downloads and more!

  3. #2
    Licensed User normnet's Avatar
    Join Date
    Jul 2004
    Location
    Minnesota USA
    Posts
    832


    Default Re: Proton mssp support

    Quote Originally Posted by bugi View Post
    Hi Les,

    How can I use MSSP module with PROTON ?

    I found only I2C command but there are not any MSSP command.

    Regards.

    Depending on the SPI mode your app requires, see page 193 if a PIC18F2XK20 for example.
    Everything can be found in the registers.
    SPI both sends and receives a byte at the same time.
    Sometimes you only would require receiving so just send $FF for example.

    Norm

    Code:
     '********************
        'MSSP = MASTER SYNCHROUS SERIAL PORT MODULE ' SPI Port Setup
        'SSPSTAT = 000000   'BOTH WORK SD card
        SSPSTAT = 000000  'BOTH WORK SD card
        SSPCON1 = 100010 ' SLOW    INITILIZE SLOW
    
    
    '    SSPCON1 = 100000 'FAST
        SSPCON1 = 100001 ' MED 
    
        SSPBUF = $FF              'SENDS 1 BYTE TO SD
        While SSPSTAT.0 = 0: Wend 'WHILE TX/RX COMPLETE
        yBUFF_ARRAY256[dWRITE_BUFF_TOTAL.Byte0] = SSPBUF
        Inc dWRITE_BUFF_TOTAL
    Last edited by normnet; 26th January 2012 at 03:29.

  4. #3
    Licensed User bugi's Avatar
    Join Date
    Aug 2011
    Location
    Istanbul
    Posts
    56


    Default Re: Proton mssp support

    Thanks for your reply Norm.

    Regards.

+ Reply to Thread

Similar Threads

  1. 18F47J13 support in Proton
    By mhanley in forum Wanted and For Sale
    Replies: 2
    Last Post: 17th June 2011, 14:17
  2. Proton Support for 18F4550 & 18F2550
    By picnaut in forum Proton Plus Compiler v3
    Replies: 0
    Last Post: 5th January 2005, 20:57
  3. Proton IR Development support ?
    By Stephen in forum Proton Plus Compiler v3
    Replies: 0
    Last Post: 6th November 2004, 16:16
  4. Which PICs does Proton Plus support?
    By picnaut in forum Pre-Sales and Upgrade Questions
    Replies: 6
    Last Post: 26th October 2004, 17:02
  5. Proton versus Proton + and support
    By pverburg in forum Wish List / Product Feedback
    Replies: 1
    Last Post: 7th March 2004, 15:05

Members who have read this thread since 25th March 2012, 13:46 : 0

Actions :  (Set Date)  (Clear Date)

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