Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all 22733 articles
Browse latest View live

MSP430F2416: calculate the power consumption of msp430

$
0
0

Part Number:MSP430F2416

Hi all,

From the data sheet of MSP430F261x and  MSP430F241x it is clear that the MSP4360f2416 will draw a current of 365uA @1Mhz,2.2V, for one of my project I am planning to use MSP430f2416 at 16MHZ SMCLK @3.3V VCC how can I calculate the current consumption of msp430 at given clock and VCC?

Is the pinouts of the  microcontrollers MSP430FR5962 and MSP430FR5964IPMR are identical? 


MSP432P401R: Should P10.6 & P10.7 be considered as unused pins?

$
0
0

Part Number:MSP432P401R

Hello, 

P10.6 and P10.7 on the MSP432 devices are not connected to any of the physical chip pins, however they can be accessed by software. 

Is there a physical implementation on the die for those ports and they are simply not routed out to any of the pins? 

Should they be treated as any other unused pin or can they be simply ignored? 

Thanks,

Alex. 

MSP432E401Y: Sleep Mode Power Consumption.

$
0
0

Part Number:MSP432E401Y

Hi ,

We are trying to check the power consumption of MCU MSP432E401Y development board in the sleepmode by using the example code "sysctl_deepsleepmode_gpiowake_MSP_EXP432E401Y_nortos_ccs" and "hibernate_vdd3on_wakepin_MSP_EXP432E401Y_nortos_ccs".

As per my understanding and according to datasheet it should be few mili Amps to micro amps.

But its measuring the current of 5.33mA in deep sleep mode to 0.43mA in hibernation..

We are using 73202 multimeter , " https://cdn.tmi.yokogawa.com/IM73201E.pdf

MSP430FR2310: MSP430FR2310 is going to some unwanted address and code is getting blocked (not runnig).and working only when i power cycled the board

$
0
0

Part Number:MSP430FR2310

I am using the battery to power on  msp430fr2310.battery was drained completely . I Have charged the battery to max voltage .at that state code in the msp430 is not working.if we given the power cycle to msp430 then only msp430 is started to work again.

I think msp430 is going to some unwanted state during low battery and getting struck there?what might be the reason

In which cases msp430 will go to unwanted address?

 

MSP430F5659: MSP430F5659 NSR Lower on newer model?

$
0
0

Part Number:MSP430F5659

Hello,

        I am using the MSP430 to drive audio tones into a headset. The problem was the white noise when no audio was being output. I traced the source of this noise back to MSP430(Pin 3 P6.6/CB6/A5/DA0). I ended up

replacing the MSP430 with a newer version and the noise out of the same configuration was non-existent. I performed this update on four separated boards with the same outcome. Is there a difference from

the two versions I have listed below? Or possibly an update I can reference?

OLD#: MSP430 F56595 AAKGOT B

NEW#: MSP430 F5659 77CRSGT B

Cheers,

Chris

MSP430F149: Character Received on SPI MOSI (in slave mode) clocking data in 1 cycle early (shift data to the right)

$
0
0

Part Number:MSP430F149

Hello,

I have my MSP430 in 4-pin slave mode and am trying to receive a character. However, the data I receive seems to be one bit shifted to the right. When I transmit 0x13 (0001 0011), the RXBUF reads 0x09 (0000 1001). As can be seen, a '0' is introduced as the MSB and the '1' LSB has been dropped. When I observe the oscilloscope (seen below) I see that transmitted signal is correct and can see where the phantom '0' character is coming from. I have the polarity and phase shift set to CKPH=0 and CKPL=1 (which I have confirmed matches the master in firmware as well as from the oscilloscope). I have tested this with other signals as well, sending 0xE4 (1110 0100) and receiving either 0xF2 (1111 0010) or 0x72 (0111 0010), depending on what the initial state of MOSI is. I have checked and the STE pin goes low ~3.7us before the clock signal is sent from the master.

Additionally, when I send the 0x13 again, it is captured correctly. (ie. first time 0x13 sent, 0x09 received. Second time 0x13 sent, 0x13 received)

How can I ensure the MSP is not capturing the signal early?

MSP432E401Y: Understanding reference voltage for ADC Buffers

