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.

Problem with Example_2834xSci Echoback

Other Parts Discussed in Thread: CONTROLSUITE

Hi everybody,

I have TMS320C2000 Experimenter's Kit wiht TMS320C28346FET microcontroller. The tx part of example is working and I can receive data from processor (TX). The problem is with data from PC (RX). I realize, that some registers are not filled properly. In example is:

SCICTL2 =  0x0003 SCIFFTX = 0xE040 and SCIFFRX = 0x204F

what I get is

SCICTL2 =  0x00C3 SCIFFTX = 0xE080 and SCIFFRX = 0x200F

I do not know if this is problem why I cannot receive data to processer, but definitely it is not right. Can anybody please help me?

  • Stanislav,

    I am assuming that you are using the C28346 controlCARD that corresponds to this schematic in controlSUITE:
    \controlSUITE\development_kits\~controlCARDs\DIM168CC2834xHWdevPkg\

    How are you connecting the C28346 device to your computer:  Via J3 on the 168-pin Experimenter's Kit Docking Station?  Or via GPIO-28 and GPIO-29 directly?  For example, if you are directly interfacing with GPIO-28 and GPIO-29, you may need to disable the on-card RS232 transceiver chip by removing R193.

    Some of the register bits you appear to be writing to are read-only (or flag clear bits that reset themselves via hardware).  This may explain why the values you write are not always the values that you read.


    Thank you,
    Brett

  • Brett,

    Thank you very much for your answer. It helps me a lot. The question about registers was a little bit stupid, I know, I have to read the datasheet more carefully.

    The thing about UART:

    I am using FTDI chip on the docking station (CSIA). I noticed, that on docking station is J13 pins, which I guess should be linked if I want to use this chip. But I did not find any schematics of this board so I am not sure if I am right.

    Thank you again

    Stanislav

  • Stanislav,

    If you have controlSUITE installed, you should be able to find the 168pin docking station schematics at:
    \controlSUITE\development_kits\~ExperimentersKits\DIM168ExperimentersKit-HWdevPkg_v2_0\R2\

    Yes, a jumper at J13 will connect GPIO28 (RX) to the FTDI chip.  Note that you also may need to take off R193 on the controlCARD as well. 
    (this will make sure that the signal net GPIO28 goes only through the controlCARD connector, then across J13 and finally to the FTDI chip)

    Hopefully this helps.


    Thank you,
    Brett