This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

main_tcpnet() processing time

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

Parents
  • Hi Michal

    What u r saying is the same thing i m doing. Please try to understand following scenario

    1) you have set a timer interrupt of say x milli sec
    2) after x milli sec you have set a flag in ISR
    3) in while(1) u are doing other stuff and say after y milli seconds you poll the flag and called main_tcpnet().

    in the above situation first of all ur call to main_tcpnet is not periodic and if y > x main_tcpnet will not work or becomes vey slow.

Reply
  • Hi Michal

    What u r saying is the same thing i m doing. Please try to understand following scenario

    1) you have set a timer interrupt of say x milli sec
    2) after x milli sec you have set a flag in ISR
    3) in while(1) u are doing other stuff and say after y milli seconds you poll the flag and called main_tcpnet().

    in the above situation first of all ur call to main_tcpnet is not periodic and if y > x main_tcpnet will not work or becomes vey slow.

Children
No data