Yahoo Groups archive

68300

Index last updated: 2026-04-29 00:01 UTC

Message

RE: [68300] QSPI of M68332

2003-10-16 by Melear Charles-rdph40

Sudha,
 
I assume that you are talking about the QSPI.
 
When you are going to transmit data, you first load the data into the transmit queue.  Associated with each entry in the transmit data RAM is a byte in the Command RAM.  The Command RAM specifies which of the 4 SPI chip select pins will assert.
 
The PCS lines are under the control of the Port Data Register and Port Data Direction Register when the SPE bit is cleared.  When your software sets the SPE bit, the PCS lines are under the control of the QSPI.
 
So, when you enable the QSPI, the PSC lines will assert automatically according to how you program the Command RAM.
 
Regards,
 
Charlie

-----Original Message-----
From: sudha srinivasan [mailto:sudha_sri@...]
Sent: Thursday, October 16, 2003 1:54 AM
To: 68332 \(E-mail\)
Subject: [68300] QSPI of M68332


Dear all,

Does the SPI bus automatically assert the chip select(CS/) if one byte has
to be transmitted to an external device?
In other words,  Is it enough if we just enable the SPE bit in the SPCR1
register to transmit one byte of data which means that
the setting of SPE bit will select the chip and deselect as soon as one byte
is transmitted.


Kindly respond,
Sudha



Yahoo! Groups Sponsor	

ADVERTISEMENT
 <http://rd.yahoo.com/M=244522.3707890.4968055.1261774/D=egroupweb/S=1706554205:HM/A=1595055/R=0/SIG=124j83ehr/*http://ashnin.com/clk/muryutaitakenattogyo?YH=3707890&yhad=1595055> Click Here!	
  <http://us.adserver.yahoo.com/l?M=244522.3707890.4968055.1261774/D=egroupmail/S=:HM/A=1595055/rand=878882341> 	

---------------------------------------------------
To unsubscribe from this group, send an email to:
68300-unsubscribe@yahoogroups.com

To learn more about Motorola Microcontrollers, please visit
http://www.motorola.com/mcu <http://www.motorola.com/mcu> 



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . 




[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.