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

CCS/MSP430FR5992: RTC trouble

$
0
0

Part Number: MSP430FR5992

Tool/software: Code Composer Studio

Hi,

I have one question. Can I use RTC module sourced by SMCLK or some other internal clock?

I don't have an external oscillator...

If yes please tell me how to configure RTC register.

Paulina


EVM430-FR6043: Accessories for EVM430-FR6043

$
0
0

Part Number: EVM430-FR6043

I order EVM430-FR6043, but in order to do some tests i need to have the pipe and the ultransonics sensors

Can somone recommend P/N? to purchase the pipe and the ultrasonics sensors? 

MSP-EXP430FR5994: Setting RTC time/date values

$
0
0

Part Number: MSP-EXP430FR5994

hi,

I have a GPS Receiver which transmits an accurate Date/Time, it transmits integer values for day, month, year, msec, sec, minutes, hours. I would like to set those values as the RTC values, I was wondering if there is any example code to work with,

thanks

EZ430-F2013: Can it's USB emulator program MSP430FR Devices

$
0
0

Part Number: EZ430-F2013

Hi team,

Can this task be achievable? Goal is to use it to program this http://www.ti.com/tool/DRV8876-Q1EVM with a USB tool.

If not possible, let me know if there is an alternative to it and to using an FR launchpad.

RSLK Lab 2 - I'm not getting a voltage difference across capacitor when I change freq

$
0
0

Hi,

I have built the code for Lab 2 with no error and am in debug mode.

I pulled up TexasDisplay on the COM port and selected scope.

I am changing the frequency of the square wave by pressing the buttons but I am not seeing a change in the voltage of the square wave. I am however seeing a change in the frequency of the square wave. I am attempting to measure the voltage across the capacitor to see how frequency affects the voltage but the peak to peak voltage remains at 3.3V for every frequency. Does anybody know what I am doing wrong?

CCS/MSP430FR5949: debug the micro controller at WDT operation

$
0
0

Part Number: MSP430FR5949

Tool/software: Code Composer Studio

hi,

can debug the WDT operation during debugging the hardware using CCS?

 if possible please giude me. point out the important scenario while doing this process.

thanks

MSP430FR2111: About MCLK settings

$
0
0

Part Number: MSP430FR2111

Hi everyone,

We are currently developing with MSP430FR2111.
Please advise on MCLK settings.
Is it possible to set MCLK to 10MHz?
If possible, please provide sample code.
Best regards,
k.saito

CCS/MSP430F5529: USB READ THROUGH MSP430F5529

$
0
0

Part Number: MSP430F5529

Tool/software: Code Composer Studio

Hello Everyone,

This is vikash chandra raman, i am doing a project which is usb read from msp430f5529, so i would like to say that is it possible to read the usb from msp430f5529, If it is possible the kindly give me a demo code and also pin discription of usb read. How can i  read the usb.

Waiting for your positive reply

vikash chandra raman

comcon industries 

new delhi


CCS/MSP430F5529: USING JTAG FOR DEBUGGING IN MSP430F5529

$
0
0

Part Number: MSP430F5529

Tool/software: Code Composer Studio

Respected sir,

This is vikash chandra raman, I am using a MSP-FETFlash Emulation Tool for JTAG Debugging. I have connected all hardware through my MSP-FETFlash , when we build & debug the code through JTAG, the error has come. It shows on screen that is "error connecting to the target unknown device "

so please suggest me the answer how can i used JTAG

waiting for your positive response

Best regards

 vikash chandra raman

comcon industries

new delhi

MSP430FR6047: Resonator Calibration Issue

$
0
0

Part Number: MSP430FR6047

Hi,

I m running "UltrasonicWaterFR604x_02_20_00_04", compiled for LPM in IAR7.12, and measuring the consumption. Its is running in my own board.

It happens that after running the code to "Calibrate the Resonator against the LFXT" the power measurements get spoiled, with a 6.6Khz ripple.