$
0
0

Part Number:MSP432E401Y

Looking over the code requirements for the ADCBUF.  I'm looking at the doxygen API and the description for HWAttrsV1 located here.   The relevant code snippet is posted below.

 static ADCBufMSP432E4_SequencePriorities sequencePriority[ADCBufMSP432E4_SEQUENCER_COUNT] = {
     ADCBufMSP432E4_Priority_0,
     ADCBufMSP432E4_Seq_Disable,
     ADCBufMSP432E4_Seq_Disable,
     ADCBufMSP432E4_Seq_Disable
 };
 static ADCBufMSP432E4_TriggerSource adcTriggerSource[ADCBufMSP432E4_SEQUENCER_COUNT] = {
     ADCBufMSP432E4_TIMER_TRIGGER,
     ADCBufMSP432E4_TIMER_TRIGGER,
     ADCBufMSP432E4_TIMER_TRIGGER,
     ADCBufMSP432E4_TIMER_TRIGGER
 };
 ADCBufMSP432E4_Channels adcBufMSP432E4Channels[1] = {
     {
         .adcPin = ADCBufMSP432E4_PE_3_A0,
         .adcSequence = ADCBufMSP432E4_Seq_0,
         .adcInputMode = ADCBufMSP432E4_SINGLE_ENDED,
         .adcDifferentialPin = ADCBufMSP432E4_PIN_NONE,
         .adcInternalSource = ADCBufMSP432E4_INTERNAL_SOURCE_MODE_OFF,
         .refVoltage = 3300000
     }
 };
 const ADCBufMSP432E4_HWAttrsV1 adcbufMSP432E4HWAttrs[1] = {
     {
         .intPriority = ~0,
         .adcBase = ADC0_BASE,
         .channelSetting = adcBufMSP432E4Channels,
         .sequencePriority = sequencePriority,
         .adcTriggerSource = adcTriggerSource,
         .modulePhase =  ADCBufMSP432E4_Phase_Delay_0,
         .refSource = ADCBufMSP432E4_VREF_INTERNAL,
         .useDMA = 1,
        .adcTimerSource = TIMER1_BASE,
     }
};

I'm most interested in better understanding the relationship between the .refSource field in the ADCBufMSP432E4_HWAttrsV1 struct and the .refVoltage field in the ADCBufMSP432E4_Channels struct.   If I set the first to ADC_REF_EXT_3V then what purpose does the .refVoltage field serve, and conversly, if I have to set .refVoltage to 2500000 uV (my intended reference voltage on VREF+) than what happens if VREF+ is changed to, say 2.9 V?

Thanks

CCS/MSP432E411Y: demo codes or example programs for demonstrating ethernet application?

$
0
0

Part Number:MSP432E411Y

Tool/software: Code Composer Studio

Hi Team,

I'm doing a small project about automotive Ethernet PHY using the board DP83TC811SEVM. I found that the Ethernet MCU MSP432E411Y has a Ethernet MAC and MII/RMII pins to connect an external Ethernet PHY. So I decided to use MSP432E411Y-BGAEVM as my Ethernet controller to connect a DP83TC811SEVM.

I want to link 2 MCUs and 2 Ethernet PHYs to implement a ethernet communication. I just want to know if there are some demo codes or examples for demonstrating the Ethernet application of this MCU, for example in SDK? 

Best Regards,

Zhouyang Liu


MSP432P401R: Stupid Question re: Launchpad Documentation

$
0
0

Part Number:MSP432P401R

I'm sure that this question is stupid, but I haven't found an answer in the TI literature, or on the web.

In the MSP432P401R Launchpad documentation, some of the alternate functions for pins are prefixed with "PM_", for example "PM_TA0.1". What does this prefix mean?

Thanks,

CCS/MSP430G2544: MSP430G2544 temperature calibration data

$
0
0

Part Number:MSP430G2544

Tool/software: Code Composer Studio

Hello,

I'm using the built-in temperature sensor in MSP430G2544.

However I couldn't find the Flash address for temperature ADC calibration data in the device datasheet.

It mentions in the user guide that device datasheet will contain the address of calibration data, but I couldn't find any for MSP430G2544.

Your support is appreciated. Thanks.

NH

