Hello folks,
I am using Code Composer Studio 3.0 with C6713 Floating Point DSP @ 200 MHz on Windows XP Machine.
My Problem is multifolded.
1. I am using Timer_DEV1 with Timer Control Register's Internal Clock @ CPU/4. I need Interrupt after every 40msec and I am using following formula that i mentioned in Timer Manual. Please Confirm it is correct.
Timer Period Register = ( 40 msec * 50 MHz ) / 2
2. In Timer Interrupt Handler, I want to poll Serial Port for data. Serial Port is polled 50 times before it returns false meaning no data is recieved and Timer Interrupt Handler finishes.
Now, question is should i poll serial port 50 times or not? what is the standard practice?
Should I or should I not, poll serial port in Timer Interrupt Handler?
Please be quick, I am stuck badly coz there are other things that i will ask once I make sure, I am not having problem currently.
Thanx
Adnan