MX7 and RS485

Post Reply
aabfm
Posts: 31
Joined: Mon Aug 14, 2017 4:28 pm
Location: UK

MX7 and RS485

Post by aabfm » Thu Aug 31, 2017 2:02 pm

Hi,
Does anyone know how to use the typical TTL to RS485 converter (based on MAX485) with the MX7 board?
Or can point me to a code example of read/write type?
Thanks in advance.

User avatar
majenko
Site Admin
Posts: 2165
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: MX7 and RS485

Post by majenko » Thu Aug 31, 2017 3:09 pm

Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

aabfm
Posts: 31
Joined: Mon Aug 14, 2017 4:28 pm
Location: UK

Re: MX7 and RS485

Post by aabfm » Thu Aug 31, 2017 5:05 pm

It seems to do what I'm looking for however it's not clear to me which of the UARTs from the mx7 it will be using... :(
Can you give me a hand? From the manual I can have up to 6 different UARTs from this PIC...

User avatar
majenko
Site Admin
Posts: 2165
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: MX7 and RS485

Post by majenko » Thu Aug 31, 2017 5:16 pm

It uses whichever you tell it to. It wraps around the Serial objects.
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

aabfm
Posts: 31
Joined: Mon Aug 14, 2017 4:28 pm
Location: UK

Re: MX7 and RS485

Post by aabfm » Thu Aug 31, 2017 5:18 pm

OK. I'll give it a try with UART 3 on JF

Post Reply