RTX problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2008-09-02 4:42 PM
RTX problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:43 AM
Hi All,
Now I want to send some data through USART 3 every 10ms. So I use RTX in my project, and use os_dly_wait method or os_itv_set&os_itv_wait method to make it work. But It's not working as I thought. The interval time is not 10ms every time, even not the same value. What's wrong with that? How to realize what I want? Thank you.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:43 AM
Hi Ivan,
Can you temporarily shift to USART 1 OR 2? In so doing we will learn if your problem is restricted to USART 3 - or if it is one of set-up or implementation.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:43 AM
Hi jj.sprague
Do you mean that USART 3 is different from 1\2 in useage and performance? I cann't to do that test. Thank you- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:43 AM
USART3 - depends upon the device - in some cases USART3 requires ''special handling.''
How much does your desired interval time vary from 10mS?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:43 AM
Ivan1,
can you toggle I/O pin instead out to USART3? What is deviation? And what you expect? Mikhail- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:43 AM
Quote:
On 02-09-2008 at 16:28, Anonymous wrote: USART3 - depends upon the device - in some cases USART3 requires ''special handling.'' How much does your desired interval time vary from 10mS? What's the ''special handling.'' USART3 requires? I desired exactly 10ms interval time.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:43 AM
I like Mikhail's idea - toggle an I/O pin instead of transferring over UART3. This will confirm if your variation is caused by the USART or by your procedures which invoke it.
Please tell us ''how much'' variation you are experiencing... Depending upon the device and package size USART3 may be an alternate function - which requires special set-up.[ This message was edited by: jj.sprague on 03-09-2008 05:14 ]