cancel
Showing results for 
Search instead for 
Did you mean: 

Serial Interface problem of ST10F276

xiaomei
Associate II
Posted on September 11, 2007 at 09:09

Serial Interface problem of ST10F276

3 REPLIES 3
xiaomei
Associate II
Posted on September 06, 2007 at 15:25

Anyone can help me on following two problems regarding XASC & ASC0 of ST10F276.

The two serial interfaces are configured to be RS485. We use P8.4 toggling between transmitting and receiving for XASC; use P8.3 toggling between transmitting and receive for ASC0.

1) For ASC0, when P8.3 is toggled the P3.11 (receiving for ASC0) is also toggled. For XASC, when P8.4 is toggled the P8.6 (receiving for XASC) is also toggled. How do I stop P3.11 / P8.6 toggling with P8.3 / P8.4?

2) Serial interface XASC receives single character OK. When trying to receive more than one character it always gets wrong data on second character and after.

Thans for any help.

najoua
Associate II
Posted on September 10, 2007 at 10:18

Hello,

Could you please give me a code reproducing your problem?

Regards,

Najoua.

xiaomei
Associate II
Posted on September 11, 2007 at 09:09

Hi Najoua,

Please find attached code witch used to transmit/receive data from/to XBUS serial interface. I use Advanced Serial Port Monitor to send and receive data from processor.

Thank you very much for the help.

Best regards

________________

Attachments :

XBSI.rtf : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I00t&d=%2Fa%2F0X0000000bY7%2FjeNLiR55pTFQnJSgjF3xvHeplA3gMptnKdgbarImyIY&asPdf=false