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

MSP430F67791: SPI driver

$
0
0

Part Number:MSP430F67791

Hi Everyone,

                   I am new for MSP430 Family.I m now working on MSP430F67791 Chip.I have now interface with flash memory via SPI protocol.so i need SPI driver for MSP430F67791.Can anyone send me sample SPI driver source code for MSP430F67791.Pls help me as soon as possible.

Thanks,

Ashokkumar

     


MSP430F67791A: Physical board placement of passive anti aliasing filter for SD24_B ADC

$
0
0

Part Number:MSP430F67791A

What is the best practice when it comes to the physical placement of the passive anti-aliasing filter for the SD24_B ADC module inputs?

Should the passive filter components be placed right close to the chip or is it acceptable if the filter is located closer to the analogue header where the signals come into the board.

MSP430FR2433: MISO weird waveform

$
0
0

Part Number:MSP430FR2433

hello,

I've been trying to use two MSP430FR2433 one as a master and the other as a slave.

I used the code examples given by TI.

msp430fr243x_euscia0_spi_12 slave

msp430fr243x_euscia0_spi_09 master

The MISO waveform never goes to the zero is it supposed to be so?

Clock and MOSI waveforms are as expected

blue -> mosi

yellow -> clock

green -> miso

MSP430FR5959: ADC input impedance / max ADC input current

$
0
0

Part Number:MSP430FR5959

Hi team,

 

I am having a hard time finding the input impedance for the ADC on the MSP430FR5959 after a customer had asked. The only hint I can find is in the electrical specifications, ADC timing parameters on page 45:

http://www.ti.com/lit/ds/symlink/msp430fr5959.pdf

 

There is T-sample says that Ri = 4K. Is this the ADC series input resistance?

 

They were looking to confirm the max ADC input current?

 

Thanks in advance,

Billy

MSP430FR2633: Captivate MCU – Phone Demo Board - noise immunity of 3V RMS IEC 61000-4-6

$
0
0

Part Number:MSP430FR2633

Hi,

I tested the MSP Captivate MCU – Phone Demo Board Revision E with current injection 3V RMS. We used the software generated by the Design Center version 1_60_00_00 with the enabled flag of noise immunity. The Active Mode Scan Rate is set to 40ms.

When I slide the scrollWheelSensor we see that some numericKeypadSensor are activated at the stress test frequency of 4MHz. Why is there some crosstalk under the test stage with 3V RMS common mode noise?

We are planning to use the devices for HMI Panel for household appliances and need a stable system even with current injection according to IEC 61000-4-6 conducted noise immunity 3Vrms.

What can we do to get the noise immunity of 3V RMS common mode noise?

In which steps jumps the frequency hopping? Is the frequency hopping not working?

We need some support at our location in German. Has TI an engineer in Germany who can help us with the noise immunity issues?

Thanks

MSP-EXP430F5529LP: Basic info about the board ASAP

$
0
0

Part Number:MSP-EXP430F5529LP

Hello support,

i would like to ask for both the gross weight of the product and its dimensions, since it does not show up directly in the datasheet.
i need this info ASAP, for import issues.

The two products in the question are:

https://www.mouser.de/ProductDetail/Texas-Instruments/MSP-EXP430F5529LP?qs=sGAEpiMZZMvFkM%2fHBrKaDY%2fSkQ9SDcs5

and

https://www.mouser.de/ProductDetail/Texas-Instruments/BOOSTXL-CC1120-90?qs=%2fha2pyFadug8sNeLPgOgUeVVnu1mIqAZ9UaprH9evPmIl%252bfTYP%252b2JNZj%252brCeeaIn



Thank you for your support.


Regards,
Daniel nagasaki

MSP430F5529: Not interrupting

$
0
0

Part Number:MSP430F5529

Is there an example of the code needed to interrupt the CPU on the MSP430F5529? I think that what I have should be complete, however, it does not seem to interrupt! My code looks like this:

RESET       mov.w   #MEMTOP8K,SP               ; Initialize stackpointer
StopWDT     mov.w   #WDTPW+WDTHOLD,&WDTCTL  ; Stop WDT
;Set P1,0 as an Output, and turn it on!
SetupP1     mov.b   #001h,&P1DIR            ; P1.0 output, P1.0 input
            mov.b   #001h,&P1OUT            ; P1.0 set, else reset
            bis.b   #002h,&P1REN            ; P1.1 pullup
