877a and SPI


Closed Thread
Results 1 to 13 of 13

Thread: 877a and SPI

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by tico View Post
    I understand that the DosOnChip will handle Uart and SPI with I2c comming soon,
    As I stated previously I am already using the serial port for data to the PC, I would like to add SPI for datalogging.
    I am using a 16f877a and It only has one TX pin RC.6 I believe, looking at the other pins available and with the specs for th DosOnChip I have the ability for SPI, that is why I chose this part.
    Unless I am missing something and I can use another pin to TX serial data, this is my only option for now.
    Use HSERIN/OUT for the hardware serial pins, and SerIn/Out or SerIn2/Out2 and use seperate pins driven by software. Or forget about HSerIn/Out and use the software serial commands to handle it. If your code is sound and efficient enough, the software commands will handle it just fine. If it's sloppy, then you'll be fighting missed characters, getting out of sync, etc. But the DOSonChip has CTS/RTS pins and so does your PC...so you can use those to your advantage.

  2. #2
    Join Date
    Dec 2006
    Posts
    38


    Did you find this post helpful? Yes | No

    Wink

    I am assuming that I need to use inverted mode for communication between the pic and DosOnChip module, can I also us the same method with resistors for rts/cts or should I use a max232.

  3. #3
    Join Date
    Dec 2006
    Posts
    38


    Did you find this post helpful? Yes | No

    Default

    any regard to my questions, I would like to know that I am starting out right.

Similar Threads

  1. Use the PIC 16f877 or 877A instead of shift registers.
    By tsanders in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th October 2006, 17:23

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