msrobots wrote: »
I think the correct solution would be to use one more pin for SD CS and not use flash CLK. The main problem seems to be that the SD card sees CLK of the flash as CS.
Cluso99 wrote: »
Didn't Chip allow for 3-pin FLASH SPI? That would also solve the problem too.
But, we do have a good solution anyway.
Table 7-3. Instruction Set Table 2 (Dual SPI Instructions)
Instruction Byte 0 1 2 3 4 5
Clock Number 0 - 7 8 - 15 16 - 23 24 - 31 32 - 39 40 - 47
Fast Read Dual Output 3Bh A23:A16 A15:A8 A7:A0 Dummy D7:D0 #1
Fast Read Dual I/O BBh A23:A8#2 A7:A0 D7:D0.... #1
#1. Dual Output data: IO0 = (D6, D4, D2, D0), IO1 = (D7, D5, D3, D1)
#2. Dual input address:
IO0 = A22, A20, A18, A16, A14, A12, A10, A8, A6, A4, A2, A0, M6, M4, M2, M0
IO1 = A23, A21, A19, A17, A15, A13, A11, A9, A7, A5, A3, A1, M7, M5, M3, M1