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.

F28335 ControlCard[2.2], Docking Stn USB-EMU [R3] SCI Problem/Query

Hi,

I have been battling away for almost a day now trying to transmit data from the F28335 ControlCard, via the FT232 Chip on the Docking Station to RealTerm on my PC.  I cannot transmit anything for some reason.  In the last half hour or so I have gone back and imported the Example_2823xSci_Echoback project as a sanity check and this does not transmit either.

This is what I have performed so far (please refer to attached images)...

1) Established that J9 on the Docking Station needs to be Jumpered - I am trying to use the JTAG/UART arrangement.

2) Loaded the correct FTDI drivers and can see the ports in Control Panel

3) Verified that R24 on the Control Card is 0 ohm.

4) Left SW1 on the Control Card in the OFF position.

5) In terms of RealTerm I have setup as shown in one of the attached images.

6) I have referred to the Control Card and Docking Station schematics and placed a probe on J4 to track the SCI-TX line - nothing shows on the Scope.

The only change I have made to the Example code is for the BAUD Rate, I have changed this to 115200 which is a BRR value of 40.

BRR = (37.5MHz/(BAUD * 8))-1 = (37500000/(115200 * 8))-1 = 40.69 - 1 = 39.69.  I've rounded up to 40.

This gives BAUD = 37500000/((40+1)*8) = 37500000/328 = 114329.  

Is there anything I have missed here to actually transmit over SCI?

Thankyou,

Mike.

  • Hi Mike,

    I'm a bit confused. v2.2 docking station comes with XDS100v2 but above I'm able to see XDS2xx! Can you check the same?

    Regards,
    Gautam
  • Hi Gautam,

    Yes I'm using an XDS200. Would this cause an issue?
    I've spoken to a colleague (our Electronics Engineer), who suggested that he had to remove U4 on the docking Station to reduce UART Interference in order to get the UART to transmit correctly. Does this sound feasible?

    Thankyou,
    Mike.
  • So let me get this right... you're powering docking station through external supply (and not USB) and using an external XDS200 debugger right?

    For serial communication, you'll need to use USB to power. Once USB connected to docking station you'll get the COM Port Number. In your case it seems to be COM12. Try connecting to COM12 and update us.

    Regards,
    Gautam
  • Hi Gautam,

    Looks like I am in idiot.

    When I originally coded up my SCI routines I failed to set the relevant GPIO pins. Therefore when I attempted to view the transmitted characters with COM12 I didn't see anything. I then looked in Control Panel and assumed (wrongly) that it was COM25 I needed to talk to.

    I have implemented the correct GPIO settings for SCI and switched back to COM12 and hey presto - it works.

    I can't believe I've been messing with this for a day - what an idiot.

    For information I've been powering up through the USB.

    Thankyou for your assistance,
    Mike
  • Excellent & You're Welcome! (Please Close this thread)

    Goodluck & Regards,
    Gautam

  • How can you know that the emulator is XDS2xx??
    and how can i know the type of my on-board emulator??because i have the same Dock Stn but till now i don't know to put it into operation woth CCS
  • The above docking station has XDS100v2 emulator. You can check the same by Test connection in Target Configuration.

    Also, please don't hijack threads. Open a new one :)