Hi every body, I am in a bit trouble of finding out the processing time taken by main_tcpnet() function. As it is written in documents that this function must be called periodically but does not specify at how much rate i.e milliseconds. Secondaly since i have other work to do also during interrupt (timer) i wonder how to fix main_tcpnet() function in the same interrupt as doing this causes my hardware to reset. Plz help me Thanx in advance
hi devendra,
if your forever loop takes that time you should seriously consider either to make it shorter by defragmenting actions in more than one iteration or to use an rtos to execute things in parallel.
with an rtos you can make a task with higher priority which regularly wakes up and calls your tcp functions.
About the second problem you have, unfortunately I cannot help much because I havent ever used that feature.
what you should do is to investigate more and post a new question with more details.
good luck, marco.