Re: [U-Boot-Users] Reg in SPI problem

2008-05-13 Thread Liew Tsi Chung
Karthikeyan, DSPI read: - Check status (sr & 0xF000), continue if >= 4 - Write 0x800n0003 to pop register (0xfc05c038) where n is chipsel (1 << chipsel), 3 is perform read (AT25080A does not have fast read feature) - dummy read - write 0x800n00xx to popr, address byte 2 - dummy read - write

[U-Boot-Users] Reg in SPI problem

2008-05-11 Thread Karthikeyan Kadirvel, Chennai
Hi, I am developing dspi code(boot loader) for mcf54452 board. I am communicating processor with EEPROM (AT25080A) slave device. Write function is working fine. But the read function is not working. Write seq: -- 1. Send WREN command 2. Send write Instruction 3. Send ad