I am trying to write my own flash driver to write and read flash device on SC589 EZ-Board. I've used default driver code from the flash programmer example as reference. The core clock is configured at 450 MHz and system clock is at 225 MHz. SPI baud rate value is programmed to 500 (default from the driver example) which gives 225/(500+1) MHz SPI clock speed, is it correct? With this setting I could able to access the flash device. But my application need very high speed of SPI clock, something around 80MHz. I tried to set the SPI baud value to 2 to generate SPI clock at 225/(2+1) speed. But SPI transactions failed. I am using SPI driver SPI's. Any suggestion on this?
Also is there an example code which uses DMA transfers?
Thanks in advance.