USART input buffer help


Closed Thread
Results 1 to 3 of 3
  1. #1
    kacho's Avatar
    kacho Guest

    Default USART input buffer help

    Hi ,
    I`m working with Melabs example (serbufAx.bas)interrupt driven input buffer for USART using Assembly interrupt.
    This rutine work OK . But I need capture an big string (92 elements) complete . HOW ??.
    The maximum array value that work is 64 only ?.
    Exist any ASM routine for reserve more space for array variable ?

    Thanks for your help .

    Kacho

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    The memory arrangement on some PIC's poses problems allocating large buffer sizes. If the PIC you're using is one of those then you can try a number of things...

    1. Have your string defined as the FIRST variable in your program. If this does not work then...

    2. Run two smaller buffers and when one gets filled up you simply switch to using the second one. This will need some coding change on your part... but remember you should only be using the example codes as precisely that - an example - they are there for you to learn and understand what is going on, and subsequently, with that knowledge you can go and do your own to fit your application better.

    Melanie

  3. #3
    kacho's Avatar
    kacho Guest


    Did you find this post helpful? Yes | No

    Default

    Thank`s Melanie ,

    Could you show me an example ?. I don.t have much experience about this ....

    Regards


    Kacho

Similar Threads

  1. PC to EUART on pic 16F688
    By docaberle in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 25th October 2008, 06:33
  2. Need idea hove to..?
    By phoenix_1 in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 14th May 2008, 18:41
  3. problem with USART
    By leemin in forum Serial
    Replies: 4
    Last Post: - 11th December 2006, 17:56
  4. Serial input buffer size?
    By Chris DeHut in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 26th January 2006, 22:23
  5. serial input buffer
    By vsingh in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 14th June 2004, 05:55

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