2019-04-18 07:53 AM
Hello,
I am using nucleo stm32f429zi. I want to add MCP3304 SPI with my controller. It works properly, but my spi clock is 1.325MHz, which means my channel sample rate will be 1.325MHz/21=63095Hz (sample rate for 4 differential channels). so each channel only has 15773Hz sample rate. is it possible to refine my spi clock frequency close to 2Mhz?
Thank you for all helps.
Solved! Go to Solution.
2019-04-18 03:35 PM
I think on F429 SPI clock source is only SYSCLK with power of 2 prescaler.
If you want 2MHz, adjust SYSCLK and SPI prescaler to a better configuration, if available.
On STM32L4, most peripherals can select various clock sources which enables them to be decorellated to the core's clock frequency, which then can be "dynamically changed in frequency.
2019-04-18 03:35 PM
I think on F429 SPI clock source is only SYSCLK with power of 2 prescaler.
If you want 2MHz, adjust SYSCLK and SPI prescaler to a better configuration, if available.
On STM32L4, most peripherals can select various clock sources which enables them to be decorellated to the core's clock frequency, which then can be "dynamically changed in frequency.
2019-04-18 09:12 PM
It looks as you wrote. A little bit disappointed.