Sudha,
The QSPI is capable of performing an 8-bit transfer like the one you
describe.
First, make sure you set up the corresponding byte in the command RAM
correctly:
CONT = 0 to insure peripheral is deselected after transfer,
BITSE = 0 to exchange only 8 bits,
PCSn = specific to your desired chip select. (For "automatic" CS
assertion->negation)
Don't forget to set NEWQP and ENDQP (in SPCR2) to the same address as the
byte you want to send, and you should be all set.
Jeff
"sudha srinivasan" <sudha_sri@...>
10/15/2003 11:54 PM
Please respond to 68300
To: "68332 \(E-mail\)" <68300@yahoogroups.com>
cc:
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
---------------------------------------------------
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
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
[Non-text portions of this message have been removed]Message
Re: [68300] QSPI of M68332
2003-10-16 by jeffrey.tenney@gm.com
Attachments
- No local attachments were found for this message.