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.
 
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
 
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

Cookies are required to use this site. You must accept them to continue using the site. Learn more…