Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- Does that not show, that my polling loop is too slow for high frequencies? --- Quote End --- Yes, I made a rough calculation with your graphs and it results to me that sometimes you have polling delay up to 2 or 3 us; this may be irrelevant for a 1kHz wave but it makes a mess when f>100kHz. This small delay is pretty normal since is the time required for isr periodically interrupting your polling loop. You mentioned in the original post that you are using tse for ethernet connection. Do you use a tcp stack, too? Things can get even worse when you transfer a lot of data on the ethernet because a lot of isr will need to be serviced.