The "USS_App_userConfig.u16ResonatorCalibrateInterval" is 30.

Please see pictures.

i) Can this be addressed to improper Layout of the Board? Or you have any other tip?

ii) When in the field, I do plan to perform this calibration every month. Do you agree?

my best regards,

Antonio

MSP430F6659: Connection For Inbuilt RTC

$
0
0

Part Number: MSP430F6659

Dear All,

Greetings for the days...!!!

I am using MSP430F6659 Microcontroller in my one Application. I want to use Inbuilt RTC in RTC_B Mode so what connection i have to do?

MSP430FR2353: The sample code for firmware update

$
0
0

Part Number: MSP430FR2353

Hi Team,

 

Is it possible to develop the application code of firmware update for MSP430FR2353?

Is there any procedure document and the sample code for it?

 

Thanks and Best regards,

Kuerbis

CCS/MSP430F5419A: Facing issue of NO source available for "0x37ce"

$
0
0

Part Number: MSP430F5419A

Tool/software: Code Composer Studio

At the time of returning from function facing a problem of no source available in CCS 5.5.0,please help me solving this issue

CCS/MSP430FR2355: Read through ADC and vary duty cycle of PWM

$
0
0

Part Number: MSP430FR2355

Tool/software: Code Composer Studio

Hello,

I want to vary duty cycle of PWM output from ADC input on P1.1. PWM is generated on P1.6 using Timer0_B configured in up mode. For 0 Volt on P1.1 should give PWM with 0% duty cycle and 3.3Volt on P1.1 should give PWM with 100% duty cycle on P1.6. I have written a code but it is not working. Please help

#include <msp430.h>

unsigned int ADC_Result;


int main(void)
{
    WDTCTL = WDTPW | WDTHOLD;                 // Stop WDT

    P1DIR |= BIT6 ;                     // P1.6 and P1.7 output
    P1SEL1 |= BIT6                     // P1.6 and P1.7 options select
    
    P1SEL0 |= BIT1;                           // Configure ADC A1 pin
    P1SEL1 |= BIT1;

    // Disable the GPIO power-on default high-impedance mode to activate
    // previously configured port settings
    PM5CTL0 &= ~LOCKLPM5;


 // Configure ADC12
    ADCCTL0 |= ADCSHT_2 | ADCON;                             // ADCON, S&H=16 ADC clks
    ADCCTL1 |= ADCSHP;                                       // ADCCLK = MODOSC; sampling timer
    ADCCTL2 &= ~ADCRES;                                      // clear ADCRES in ADCCTL
    ADCCTL2 |= ADCRES_2;                                     // 12-bit conversion results
    ADCMCTL0 |= ADCINCH_1;                                   // A1 ADC input select; Vref=AVCC
    ADCIE |= ADCIE0;                                         // Enable ADC conv complete interrupt



    TB0CCR0 = 100;                         // PWM Period
    TB0CCTL1 = OUTMOD_7;                      // CCR1 reset/set
    TB0CCR1 = 75;                            // CCR1 PWM duty cycle
    TB0CTL = TBSSEL__SMCLK | MC__UP | TBCLR;  // SMCLK, up mode, clear TBR


 while(1)
    {
        ADCCTL0 |= ADCENC | ADCSC;                           // Sampling and conversion start
        TB0CCR1=ADC_Result

    }


    __bis_SR_register(LPM0_bits);             // Enter LPM0
    __no_operation();                         // For debugger


}


