TI E2E Community
Low Power RF Tools Forum
How to use Timer and UART at the same time of CC2510F32 ?
I want to use Timer and UART at the same time.
How can I do?
There should be nothing preventing you from accomplishing this. Are you starting with a particular software package and wireless protocol stack?
In A file include Timer and UART code.
But the result is not expect(UART is fail).
If I delect "Timer part" code, the UART function is expect(UART is sucess).
I don't know why.
And how can I do?
I don't see how either of these are related at the moment with the information that you have provided. The Timer modules and the USART modules are completely separate.
What I do see as related is the possible pins that the USART and Timer have in common which might be a potential conflict. The Table 50 in the CC2510F32 datasheet describes these potential conflicts.
I know these potential conflicts.
So, I use UART1 by P1_6 and P1_7.
And I use Timer1 by P1_2, P1_1, and P1_0.
Theoretically, it's Feasible.
In facy, it's not expect.
I feel strange.
Now, I can use Timer and UART.
I put timer after uart and ling time.
But I still don't know why it's OK.
But now, I meet another problem.
It's big trouble to me.
I add another timer (timer3) .
If I set timer 3 is 3 second.
I wann to use timer in 3 second.
And after 3 second, close UART.
Now, I can close UART after 3 second.
But I can't use UART in 3 second.
How to do this, and are there some idea ?
Please help me.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.