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.

[SOLVED] SPI serial data to parallel

Status
Not open for further replies.

Tan

Full Member level 4
Full Member level 4
Joined
Jul 23, 2006
Messages
216
Helped
10
Reputation
20
Reaction score
3
Trophy points
1,298
Visit site
Activity points
2,742
Hi all,

To convert the slave SPI serial data out to parallel data we need a Serial In Parallel Out register right?
Or do you guys think any logic is needed apart from SIPO logic?
 

May be you can use a latch in output, to avoid the affecting of parallel output when clocking...
Code:
 for example if we want the parallel data to change from 1010 1010 to 1111 0000 means 
1010 1010
0101 0101
0010 1010
0001 0101
0000 1010
1000 0101
1100 0010
1110 0001
1111 0000 now enable latch to go correct output
 

I am sorry I didnt get you...I want parallel data out from the SPI serial data...
 

Re: Output serial data from SPI slave

Even if we use a serial in parallel out register, we will need 8 clocks to get all the data in the register. It also happens if we use a micro-controller. So why to use an additional Shift register?

Or if you are asking about the logic in controller, then it is correct that we will need a shift register with its clock connected to the SClk of the SPI bus.
 

Its easy you will have sclk and MOSI pins connected to shift register and n bits output connected to peripheral right ??

If you give like this when you are writing some new values it will affect all the other pins as i said.... so if you you put a latch in output which will be triggered for every 8 bits..

so that there wont be any unwanted data available on the pins.... Do you got it or not??
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top