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.

CCS/LAUNCHXL-F28069M: Connected to BOOSTXL-DRV8301(REV B) - Issue with SCIB ISR

Part Number: LAUNCHXL-F28069M
Other Parts Discussed in Thread: BOOSTXL-DRV8301, , MOTORWARE

Tool/software: Code Composer Studio

Hi,

I have the BOOSTXL-DRV8301(REV B) connected to the LAUNCHXL-F28069M.

I am using motorware lab12b as the basis for my program.

I am running a motor and trying to receive serial commands to run this motor through SCI B.  I am using an Arduino pass the serial commands through to the F28069M board.  I am having issues with the SCIB ISR being hit.  I followed the motorware_hal_tutorial to enable/initialise SCI.  I am using the default GPIO pins 15 for RX and 58 for TX.  I am using SCI B as I am using the USB connection to power the board and for debugging purposes.  If I update the interrupt level as outlined in the tutorial my motor does not enable and the mainISR is not being hit.  If I leave the interrupt levels as they were in lab12b the main ISR is hit and I can enable the motor and run it at a defined speed, etc. but when I send the serial commands they are not causing the SCIBRXISR to be hit.

As regards jumpers I have them on JP1, JP2, JP3, JP4, JP5.  Can you confirm if I have these attached correctly to enable SCI B?

Any help on this would be great as I have been going around in circles with this for weeks.

Thanks.

Roisin

  

  • Could you please have a look at the TMS320F28069M LaunchPad Development Kit Quick Start Guide that shows the switches setting on launchPad.

    http://www.ti.com/lit/ug/sprui11b/sprui11b.pdf

    And you may have a look at the motorware_hal_tutorial.pdf in the folder as below to configure the SCI.

    C:\ti\motorware\motorware_1_01_00_18\docs\tutorials

  • Hi Yanming Luo, Thank you for your reply. Unfortunately, as I mentioned in my question I have used the motorware_hal_tutorial (line 4) and I am having issues with the mainISR if I update the interrupt level as it outlines and my motor does not enable but if I leave the interrupt levels as per lab12 b the mainISR runs as expected and my motor enables. I have also looked at the quick start guide and every other guide to do with this board and I have set up the jumpers and switches as I interpreted to be correct from these guides. My understanding of what these guides outline may be wrong so that is why I asked had I the jumpers attached correctly (line 9). My issue is that the SCIBRxISR is not being hit? I cannot receive my serial commands to move the motor in the way these commands specify. Is there a way to test the ISR in code, is there some bit I can set in a register to force it to enter the SCIBRxISR etc.? Any debugging help for this would be appreciated or anyone who had similar issues. I may be asking the wrong question so anything anyone has noticed that helped them get the SCIB working correctly may help. Thanks. Roisin
  • Here is an image of how I have the board set up, I have a custom PCB for the second half of the board so I can connect to the SCIB and the motor.

    Here is an image of them connected...

  • It seems like you have a wrong configuration on SCI, could you please create a new thread and have a detailed description of your question? So our expert in SCI will help you to solve the problem.