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.

MSP430F5172: Some question about the application of MSP430F5172

Part Number: MSP430F5172
Other Parts Discussed in Thread: MSP-GANG, MSP-FET

Hi TI Teams,

Our new three-proof mobile phone project adopts Qualcomm platform and plans to use MSP430F5172 for indoor and outdoor infrared positioning. Is this part number is suitable for Qualcomm platform? Or is there any suggestion for the application?

The following is the schmatic, can u help to check it? is the CTS and RTS pin must be used for control?

Thanks,

Kind Regards

  • Hi Lumina,

    I'm not too familiar with the requirements for the Qualcomm platform? Do you have any details you can share on it?

    Regarding your schematic, I'll trust you've designed your analog side well enough for now. Do you plan to use UART BSL like mentioned in the related thread? If so you may want to add A4 and B4 for UART BSL Rx and Tx.

    -Brandon

  • Hi Brandon,

    We implemented the functionality on the MTK platform and now want to implement the same functionality on the Qualcomm platform. 

    For CTS/RTS flow control issues, it is important that the communication between the host processor and the MSP430F5172 must be start in both directions without delay. We have realized this function by flow control in the form of RTS and CTS on MTK platform. On the MSP430F5172 side, GPIO with interrupt function is used. Interrupts must also be used in the main processor. So we want to confirm whether the Qualcomm platform is the same way.

    Thanks,

    Kind Regards

  • Hi Lumina,

    From a UART perspective either method could work with this device. 

    I couldn't comment on whether the Qualcomm platform is using a 2 or 4-wire implementation of UART though. I'll leave this thread open in case one of our community members is aware.

    Best Regards,
    Brandon Fisher

  • Hi Brandon,

    Another question,when programming the firmware for MSP430F5172 on the android side, it will perform the following operations on B3 and D2. It has entered BSL. What is the state of MSP after execution?

    static void maja_invoke_bsl(struct maja_supervision_gpios *gpios)
    {
       gpio_set_value(gpios->rst, 0);
       gpio_set_value(gpios->test, 0);
    
       pr_info("wqw maja gpio 1");
       mdelay(100);
    
       gpio_set_value(gpios->test, 1);
       mdelay(10);
       gpio_set_value(gpios->test, 0);
       pr_info("wqw maja gpio 3");
       mdelay(10);
       gpio_set_value(gpios->test, 1);
       mdelay(10);
       gpio_set_value(gpios->rst, 1);
       mdelay(10);
        pr_info("wqw maja gpio 4");
       gpio_set_value(gpios->test, 0);
       mdelay(100);
    }
    

    Thanks,

    Kind Regards

  • Hi Lumina,

    That sequence looks like a correct BSL Invoke, so the device should jump to BSL mode, and you will be able to begin executing UART BSL commands.

    Best Regards,
    Brandon Fisher

  • Hi Brandon,

    Thanks a lot. Another question, is there any suggestion to burn the code before patch? We will burn the software and then patch it for mass production.

    Thanks,

    Kind Regards

  • Hi Lumina,

    For MSP430 you can use Spy-Bi-Wire and one of our programing tools such as MSP-GANG or MSP-FET to program at production, or you could use BSL as you plan to in the field.

    Best Regards,
    Brandon Fisher.

**Attention** This is a public forum