Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

Serial data or parallel data

Status
Not open for further replies.

PA3040

Advanced Member level 3
Joined
Aug 1, 2011
Messages
883
Helped
43
Reputation
88
Reaction score
43
Trophy points
1,308
Activity points
6,936
Code:
movlw  b'11111111'
movwf  portb

As per above assembly codes
first, data put in to W-register then put in to portb
my question is the data travels from W-register to portb as a serial data or parallel data
if it is travel as parallel data , it should be eight bus lines. isn't it
if it is serial data it consume eight clock cycle isn't it
please advice
 
Last edited:

PORTB is eight bit wide (PORTB.0 .... PORTB.7) so the data from W reg 'travels as parallel' to PORTB in one step.
 
  • Like
Reactions: SAKU

    SAKU

    Points: 2
    Helpful Answer Positive Rating
Hi, the data bus is 8-bits wide, thus the data is transferred to portB in one instruction cycle. Serial data is when a byte of data is transferred on one port pin.

MN
 
  • Like
Reactions: SAKU

    SAKU

    Points: 2
    Helpful Answer Positive Rating
Hi,

Also look at the 'Block Diagram' of the Pic near the beginning of the chips datasheet.

It clearly shows the 8 bit wide Data Bus going to the Ports and other I/O modules.
 

Dear All
Thank you very much for help
I got it
Thanks
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top