Part Number: AM3354
Tool/software: Linux
hi ,
I have a custom AM335x board, where we have connected two SPI NOR flash with separate chip Selects.
SPI0
CLK---------------------I--------------32MB flash
I---------------8MB Flash
MOSI------------------|--------------32MB Flash
|------------- 8MB Flash
MISO------------------|-------------32MB flash
|------------8MB flash
CS0--------------------------------32MB flash
CS1--------------------------------8MB flash
the problem is as per TRM of AM3354 as soon as pinmux is changed to SPI the both CS0 and Cs1 get low 24.2.3
SPI chip select O output when master, input when slave (active low)
SPI chip select 1 output when master, input when slave (active low)
and to make it master we have clear MCSPI_MODULCTRL, as this register is Written only after spi get register and while do register because both CS are low both chips respond which corrupt JDEG ID and it not working at all .
what is Solution ?