Hserout/Hserin max.speed


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Jan 2008
    Location
    Selm, Germany
    Posts
    116


    Did you find this post helpful? Yes | No

    Question how many wires to use?

    do I need to connect both TX RX Lines on both pics crosswise because of some handshake signals or only one wire for sending from one pic to another? I didnīt find a picture of a master/slave configuration, exept Mister_eīs master/slave example wich is great but for serin/serout.
    Hey, how about something alike for Hserin/Hserout Mister_e?




    Pic 16f628a to pic 16F628a......

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Mugelpower View Post
    do I need to connect both TX RX Lines on both pics crosswise because of some handshake signals or only one wire for sending from one pic to another? I didnīt find a picture of a master/slave configuration, exept Mister_eīs master/slave example wich is great but for serin/serout.
    Hey, how about something alike for Hserin/Hserout Mister_e?

    Pic 16f628a to pic 16F628a......
    You do realize that the only major difference between SERIN/SEROUT and HSERIN/HSEROUT is that SERIN/SEROUT is bit-banged and HSERIN/HSEROUT uses the hardware USART module (if available) in the PIC...right?
    Therefore, any example that works with SERIN/SEROUT, should work with HSERIN/HSEROUT, if properly configured...and it follows that you would then have to...Read the datasheets/manuals for the particular device that you are using.

  3. #3
    Join Date
    Jan 2008
    Location
    Selm, Germany
    Posts
    116


    Did you find this post helpful? Yes | No

    Wink Bitbanger

    Hi Skimask,

    hmm...I can tell you the only thing I knew was that Hserin/Hserout uses the Usart and I hoped that because of this it could run the data transwer partially in the background .that means that the data-bits-pushing is performed with the minimum of software used to speed things up.

    because Iīm now thanks to your gurus of piclands help up to 20MHz I may use serin/serout with success....

    But: serin/serout and Debugin/Debug worked only with 4 MHz and 4800 baud . any change to that and my recieving PICs LCD showed rubbish. We had that before.

    I read cool examples with 112000 baud or so using debug, but that was on "strange" 18F Pics I canīt handle by now.

    Maybe I have to switch to a "modern" usart-preferred-PIC with goes along with lots of tutorials or examples or so. The only thing about the usart in the 16F628A I found in the data sheet was "Usart:Y" and the codes for the TX and RX registers.

    Tell you what: the learning curve is way steep for an oldschool mechanical engineer of 44 years in foreign language...
    Last edited by Mugelpower; - 19th February 2008 at 08:15. Reason: syntax

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