10-31-2006 04:37 PM - edited 10-31-2006 04:37 PM
Message Edited by Shamsan on 10-31-2006 04:41 PM
11-01-2006 05:42 PM
11-10-2006 05:35 PM
Hi All,
Since TNT4882 shares on buffer for input and output. How can I resolve this problem:
X1, X2 are varied length string
1) ibwr(UD, X1)
2) ibwr(UD, X2)
3) ibrd()
Statement 1: X1 is a command asking for data, therefore I put the data YZ in FIFOB, but the user didn't use Ibrd() to read it.
Statement 2: X2 is a command asking for data. Now an iterrupt occurs and I would read YZ instead of X2.
I was able to overcome this problem when I used NAT7210 because IN and OUT are two different registers.
Thanks
11-13-2006 08:03 AM