MSP430F2272: Powering up after battery is dead using RF

$
0
0

Part Number:MSP430F2272

star-oHi,

I'm designing a data storage tag based on the MSP430 which interfaces with multiple sensors and store the data on an external flash memory chip. This tag is put inside of a cyclical hydrophone and filled epoxy so it won't be possible to physically change the battery.

I am looking for a solution that can power up the MSP430 and the flash memory for enough time to retrieve the data. I was inspired by this company's method star-odi communcation box which can communicate wirelessly using RF as well to power up the tag if it is dead. Is there any TI products that can achieve this functionality, if so could you recommend them to me for future reading.

Thank you in advance.

MSP432E401Y: ADC channels above 15 don't seem to work

$
0
0

Part Number:MSP432E401Y

I am trying to get the continuous sampling demo to work on channels above 15.  I modified the appropriate files and can get all channels below 15 to work.  I suspect something in the register settings but haven't been able to track down what the definitions mean and where they get set.  Any suggestions?

CCS/MSP-FET: debugger Interface does not show TI MSP430 USBx

$
0
0

Part Number:MSP-FET

Tool/software: Code Composer Studio

I have tried to use the MSP-FET that I just purchased to program the evaluation board MSP-EXP432E401Y.

The code composer is version 8.2.00007

According to SLAU157AR  (Code Composer Studio v8.x for MSP430 MCUs,
In project setting under Code composer,
Project → Properties → General → Device → Connection).
I should Select
ether TI MSP430 LPTx for the parallel FET interface or TI MSP430 USBx for the USB interface.

However I could not find those listings, but the following:
TI XDS 100 V2, V3 USB debug Probe
TI XDS 110 USB debug Probe
TI XDS2xx  USB debug Probe
TI XDS 560 debug Probe
UARTConnection

In Device Manager, port (COM&LPT)  shows MSP Debug Interface (COM8)) which means MSP-FET is seen.

I understand that CCS 8 installs the software for MSP-FET, and I do not need to install it. I also updated the CCS 8

Please help

Thanks.

Long

MSP432E401Y: MQTT SSL connection problem.

$
0
0

Part Number:MSP432E401Y

Hi, 

