RS485 on TWR-SER

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

RS485 on TWR-SER

跳至解决方案
1,101 次查看
ajaygore
Contributor II

I am Working on freescale MCF3225x and  TWR-SER board in which I am using C:\Program Files\Freescale\Freescale MQX 3.4\demo\telnet_to_serial\codewarrior \telnet2ser example ,this example work fine with RS232 output (transmit and receive ) but as I change jumper setting to RS 485, I can send data string from tower to PC but PC to Tower data string does not get transmit.

0 项奖励
1 解答
954 次查看
ajaygore
Contributor II

eth_to_serial  example work with RS232 with configuration ittyb. 

在原帖中查看解决方案

3 回复数
954 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Ajay:

MQX 3.4 is very old,  I would suggest you try this in a new version.

Regards

Daniel

0 项奖励
954 次查看
ajaygore
Contributor II

I have tried with new codewarrior v11 and MQX 4.2 ,with example C:\Freescale\Freescale_MQX_4_2\rtcs\examples\eth_to_serial I got error 

Fatal Error: Device "" is not interrupt driven serial line.
This demo application requires enabled interrupt driven serial line (i.e "ittyf:").
Please define proper device using macro SERIAL_DEVICE and recompile this demo application.
Please add proper configuration to user_config.h
i.e #define BSPCFG_ENABLE_ITTYF 1
#define BSP_DEFAULT_IO_CHANNEL_DEFINED
#define BSP_DEFAULT_IO_CHANNEL "ittyf:"

1.   I try by putting  #define BSPCFG_ENABLE_ITTYF 1 #define BSP_DEFAULT_IO_CHANNEL_DEFINED #define BSP_DEFAULT_IO_CHANNEL "ittyf:"   this lines in user_conf.h ,but got error 
Fatal Error: Unable to open device "ittyf:".

2. I have try with  a,b,c instead of f in ITTYF and ittyf but not work for me

0 项奖励
955 次查看
ajaygore
Contributor II

eth_to_serial  example work with RS232 with configuration ittyb.