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.

TMS320F28069: SCI pins on the experimenter Kit Docking station

Part Number: TMS320F28069
Other Parts Discussed in Thread: CONTROLSUITE

I am trying to figure out how to map the pin names from the F20069 to the docking station pin nos. Are they the same. In other words for SCIB, the pin in the 29=8069 is GPIO18. Will this land on the pin labeled GPIO18 on the experimenter's kit USB docking station?

Reason, I have some code that outputs something to the SCI-B. So trying to monitor the line GPIO18 on the docking station which appears to not waver from "high"

any pointers appreciated. thanks, srini

  • Srini,

    Have you tried using internal loopback to ensure SCI-B is correctly transmitting?

    Secondly, if SCI-B is correctly transmitting, how have you configured GPIO18?

    Regards,
    Cody

  • Cody

    Thanks. I have not tried the internal loopback. I will. What I have:

    - I have an isr for TXINT and I can see that the interrupts are getting fired. from within the ISR, I initiate the next char transmission. Thus the entire message is getting transferred to SCITXBUF one char at a time.

    - For GPIO I have the following:

    GpioCtrlRegs.GPAMUX1.bit.GPIO12 = 0x0002 ; // for Scib I had MUX2.bit.GPIO18
    GpioCtrlRegs.GPADIR.bit.GPIO12 = 0x0001 ; // < now GPIO12 since I am attempting Scia to see if there is any difference.

    Any other GPIO setup I have to do?

    thanks for all pointers, srini
  • Srini,

    have you heard of controlSUITE? It contains lots of useful examples, in particular it has an example called "scia_loopback_interrupts". This example should work immediately for SCIA, and with a few modifications for SCIB too.

    Finally its a good idea to enable the internal pull-up resistor(see the GPAPUD register) and set the input qualification to asynchronous(see the GPAQSEL register). If you download controlSUITE, there are several SCI examples that should show you exactly how to setup the GPIO.

    Regards,
    Cody