I am able create MQTT SSL connection with "test.mosquitto.org" successfully. 
I am not able to connect with my MQTT server. I change server ip and certificate for my MQTT server. But I am getting error -2021(SLNETERR_RET_CODE_FUNCTION_FAILED (Function couldn't execute correctly)) . Can anyone tell me that what is problem ?

Dinkar

MSP430FR2155: Is there a possibility that the RST pin draws current to the inside?

$
0
0

Part Number:MSP430FR2155

Hi community member,

My customers are developing boards using MSP430FR2155.
When I tested to confirm noise tolerance, it seems that it is falling to the MSP430FR2155TPT RST pin (# 5) Low when noise is applied.
Your board is designed according to the JTAG circuit (Data Sheet P. 106 Figure 7-3. Signal Connections for 4-Wire JTAG Communication).

I received the following question from my customer.

1. Is there a possibility that the RST pin draws current to the inside at the device level?

My customer strongly mind this question.

I am waiting for the comments of TI employees.

Best regards.
Cruijff


MSP430FR2433: MSP430FR2433 - VARIABLE IN RAM (IAR ASM)

$
0
0

Part Number:MSP430FR2433

#include "msp430.h" ; #define controlled include file

;*--------------------------- Variable in RAM --------------------------------*/
#define MODE (0x2000)

NAME main ; module name
PUBLIC main ; make the main label vissible
; outside this module
ORG 0FFFEh
DC16 init ; set reset vector to 'init' label

RSEG CSTACK ; pre-declaration of segment
RSEG CODE ; place program in 'CODE' segment

init: MOV #SFE(CSTACK), SP ; set up stack

main: NOP ; main program
MOV.W #WDTPW+WDTHOLD,&WDTCTL ; Stop watchdog timer

mov.w #0000h,MODE
mov.w #0001h,MODE
mov.w MODE,R7

JMP $ ; jump to current location '$'
; (endless loop)
END

How to declare a variable in RAM in IAR ASEMBLER?

The code that worked before, now does not work!
I specify the address 0x2000h, but nothing is written there!
The disassembler indicates that the address is 0xE400.
But nothing is recorded there either !!!


About checksum type "none" of FET-Pro430

$
0
0

Hi community member,

About checksum type "none" of FET-Pro430

I received the following question from the customer.
Could you confirm it?

What is the calculation method when checksum type of FET-Pro 430 is set to "none"?

Arithmetic Sum or CRC was written in FET-Pro430 User’s Manualthe.
Please tell me if you know the calculation method for "none".

Best regards.
Cruijff

MSP430F5438A: MSP Gang DLL LABWINDOWS CVI

$
0
0

Part Number:MSP430F5438A

Well I have been trying to load the lib and header file found in the examples folder under the Texas Instruments folder but no avail. It alawys shows that the function used are unidentified even though i can access their definition in the header file. This is the type of error I am getting when I use any functions in the .h file. 

Undefined symbol '_MSPGANG_GetProgressStatus@4' referenced in "MSP.c".

Undefined symbol '_MSPGANG_InitCom@8' referenced in "MSP.c".

MSP430F6723: DLMS: Authentication failure

$
0
0

Part Number:MSP430F6723

Hi team,

My customer got an error when try to connect our DLMS library with GXDLMSDirector in HS mode AES-128.

according to the code we use key:

uint8_t auth2[] = {2, 16, 'a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a'};

Screenshots with settings and error attached.

CCS/MSP430F5529: UART problem with Timer

$
0
0

Part Number:MSP430F5529

Tool/software: Code Composer Studio

hello,

im using msp430f5529, Im facing a strange problem where i use UART to send data to ESP8266 wifi module and also receive the same.

my question is while transmitting and receiving data through uart is work properly. but when i used timer in between any function, my transmitting part get stopped when using timer.

my timer is approx 13 sec delay, i.e. my transmitting process holds for 13 sec when timer runs and after that when my timer get suspend the uart start sending data.

please help me.

here im attatching some uart function and timer function.

//////////////////////////// timer function /////////////////
#include <msp430.h>
void timer();
unsigned int count_1=0;

void timer()
{

    P1SEL |= BIT3;                      //Select pin 1.2 as our PWM output.
    TA0CCR0 = 65534;                     //Set the period in the Timer A0 Capture/Compare 0 register to 1000 us.
    TA0CCTL2 = OUTMOD_3;
    TA0CCR2 = 10;                      //The period in microseconds that the power is ON. It's half the time, which translates to a 50% duty cycle.
    TA0CTL = TASSEL_1 + MC_1;           //TASSEL_2 selects SMCLK as the clock source, and MC_1 tells it to count up to the value in TA0CCR0

while(1)
{

    if(TA0R==65534)
    {
        count_1++;
        TA0R=0;
        if(count_1==10)
        {
            P1OUT |= BIT0;
            count_1=0;
            break;
        }
    }
}
}


///////////////////////uart function /////////////////////
P3SEL|=BIT3+BIT4;
UCA0CTL1|=UCSWRST;
UCA0CTL1|=UCSSEL_2;
UCA0BR0 =9;
UCA0BR1 =0;
UCA0CTL1 &=~UCSWRST;
UCA0IE |=UCRXIE;

////////////////////////////////////// UART SEND ////////////////////////////////////////
void send_uart(char *addr)
{
unsigned int i;
unsigned int size =strlen(addr);
for(i=0;i<size;i++)
{
while(!(UCA0IFG & UCTXIFG));
UCA0TXBUF = addr[i];
}
}
//////////////////////////////////UART INTERRUPT///////////////////////////////////////
#if defined(__TI_COMPILER_VERSION__)|| defined(__IAR_SYSTEMS_ICC__)
#pragma vector=USCI_A0_VECTOR
__interrupt void USCI_A0_ISR(void)
#elif defined(__GNUC__)
void__attribute__((interrupt(USCI_A0_VECTOR))) USCI_A0_ISR (void)
#else
#error compiler not supported!
#endif
{
switch(__even_in_range(UCA0IV,4))
{
case 0:break;
case 2:

*tx= UCA0RXBUF;
tx++;

break;

case 4:break;
default:break;
}
}

Viewing all 22733 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>