RS485 - twrk40x256

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RS485 - twrk40x256

Jump to solution
704 Views
mpc8377e
Contributor I

Hi,

 

I am trying to run the example program mqx\examples\rs485\rs485.c. As the prorgram is using ittyd port so i have set #define BSPCFG_ENABLE_ITTYD      1 in user_config.h bsp file. I am unsuccessful in exeucting the program. I have opened serial port of my pc to recieve and send data but no transactions are happening. I want to know what are all the settings need to be done to execute rs485 program. 

 

I have TWR-SER board and set jumpers J17, J18 and J19 in pos 2-3 and i've installed three jumpers on the J13 header on pos 1-2 , 3-4 and 5-6.

 

Regards.

Raghu

0 Kudos
1 Solution
469 Views
c0170
Senior Contributor III

Hi mpc8377e,

 

yes it is necessary as it is for RS232 which you tested on your computer. 

 

Regards,

MartinK

View solution in original post

0 Kudos
3 Replies
469 Views
c0170
Senior Contributor III

Hi mpc8377e,

 

did you set also default channel in board header, twrk40x256.h ? Default value is ttya.

 

Regards,

MartinK

0 Kudos
469 Views
mpc8377e
Contributor I

Hi,

 

I was trying to communicate with windows PC using RS485 example program. Now i have shifted jumper to have RS232 as medium of communication and the program works(messages can be sent and received from windows host).

 

Is it necessary to have RS485 transreceivers at PC side also to get communication working using RS485?

 

Regards,

Raghu

0 Kudos
470 Views
c0170
Senior Contributor III

Hi mpc8377e,

 

yes it is necessary as it is for RS232 which you tested on your computer. 

 

Regards,

MartinK

0 Kudos