Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Which instruction SEROUT or HSEROUT to use for PIC16f876?

Status
Not open for further replies.

debutpic

Member level 4
Joined
Aug 13, 2001
Messages
76
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
475
Hi all
With pbp (melabs), I can use instruction SEROUT or HSEROUT with one 16f876,what instruction is the best for this device?
 

PsIoNiCs

Junior Member level 2
Joined
Jan 15, 2002
Messages
24
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
96
HSEROUT Vs Serout

If the PIC that you are using has a hardware usart you can use the HSEROUT command. Look up the data sheets from microchip. If you have the option to use the HSEROUT command definately use it. The same goes for the HSERIN command.
 

Fragrance

Advanced Member level 4
Joined
Jul 26, 2002
Messages
1,191
Helped
247
Reputation
494
Reaction score
198
Trophy points
1,343
Location
East Of Earth
Activity points
8,916
They work

Hi,

Pic 16f876 have hardware usart and the both cammand work with it

regards

Fragrance
 

nebisman

Full Member level 4
Joined
Apr 13, 2002
Messages
226
Helped
10
Reputation
22
Reaction score
9
Trophy points
1,298
Activity points
1,849
Yes you should use Hserin or Hserout (Hardware Serial out)
The routines for serin or serout make hardware emulation and are time consuming. The routines for Hserout only have to write some register at time to send data because the usart do all.

neb,...
 

cadb0y

Member level 3
Joined
Feb 6, 2002
Messages
57
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Activity points
479
Serout does not use UART Protocal I believe.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top