2015-02-10 01:50 AM
Hi
I am using STM32F103RBT6
@72MHZ I use SPI with DMA to stream data from memory to GPIO SPI Prescaler is 4 GPIO is configured as output push-pull and speed 50MHz The problem is that the data output rise and fall time is very slow, instead of getting square wave out of the scope for 0xAA data I get sine wave ''snapshot attached'' How I can get square wave with good rise and fall time at this frequency? Salam Hossam Alzmor #gpio-risetime2015-02-10 03:26 AM
This is not a problem of GPIO initialisation (this MHz value is only for glitch filtering), but of your PCB layout.
More exactly, the of your slave connection.