Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

RS 485 PIC to PIC

Status
Not open for further replies.

kazimor

Newbie
Joined
Apr 27, 2022
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
16
Hello, i need some help for a pic to pic master/slave connection with RS 485,
i know using RS 232 is much better but for my project i need the RS485
i'm using ISIS for simulation,
PROTON IDE and CCS C for programming
if anyone have a simulair project that works, pls help me out,
thank you
 

The RS-485 stands for the electrical specification, as well as the RS-232, so from the programming perspective, you just deal with the UART.
 

so from the programming perspective, you just deal with the UART
Mostly. RS-485 needs additional transmission enable signal. Depending on the used processor, it can be generated in hardware by the UART or has to be software generated software. CCS C example ex_modbus.c demonstrates handling of TX-Enable in software.
 

Mostly. RS-485 needs additional transmission enable signal. Depending on the used processor, it can be generated in hardware by the UART or has to be software generated software. CCS C example ex_modbus.c demonstrates handling of TX-Enable in software.
do you have any examples please when it comes to soft ?
thank you
 

RS-422 and RD-485 are both pretty low BW and the piece parts for RX, TX
and bidirectional are all going to be in 5V technology.

What about LVDS (90LV31, 90LV32 or similar) if you're short-haul and have
a decent ground integrity between the two ends (common mode of ~ 1V
rather than 7V)?

RS-422, RS-485, TIA644 are all just physical layer, bang-bang specs (w/
some stuff about data rate vs line length).
 

Read up on exactly what RS-232 and RS-432 are (@andre has already given you a big hint).
Then you will realise that they are HARDWARE protocols and nothing to do with the software.
There are MANY examples of how to use a UART both in these forums and on the Internet.
Susan
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top