2012-10-08 08:56 AM
Hello
here is any example for fast interrupt for stm32f4 ? thnx for adv...2012-10-08 09:33 AM
here is any example for fast interrupt for stm32f4 ?
Not so much, there is no FIQ, you simply configure and prioritize your interrupts via the NVIC. Suggest Cortex-Mx documentation on ARM's site, or Joseph Yiu's fine books on the cores.
2012-10-08 10:56 AM
thnx for replay
i have a 5mhz clk pin for read parallel on rasing edge is this possible to read with IRQ ?2012-10-08 11:28 AM
I'd say no, the processor would do nothing else as those rates, and would likely saturate.
You might be able to use DMA on the FSMC, bus, via a timer pin or something, or perhaps the DCMI.2012-10-09 09:42 PM
can u tell me how config a timer pin for read clk pin ?
2012-10-09 10:36 PM
here we have 100mhz gpio speed why not read easy a 5mhz clk ?
2012-10-10 11:16 PM
No any help ?
i test some way from dma and timer but not work :(some data is lost.2012-10-11 09:08 AM
No any help ?
Look, I'm not on your project staff. I've made some suggestions/observations, but I'm not coding solutions. The 100MHz GPIO relates to the slew-control of the OUTPUT pin circuitry. I could also count cycles at a high rate, however you are trying to associate the latching of some data wrt the clock edge, and I'm saying you can't do it in software at the kind of rate you're proposing. You might be able to use one of the timer input channels as a trigger, but it would depend a lot on the signalling/latching expectations on the data presented. I don't think the STM32 parts are generally well suited to this type of data input, as you really need some DMAREQ, DMAACK type configuration. Look at the DCMI and FSMC, and ponder if you can work with those, and perhaps a CPLD or FPGA.2012-10-12 06:42 AM
thnx for replay
last question
how much is STM32F4 DMA max speed ?