Help on AsyncroSerial Bean with CW and HCS08 chip

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

Help on AsyncroSerial Bean with CW and HCS08 chip

跳至解决方案
2,783 次查看
kc
Contributor II
I have been struggling with the AsyncroSerial bean for weeks now, trying to get it to send and receive.  I figured it was something simple that a change to the bean properties would solve.  No such luck, I don't seem to be able to send a message to another device and have it recognize it.  It may be in handshake.  I want to use the CTS/RTS handshake.
 
#1: What do all the settings mean for the AsyncroSerial bean?
#2: What is the preferred method of using the bean as far as waiting for tx empty and rx char avail and what can I use in a tight loop that will not disturb the interrupts that are happening so much that everything gets delayed on the chip?
#3: Are the input/output buffers on the bean handle ReadChar/SendChar or are they strickly for the Send/RecvBlock?
#4: If I don't service the interupt when I enable interupt I/O in the bean do the Read/SendChar functions still work?
 
As you can tell, I have had such a variety of problems that I am questioning some of the basic things the bean should do.  Any help or points to documents that fill in the missing information would be great.  I simple read/receive routine would also be extremely helpful.
 
Thanks,
Kevin
标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,020 次查看
ProcessorExpert
Senior Contributor III

Hi,

Please see AsynchroSerial bean help to find answers for most of your questions.

On Properties page you can find all properties, parameters, how to configure the bean. On Methods page and Events page you can find short description to each methods and events with all parameters. On Typical Usage page you can find seven examples demonstrating usage of this bean (e.g. with or without interrupts).

Also generated code of all methods and events is commented.

Best Regards, Processor Expert Support

 

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,021 次查看
ProcessorExpert
Senior Contributor III

Hi,

Please see AsynchroSerial bean help to find answers for most of your questions.

On Properties page you can find all properties, parameters, how to configure the bean. On Methods page and Events page you can find short description to each methods and events with all parameters. On Typical Usage page you can find seven examples demonstrating usage of this bean (e.g. with or without interrupts).

Also generated code of all methods and events is commented.

Best Regards, Processor Expert Support

 

0 项奖励
回复