Can't reliably transfer over serial connection between two PICs


Results 1 to 27 of 27

Threaded View

  1. #25
    Join Date
    May 2013
    Location
    australia
    Posts
    2,663


    Did you find this post helpful? Yes | No

    Default Re: Can't reliably transfer over serial connection between two PICs

    I have series of 16 APA102C leds connected to the same 1936
    is that the same 1936 that
    The receiver (1936) which runs MIBAM, does nothing besides BAMing and checking serial input, if anything is delivered.
    "Anything" is delivered in form of single byte, once per second, minute or hour.
    So if MIBAM is messing with SERIN2, it should mess with SHIFTOUT as well?
    sort of, the timing will be screwed up but since the pic is master and clocking is synchronous it won't matter the apa102c's are slaved to the masters clock.
    pbp has shiftin and shiftout commands but they both act as master, there is no shiftin slave mode command.
    any bit-banged reception code you make would need to honour the synchronous nature of the protocol i.e. interrupts will be a problem

    there is a reason hardware peripherals exist.
    Last edited by richard; Today at 01:43.
    Warning I'm not a teacher

Similar Threads

  1. Csv file transfer directly into excel using vb for serial coms
    By longpole001 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 20th May 2016, 08:43
  2. Usb to ttl modules - connection to pics at 3.3v
    By longpole001 in forum mel PIC BASIC Pro
    Replies: 24
    Last Post: - 12th March 2015, 20:03
  3. Replies: 1
    Last Post: - 23rd December 2006, 10:38
  4. large file transfer petween pics
    By Ron Marcus in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 3rd July 2005, 17:04
  5. Can serial transfer binary data?
    By TurboLS in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 12th March 2005, 08:27

Members who have read this thread : 9

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