2016-10-05 10:34 AM
I'm using SPI to get data from and ADC: I need fast acquisition so I'm using a STM32F4 board at 50MHz. Using a Logic software I noticed that the spi clock doesn't work at high frequency (50MHz), while it works at lower (16MHz). Why is that? I generate the code with CubeMX setting 50MHz in the Clock configuration tab. Did I miss something?
Thanks2016-10-05 11:16 AM
And the AHB, APB1 and APB2 clocks are what?
I'm hard pressed to see you getting 16 MHz from a 50 MHz source, using integer dividers.What are you looking at the signals with? Use a scope probe in 10x mode.2016-10-05 12:06 PM
AHB, APB1 and APB2 are all 50MHz
2016-10-05 01:22 PM
Ok, you're not providing much detail to work with here...
2016-10-06 03:24 AM
Hi pirotta.marco,
As Clive said , you are not providing many details about your application and issue. Try to add a code ( main function, system clock configuration , SPI configuration..)Try to describe more the hardware you are using , the clock source, the connection you setup..As much you provide details, as more you get help from forum.-Hannibal-