;
SetupP4     mov.b   #080h,&P4DIR            ; P4.7 output
            mov.b   #080h,&P4OUT            ; P4.7 set
;Enable the interupt for P1.1 the switch
            bic.b   #002h,&P1IFG            ; P1.1 IFG Cleared
            bis.b   #002h,&P1IE             ; P1.1 Interrupt enabled
            bis.b   #002h,&P1IES            ; P1.1 hi/low edge
;                                           ;
Mainloop    bis.w   #GIE,SR                 ; enable interrupts
            nop                             ; Required only for debugger
Pause       call    #loadr4                 ; Call Sub in other file
Decr4       dec.w   r4
            jnz     Decr4
;            jmp     Pause
            xor.b   #80h,&P4OUT            ; P4.7 = toggle
            jmp     Decr4
           ;
;-------------------------------------------------------------------------------
P1_ISR;     Toggle P1.0 Output
;-------------------------------------------------------------------------------
            xor.b   #01h,&P1OUT            ; P1.0 = toggle
            bic.b   #02h,&P1IFG            ; P1.1 IFG Cleared
            reti                            ; Return from ISR
                                            ;
;-------------------------------------------------------------------------------
P2_ISR;     Toggle P2.0 Output
;-------------------------------------------------------------------------------
            xor.b   #01h,&P1OUT            ; P1.0 = toggle
            bic.b   #02h,&P2IFG            ; P2.1 IFG Cleared
            reti                            ; Return from ISR

Any help would be greatly appreciated! Thanks -MIKEM

MSP432P401R: Issue with MSP432 Launchpad to BOOSTXL-EDUMKII LCD interface

$
0
0

Part Number:MSP432P401R

Hi,

I'm having some issue getting the MSP432 launchpad to work with the LCD on the BOOSTXL-EDUMKII, on Energia IDE.

All other examples worked except those related to the LCD where I only get a white screen.

The hardware is ok as I'm able to run the LCD related sample code supplied in the MSP432 Simplelink lib, but that's with CCS.

Was wondering if anyone has the same issue with the Energia LCD sample proejcts and any insights to what was wrong.

I'm using Energia 1.6.10E18 and the Energia MSP432 EMT RED BOARD lib, the other MSP432 BOARD LIB doesn't work with the sample projects.

Tried LCD_Joystick, LCD_LifeGame and LCD_screen_test project.

Appreciate any insights/advice.

Regards

OHL


RTOS/MSP430F5528: Failure of RTOS to operate a timed repetitive task after the watchdog triggers a system reset

$
0
0

Part Number:MSP430F5528

Tool/software:TI-RTOS

Hi,

I have a task that occurs every 25mS in my RTOS, and this task is used to blink an LED about once per second.  My watch dog is being operated through the API in the driver library. If I service the watchdog regularly, in this task,  the entire system operates correctly.  However, I wanted to see how the system operates if the watchdog is allowed to time out.  This was accomplished by commenting out the API call that clears the watchdog timer.  When the system powers up, it operates for about 18 seconds before the timeout occurs, and the LED stops blinking. Then the system never recovers.  I have to cycle the power to restore operation.

Do you have any suggestions about how I can restore correct operation after the watchdog timeout ?

Thank you

Roy Nordstrom

MSP430G2101: Encryption

$
0
0

Part Number:MSP430G2101

Hello

My customer is using MSP430G2101/2201 in their products.

And now they are looking for the software's encryption algorithm.

could you help to provide the technical support on it ?

Thanks a lot

MSP430F67791: SPI driver

$
0
0

Part Number:MSP430F67791

Hi,

     How to interface external win bond flash in MSP430F67791.

How to access (read/write) external SPI Flash in MSP430F67791  any API provided ?  any sample application I can refer to ?

Thank you.

Ashokkumar

MSP432P401R: rslk

$
0
0

Part Number:MSP432P401R

Dear Sir,

I just bought the RSLK , and trying to debug the programs and understand it.

I am working on the program of 9.3 TI-RSLK Module :  Demonstrating running heartbeat by adjusting the duty cycle.

The program // Lab09_SysTickmain.c runs well. But unable to get the output in the launchpad

MSP430F5510: Firmware update on MSP430F5510 via USB BSL

$
0
0

Part Number:MSP430F5510

Hello,

My customers want to try updating of the firmware on MSP430F5510 via USB.
And, they want to try it and confirm the behavior of BSL by using EVM.
What EVM is the best to do the test of the firmware updating?
Is MSP-TS430RGC64USB suitable for the above purpose?

