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
Solved! Go to Solution.
Hi mpc8377e,
yes it is necessary as it is for RS232 which you tested on your computer.
Regards,
MartinK
Hi mpc8377e,
did you set also default channel in board header, twrk40x256.h ? Default value is ttya.
Regards,
MartinK
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
Hi mpc8377e,
yes it is necessary as it is for RS232 which you tested on your computer.
Regards,
MartinK