Microc pro rs485 not using library

Status
Not open for further replies.

bauche

Junior Member level 1
Joined
Oct 13, 2010
Messages
15
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,367
Hi i want to use rs485 with microc pro but not with the 485 microc library... like uart with an sn65176 transceiver, cause my project dont need address and other data from 485 microc library

i have to send to unit preamble (FF FF FF FF FF) some data and at end checksum value at 1200 baud 8 bit odd parity 1 stop bit

i try an 18f2580 at 40mhz pll

i sent uart_write (0xFF); 5 times for my preamble ....other data and my checksum without success..... :-(

my code is compiling fine with microc pro 6.0 and i checked data...it's ok....

Does someboby have an idea or sample i can use for my problem...???

Thanks...
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…