S3c2440(ARM9) spi_read_write Flash Memory
问题 I am working on SPI communication.Trying to communicate SST25VF032B(32 MB microchip SPI Flash). When I am reading the Manufacturer Id it shows MF_ID =>4A25BF but originally it is MF_ID =>BF254A. I am getting it simply reverse, means first bite in 3rd and 3rd byte in first. What could be the possible reason for that? My SPI Init function is here: //Enable clock control register CLKCON 18 Bit enables SPI CLKCON |= (0x01 << 18);//0x40000; printk("s3c2440_clkcon=%08ld\n",CLKCON); //Enable GPG2