This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28035: TMS320F28035

Part Number: TMS320F28035
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

  • Yoonseok,

    We have SCI example code that does what you are looking for.  Please compare your code to our SCI example code in C2000Ware:

    C:\ti\c2000\C2000Ware_<version>\device_support\f2803x\examples\c28\sci_loopback

    C:\ti\c2000\C2000Ware_<version>\device_support\f2803x\examples\c28\sci_loopback_interrupts

    Both examples send and receive characters starting with 0x00 through 0xFF.  Double check your register settings and ISR code with our examples.

    I hope this helps. If this answers your question, please click the green "Verified Answer" button. Thanks.

    - Ken

  • thanks, Ken

    I've solved that issue. it is because the parity set of SCI module is not matched with a PC application. 

    sincerely thanks for your answer to my question.