This is going to crop up quite commonly as a variable in interface
implementations. You are going to need to create separate versions of
the code for separate port maps/availability/clarity/speed.
Some people wishing to use the code may only have certain ports available.
Even in the XMOS-distributed code there is often more than one different
implementation of the same interface, and moreover different
implementations of different variants of the interface.
My opinion is that the first implementation should always be one
optimised for clarity alone.
Jonathan
--
Jonathan May, Managing Director
Silicon Futures Limited
T: +44(0)7767 847278
F: +44(0)1173 270277
E: jona...@siliconfutures.com
Well the 1 bit version is more flexible when it comes to pin shuffling
I guess, even though the use of 8D maybe more elegant.
> Some people wishing to use the code may only have certain ports available.
>
> Even in the XMOS-distributed code there is often more than one different
> implementation of the same interface, and moreover different implementations
> of different variants of the interface.
>
> My opinion is that the first implementation should always be one optimised
> for clarity alone.
That would probably be made from 1 bit ports, as the 8bit port will be
more knarly due to switching port modes, although the later becomes
more elegant potentially (less bit masking required).
>
> Jonathan
>
> --
> Jonathan May, Managing Director
> Silicon Futures Limited
> T: +44(0)7767 847278
> F: +44(0)1173 270277
> E: jona...@siliconfutures.com
>
>
regards
Al
"Quad-mode has emerged over last 18 months," said Lees. "After the initial handshake, the pins of the SPI interface are re-purposed into four data lanes that each support 80Mbit/s which is a total of 40Mbyte/s. So on a cold re-start you can transfer entire SPI flash in 1/3 to 1/100 seconds into on-chip SRAM or exterior RAM."
He claims NXP has tested quad-mode operation with 80 different flash chips from six supplier.
http://www.electronicsweekly.com/Articles/2010/09/23/49506/NXP-reveals-more-on-150MHz-Cortex-M3.htm
Yeah that's External Flash he's talking about and it is available, But
I am also interested in external QM SRAM, thats what I cannot find.
led me to
and the cypress prod code got me here:
Alas no thats pipelined Quad Data Rate (QDR) SRAM which uses parallel
address and databuses
I'm looking for QuadMode SPI S/RAM