Question
Hardware trigger
Posted on March 31, 2013 at 20:24
GPIOA_Pin15 connected to CLK
while(GPIOA->IDR <
32765
); // wait if CLK is low,
while(GPIOA->IDR > 32765); // wait if CLK is high, when i go out from this loop CLK should be low
Delay(6); // wait a bit, it is 6x ''nop''
GPIOA->BSRRL= GPIO_Pin_10; // Set Si high
Delay(6); // wait a bit
GPIOA->BSRRH= GPIO_Pin_10; //Set SI low Can i do it by using STM32F4 hardware ? (now stm32f4 core is clocked to 255MHz)