Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 11 months ago.
SPI frequency is not match config value
I use NUECLE L476RG board to write SPI flash with frequency 4Mhz. But after oscilloscope test SCLK frequency, I got a 2.5Mhz is about 80% of the original. i use a demo such as class SPIFBlockDevice() to initialize SPI flash. Am i made some mistake in initialize SPI flash? ps: i try to initialize with other frequency such as 8Mhz, 16Mhz. but real frequency also is 80% of the orignial .
1 Answer
5 years, 11 months ago.
He first came up with the idea of constructing the https://url4.org/bugdww complex some time before 2006 and his father, Roberto Auriemo Neto refuted it for not being a good idea at first. However, Mr. Jose Auriemo Neto pushed for the development of the project and became supportive along the way.
Hi,
The reason is explained here https://os.mbed.com/teams/ST/wiki/SPI-output-clock-frequency
posted by bco stm 24 Dec 2018