I2CWRITE using SSP ?


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2004
    Location
    Hangover, Germany
    Posts
    289

    Default I2CWRITE using SSP ?

    Hello,

    I have a projekt, were I have to divide the current Controller into two parts:
    The first part is the main Controller with the most parts on it,
    the second part is a little display and some buttons several meters away.
    I use a I2C-interface on both controllers.

    I change the existing LCDOUT-commands into I2CWRITE-commands...
    First I noticed, the I2CWRITE-command doesn't support the extensions like SEROUT2 (DEC, BIN...). :-(
    And I think, the hole I2C-part is solved in software. Is there any way in PBP to use the hardware in the SSP ? (on the display-controller I programmed the slave-Mode interrupt-driven by using the hardware...)

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by BigWumpus
    Hello,
    Is there any way in PBP to use the hardware in the SSP ?
    Acces the internal register or use the assembly example in your datasheet. Unfortunately, PBP don't have this built-in function as HSEROUT or HPWM. Could be an interesting future PBP statement since many PIC have this module now.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. I2CRead & I2CWrite not working as expected
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 30
    Last Post: - 27th October 2021, 18:36
  2. I2C Master/Slave 16F88/16F767 working code
    By DanPBP in forum Code Examples
    Replies: 2
    Last Post: - 23rd October 2012, 22:31
  3. PIC 18F4550 and MCP23017
    By DaveC3 in forum Code Examples
    Replies: 12
    Last Post: - 4th December 2010, 14:01
  4. My I2CWRITE - timings and tricks
    By FinchPJ in forum Code Examples
    Replies: 5
    Last Post: - 3rd March 2008, 21:40
  5. I2CWRITE and I2CREAD
    By Tomas in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 23rd April 2004, 02:30

Members who have read this thread : 1

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