Best Regards,
Nomo

MSP430FR2310: About VOL MAX

$
0
0

Part Number:MSP430FR2310

Hello.

I have a question.

Could you tell me detail condition when VOL = 0.6V?

I think VOL max is too high.

Regards,

CCS/MSP430F5438A: accelerometer

$
0
0

Part Number:MSP430F5438A

Tool/software: Code Composer Studio

Hi i am a new user to the MSP430 and was looking for examples on how to use the accelerometer.


CCS/MSP430FR5989: Using MSP430 with alternate Crystal oscillator

$
0
0

Part Number:MSP430FR5989

Tool/software: Code Composer Studio

Hi, 

I am going to use tcxo and based on oscillator datasheet, ı have to connect clkout pin to XIN pin on CPU. What about XOUT pin. Should I ground it or leave open?

MSP430F5529: Ez-FET Emulator

$
0
0

Part Number:MSP430F5529

I have designed a circuit with MSP430F5529 and Ez-FET Emulator. I need to install bootloader for EZ-FET Emulator circuit. How can I do that? Can you please explain?

Thank you

MSP430FR2433: driver for LDC1000 - SPI interface

$
0
0

Part Number:MSP430FR2433

Hi,

i'm trying to interface the ldc1000 with my msp430fr2433 launchpad.

I found the one for the msp430g2xx3 provided in the guide, how can i  make them work for my launchpad?

CCS/MSP430FR5989: MSP430 resets continuously with fast clock depending on order of clock initialization

$
0
0

Part Number:MSP430FR5989

Tool/software: Code Composer Studio

I have the following code:

    // Setup to use internal DCO at 16 MHz
    CS_setDCOFreq(CS_DCORSEL_1, CS_DCOFSEL_4);
    //Set ACLK=DCO
    CS_initClockSignal(CS_ACLK,CS_VLOCLK_SELECT,CS_CLOCK_DIVIDER_1);
    //Set SMCLK = DCO with frequency divider of 1 for peripherals
    //(16 MHz is a good rate for UART baud rate generation)
    CS_initClockSignal(CS_SMCLK,CS_DCOCLK_SELECT,CS_CLOCK_DIVIDER_1);
    //Set MCLK = DCO with frequency divider of 1 for main CPU
    CS_initClockSignal(CS_MCLK,CS_DCOCLK_SELECT,CS_CLOCK_DIVIDER_1);

When I run these lines, the system resets continuously and I see the HFXTOFFG bit is set.  However if I make this change:

    // Setup to use internal DCO at 16 MHz
    CS_setDCOFreq(CS_DCORSEL_1, CS_DCOFSEL_4);
    //Set ACLK=DCO
    CS_initClockSignal(CS_ACLK,CS_VLOCLK_SELECT,CS_CLOCK_DIVIDER_1);
    //Set MCLK = DCO with frequency divider of 1 for main CPU
    CS_initClockSignal(CS_MCLK,CS_DCOCLK_SELECT,CS_CLOCK_DIVIDER_1);
    //Set SMCLK = DCO with frequency divider of 1 for peripherals
    //(16 MHz is a good rate for UART baud rate generation)
    CS_initClockSignal(CS_SMCLK,CS_DCOCLK_SELECT,CS_CLOCK_DIVIDER_1);

Everything works fine!  Also if I configure all clocks at the same time that is fine as well.  Also if I drop to 8 MHz that's fine as well.  It's only the combination of 16 MHz and initalizing SMCLK *before* MCLK that causes the processor to continuously reset.

CCS/MSP-EXP430FR5969: bigtime & MPU and bug (TIRTOS-1077)

$
0
0

Part Number:MSP-EXP430FR5969

Tool/software: Code Composer Studio

Hi,

I just found that the bigtime example is implemented for a few LaunchPads and I did some tests.

MSP-EXP430F5529LP - skipped, no MPU

MSP-EXP430FR5969 - fails in the same way like on 5994.
See bug (TIRTOS-1077).

MSP-EXP430FR6989 - MPU enabled, "Let compiler handle ..." option selected and ...

it WORKS!

Looks to me that the bigtime example error may be related to a linker default allocation and some linker file modifications rather than TI-RTOS bug.
I have very, very basic knowledge regarding linker files and without additional learning I have investigate that problem on a linker level, if any problem.

Hope this help you investigate the (TIRTOS-1077) bug.

Best regards,
Tomasz

Viewing all 22416 articles
Browse latest View live