Serin


Closed Thread
Results 1 to 5 of 5

Thread: Serin

  1. #1
    Join Date
    Jul 2004
    Location
    ISRAEL
    Posts
    6

    Question Serin

    Hi


    i have problem to catch the serial in
    i cno't only wait to the serial in
    because of the program is to busy in another things.
    i test the on interrupt and i miss some in transmission

    SERIN PORTC.7,N9600,1,ERROR,[$53],RE1,RE2,RE3
    pic 16f876a 20mhz


    I NEED HELP HOW TO SOLVE THE PROBLEM

    EYAL

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Eyal View Post
    Hi


    i have problem to catch the serial in
    i cno't only wait to the serial in
    because of the program is to busy in another things.
    i test the on interrupt and i miss some in transmission

    SERIN PORTC.7,N9600,1,ERROR,[$53],RE1,RE2,RE3
    pic 16f876a 20mhz


    I NEED HELP HOW TO SOLVE THE PROBLEM

    EYAL
    Hmmmm...A PIC16F876a...somehow that rings a bell...
    Doesn't that PIC have a built-in UART? Seems to me I remember reading that somewhere...
    Aren't those UART things referred to somewhere in that same reading...wherever that was?
    Oh darnit... If I remember where I read about that UART, I'll let you know...

  3. #3
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Thumbs down Help is here.

    Quote Originally Posted by Eyal View Post
    Hi
    I NEED HELP HOW TO SOLVE THE PROBLEM

    EYAL
    What our beloved man in the mask is telling you, is to use the HARDWARE USART built into the PIC. Do that by using the HSERIN function. If you need examples click on the search button and typr HSERIN and Many examples are to be found.
    JS
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

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


    Did you find this post helpful? Yes | No

    Default

    And while your program is doing something else, it add the USART interrupt in the basket.
    Steve

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

  5. #5
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    And while your program is doing something else, it add the USART interrupt in the basket.
    So, it rubs the code on the PIC, and puts the UART in the basket, and does what it's told....or it gets the hose again

Similar Threads

  1. Serin EEPROM Programmer
    By dirtbiker5627 in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 24th February 2010, 23:48
  2. PIC16f877 code crosses boundary @800h
    By inventosrl in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th April 2009, 22:03
  3. Problem with PBP interrupt and Serin, please help
    By rgregor in forum mel PIC BASIC
    Replies: 0
    Last Post: - 22nd August 2006, 19:02
  4. Serin with low voltage
    By f_lez in forum General
    Replies: 3
    Last Post: - 21st August 2006, 11:52
  5. SerIn and SerOut
    By Dwayne in forum FAQ - Frequently Asked Questions
    Replies: 0
    Last Post: - 21st July 2004, 15:54

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