// ADC interrupt service routine
#if defined(__TI_COMPILER_VERSION__) || defined(__IAR_SYSTEMS_ICC__)
#pragma vector=ADC_VECTOR
__interrupt void ADC_ISR(void)
#elif defined(__GNUC__)
void __attribute__ ((interrupt(ADC_VECTOR))) ADC_ISR (void)
#else
#error Compiler not supported!
#endif
{
    switch(__even_in_range(ADCIV,ADCIV_ADCIFG))
    {
        case ADCIV_NONE:
            break;
        case ADCIV_ADCOVIFG:
            break;
        case ADCIV_ADCTOVIFG:
            break;
        case ADCIV_ADCHIIFG:
            break;
        case ADCIV_ADCLOIFG:
            break;
        case ADCIV_ADCINIFG:
            break;
        case ADCIV_ADCIFG:
            ADC_Result = ADCMEM0;
            __bic_SR_register_on_exit(LPM0_bits);            // Clear CPUOFF bit from LPM0
            break;
        default:
            break;
    }
}

CCS/MSP432-RTOS: Related to USB

$
0
0

Part Number: MSP432-RTOS

Tool/software: Code Composer Studio

hello sir

I have to ask one thing , is there any board of msp432 series has uart  i meant extra USB port?"


MSP430F5529: Memory organisation (writing to flash memory)

$
0
0

Part Number: MSP430F5529

Hi Experts,

I'm trying to store some variables in INFOA, INFOB memory location before the program counter goes to main. I have also looked in examples code but there I didn't get success. I was looking in 6.4 Memory Organization in datasheet of MSP430F5529. Can anyone say how to write in flash?

MSP430L092: How using solar cells to 'L092

$
0
0

Part Number: MSP430L092

Hi Johann Zipperer,

From your reply on Sep 2, 2019, we know that many applications use two solar cells in series to run 'L092, but I use the 1,5V solar call used by Japanese Comix electronic calculator, but still find it can't run, and the LED keeps flashing. Is there any requirement for solar cells? Can you tell me the model or requirement for solar cells. 

Regards,

Ruan

MSP430F5529: Writing on Information memory i.e on flash

$
0
0

Part Number: MSP430F5529

Hi Experts,

I want to write on INFOB and INFOA memory but I'm not getting how to write saw examples codes but failed. I want to write like this

#pragma location="INFOB"
const st_rf_config stRfConfig_bkup =
{
    .node_id = UNPAIRED_NODE_ID,
    .network_addr = UNPAIRED_NETWORK_ADDR,
//    .status = PAIRED_MODE,
    .status = UNPAIRED_MODE,
    .node_slot = 0,
};
 

Can anyone help me how to do that because I didn't found any support.......

MSP430FR6989: GPIO static current draw in LPM4

$
0
0

Part Number: MSP430FR6989

I am trying to measure the current draw of MSP430FR6989 in LPM4 on its development board. I measure the current draw from a Keithley SourceMeter.

If I don't unlock GPIOs (don't execute PM5CTL0 &= ~LOCKLPM5;), the current draw in LPM4 is quite close to the number claimed in the datasheet. For example:

MSP430FR6989 LPM4 current draw with GPIO locked
Supply Voltage2.0 V2.5 V3.0 V
Current Draw475 nA490 nA1.10 uA

However, if I unlock GPIOs, no matter what settings of GPIOs are, the current draw increases with supply voltage in a seemingly exponential way. For example:

MSP430FR6989 LPM4 current draw with GPIO unlocked
Supply Voltage2.0 V2.1 V2.2 V2.3 V2.4 V2.5 V3.0 V
Current Draw1.6 uA3.5 uA8 uA15.5 uA24 uA37 uA130 uA

I guess the reason might be with CMOS leakage on those GPIO pins but I am not sure of it.

Does anyone know the reason? What does clearing LOCKLPM5 actually take an effect in hardware? 

Thanks in advance. 

Jie Zhan

MSP-GANG: Error 56 - SD file not found

$
0
0

Part Number: MSP-GANG

Hi!

I created a binary image file "test.mspgangbin" and moved it to a SanDisk SDHC 8GB SD card and loaded into the MSP-GANG. I tried formatting it as FAT32, exFAT and NTFS without any change of error. 

What am I doing wrong?

Thanks in advance 

Viewing all 21958 articles
Browse latest View live


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