Serial comm. while RB2 is output


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2007
    Posts
    6

    Default Serial comm. while RB2 is output

    Hello i am using PIC16F628A. I looked up in the datasheet but it seems that I can't use RB2 pin as a standart output pin while RB1 is synchron/asycnron receive mode. Do you have any idea? i do not want to change uP and and i dont have any pins left to use as a output...

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


    Did you find this post helpful? Yes | No

    Default

    Are you using a high speed baudrate? Are you using USART interrupt? In some occasion DEBUGIN/SERIN/SERIN2 have some advantages.
    Steve

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

  3. #3
    Join Date
    Feb 2007
    Posts
    6


    Did you find this post helpful? Yes | No

    Default no problem

    actually i can use almost any baudrate. and yes i am using receive interrupt for receiving at rb1. but i dont want to use rb2 as serial output but gpio pin.

  4. #4
    Join Date
    Feb 2007
    Posts
    6


    Did you find this post helpful? Yes | No

    Default

    anyone has an idea?

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


    Did you find this post helpful? Yes | No

    Default

    Actually i can't see any way to do it with this PIC... unless i really missed something in the datasheet.
    Steve

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

Similar Threads

  1. PIC18F4680 to PC via MAX232 (RS232 serial) no output
    By opticsteam1 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th April 2008, 20:39
  2. Serious Serial Situation Setbacks...
    By Dansdog in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th February 2007, 03:46
  3. Big characters on HD44780 4x20
    By erpalma in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 7th January 2007, 02:21
  4. Replies: 2
    Last Post: - 20th January 2006, 21:09
  5. serial comm from Pic to STAMP
    By d1camero in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 4th April 2004, 23:58

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