Forum Discussion
Altera_Forum
Honored Contributor
14 years agoDesign Issue when FPGA is configured from serial flash
Hi, I am using Cyclone III FPGA to log some data from different analog channels. I have a strange problem with that. when jtag cable is connected everything is fine and working very well. howe...
Altera_Forum
Honored Contributor
14 years agoJust a general comment, it is best to avoid doing printf's in interrupt routines. First some i/o implementations use IRQ themselves and you could end up locking the system, and second ISR should execute as fast as possible, especially if you are looking for real time performance. printf's use lots of CPU cycles.
A better way to print information from an ISR is to wake up a task that will do it once the ISR returns. (of course this only applies if you are using a multitask operating system).