Other Parts Discussed in Thread: C2000WARE
Hi all, i have gotten a problem when i use SCI module in my project.
the problem is when SCI module receives 0x00, SCi interrupt doesn't operate after that
here is the routine that i have found.
data sent : 01 02 03 04 05 06 07 08 09 10
-> since there isn't any 0 it is ok. DSP receives the data above successfully and interrupt occurs 10 times.
data sent : 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20
-> since there isn't any 0 it is ok. DSP receives the data above successfully and interrupt occurs 20 times.
however
data sent : 01 02 03 04 05 00 07 08 09 10 11 12 13 14 15 16 17 18 19 20
-> problem occurs because there is 0 as 6th data in the data array SCI module receives and interrupt just occurs only 6 times. SCI interrupt after 0 doesn't occur.
data sent : 01 02 03 04 05 06 07 08 09 10 11 00 13 14 15 16 17 18 19 20
-> problem occurs because there is 0 as 12th data in the data array SCI module receives and interrupt just occurs only 12 times. SCI interrupt after 0 doesn't occur.
data sent : 01 00 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20
-> problem occurs because there is 0 as second data in the data array SCI module receives and interrupt just occurs only 2 times. SCI interrupt after 0 doesn't occur.
is there any register set that when SCI module receive '0', that module stop its operation
I need your help sincerely