RS485 Click operating in Slave mode

Discussion on projects that are created by users and posted on mikroElektronika website.
Post Reply
Author
Message
gkeogh
Posts: 1
Joined: 23 Feb 2017 21:57

RS485 Click operating in Slave mode

#1 Post by gkeogh » 10 Mar 2017 01:16

Does anyone have C code I could build on that connects two micro-controller systems using RS485 communication as follows:
One system is the master and communicates at 9.6 kbps using 8 byte words and second system is slave communicating at 19.2 kbps with 16 byte words.
I need to interface these two systems so they can understand each together.
Master sends either status commands or control commands to slave. Status commands are received on periodic basis whereas control commands are non-periodic.
I am familiar with PIC16F887 and PIC18F4522 and PIC18F87K90
Any help would be appreciated!

User avatar
danilo.milovic
mikroElektronika team
Posts: 501
Joined: 05 Dec 2016 14:59

Re: RS485 Click operating in Slave mode

#2 Post by danilo.milovic » 10 Mar 2017 15:06

Hi,

have you tried our examples for RS485 click from libstock?

https://libstock.mikroe.com/projects/vi ... ck-example

https://libstock.mikroe.com/projects/vi ... ck-example

Regards,

Danilo

Post Reply

Return to “User Projects”