Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

AM1808 AIS bootloader SPI clock frequency

$
0
0

Hi,

I boot my custom AM1808 board via SPI1 FLASH using AIS just as per the LogicPD board. It works fine.

However, now my program has got quite large, the time to copy from FLASH to DDR is significant. Document SPRABA5B says the bootloader forces a default SPI speed of 800kHz with a 24Mhz clock. We know we can run the SPI after boot at 37.5MHz.

This same document explains that the SPI speed can be programmed using the combined PLL and clock configuration command, using the bottom 8 bits of the 3rd argument to program the SPIFMT register.

Unfortunately this appears to have no effect on the FLASH->RAM copy time, whatever value I put there. The SPIFMT register appears to be programmed correctly. I have also tried explicitly setting the clock using the clock configuration AIS function, but again to no effect.

As a test, duplicating this copy in application code confirms that it can run much faster, so how can I achieve this from AIS?

Regards,

Chris


Viewing all articles
Browse latest Browse all 17527

Trending Articles