E1.20 RDM (Remote Device Management) Protocol Forums  

Go Back   E1.20 RDM (Remote Device Management) Protocol Forums > RDM Developer Forums > RDM General Implementation Discussion

RDM General Implementation Discussion General Discussion and questions relating to implementing RDM in a product.

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old January 10th, 2016   #2
hamish
Member
 
hamish's Avatar
 
Join Date: Apr 2009
Location: Dartmoor, Devon, England
Posts: 56
Send a message via Skype™ to hamish
Default 485 IO Interrupt driven buffering

Quote:
Originally Posted by Cyril View Post
Hi

Someone can discuss about the minimal frequence necessary for the mcu ? I code a rdm responder fully fonctionnal but I have to work in 16 MHz but I don't understand why it don't work with 8MHz ...

Thank you

Have a nice day
Cyril
Hi Cyril

Two main factors that determine what clock speed is required to meet the requirements of RDM.

First, IMO, set up interrupt tasks for buffering IO/485 data, thus allowing you to run other processes without missing packet data.
Built in to these interrupt driven task should be the response timing to meet the responder requirements of the standard.

Second, consider how to handle your responses when saving data to non volatile memory. Either you will have to assign the data saving to another task and then respond ahead of the save task completing.
or
Alternatively, (not my preferred answer) employ ACK timer to allow time for the data save to complete before completing a response.

I have a myriad of responder implementations running on an 8MHZ clock, running several other processes with ample resource.

Hope this helps.

Hamish
__________________
______________________________________________
Hamish Dumbreck
hamish is offline   Reply With Quote
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 03:57 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, vBulletin Solutions, Inc.