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.

Multiplier inside the MSP430f2013

Other Parts Discussed in Thread: MSP430F2013, MSP430F2418

Dear experts:

     The MSP430f2013's data sheet doesn't mention a hardware multiplier.  Neither does the selector guide.

     However the user's guide for this chip talks about the multiplier which appears to be 16x16.  Also the chip seems to have a hardware multiplier based on power consumption.

This is confusing!

Thanks,

John

  • There is no user's guide specifically for this chip. You probably mean the "MSP430x2xx User’s Guide" which covers all members of that family that may have hardware multiplier.
  • Hi John!

    I'm not aware of the fact that the small MSP430F2013 has a hardware multiplier. I would say it has none.

    If you check the header file for the different MSPs, you can search for the line

    #define __MSP430_HAS_MPY__

    If it is defined, then your MSP has one, if not, then there is no multiplier module available. Just did a quick search - here from a MSP430F2418

    /************************************************************
    * HARDWARE MULTIPLIER
    ************************************************************/
    #define __MSP430_HAS_MPY__                    /* Definition to show that Module is available */
    
    SFR_16BIT(MPY);                               /* Multiply Unsigned/Operand 1 */
    SFR_16BIT(MPYS);                              /* Multiply Signed/Operand 1 */
    SFR_16BIT(MAC);                               /* Multiply Unsigned and Accumulate/Operand 1 */
    SFR_16BIT(MACS);                              /* Multiply Signed and Accumulate/Operand 1 */
    SFR_16BIT(OP2);                               /* Operand 2 */
    SFR_16BIT(RESLO);                             /* Result Low Word */
    SFR_16BIT(RESHI);                             /* Result High Word */
    SFR_16BIT(SUMEXT);                            /* Sum Extend */

    And searching in the MSP430F2013's header file doesn't show you any entry. Same for searching "HARDWARE MULTIPLIER". So this processor does not seem to have one.

    Dennis

  • Hi John,


    the MSP430F2013 does not have a hardware multiplier. If such module is available, it is shown in the functional block diagram of the specific device.

    As old_cow_yellow explained correctly, the users guide is not specific to a single device. It describes the modules that are available in the entire device family.

    Thanks and best regards,

    Christoph

**Attention** This is a public forum