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

CCS/MSP432P401R: MSP432P401R UART

$
0
0

Part Number:MSP432P401R

Tool/software: Code Composer Studio

Good day,

I am making a project which uses UART. I want to use EUSCI_A2 on pins 3.2 and 3.3 for UART as I cannot access the pins on top for EUSCI_A0 because I am using a boosterpack that covers those pins. The problem is that I am trying to send data through UART to another MSP432, but it does not receive anything even if the TXBUF shows that data is being sent. I tried echoing the data back to the receiver buffer and when I do that the RXBUF is receiving the correct data. I have tried everything, but the receiver does not get any data. If you could help me I will be greatly thankful.

Thank you,

Luis Valerio


CCS/MSP432P401R: Excellent question..

$
0
0

Part Number:MSP432P401R

Tool/software: Code Composer Studio

Hi there,

Warning: This is a rant...

I am still having an issue with code composer studio (7.4) grabbing the handle for the USB channel from the MSP432 Launchpad and not releasing it. Not even for the terminal window inside CCS. Other people complained about it here. All marked  "resolved" and the issue continues... THIS ONLY HAPPENS WITH TI STUFF. All other different manufactures don't have this sort of issue. You should think long and hard about what that I just said!!! ONLY YOU!!!

Why CCS does not find breakpoints when the software runs in RAM??? At this point in the evolution of CCS, a problem like that is idiotic and disgraceful and tarnish your company's name.

Please, tell me, officially, how to use the following statement, since all documentation about that is convoluted in the MSP432 documentation (ARM copy cat, really) of the even worse ARM documentation. What engineer would define a negative number for an interrupt numbering? Seems that even your engineers cannot come up with an example of the correct use, pointing out to some obscure documentation from ARM, Only showing the syntax of the command. I really believe this is not clear for the people who writes those examples, so they point out the convoluted arm documentation.

Command in question:

NVIC_SetPriority(yy, xx);

What is the yy number for:

 ADC14 INT?

TA2_N IRQ?

And for the most funny of them all: SYSTICK INT????? It belongs to a class that "may or may not" be controllable at all. That's what all doc say. (Who writes BS like that?). What is it??? Yes or no?

How can one find out the number of an interrupt since all documentation says "check IPR registers", you are kidding right? Sort of a joke.

Why the source code "startup_msp432p401r.c" does not include the interrupt numbering to use with NVIC_SetPriority(yy, xx)?? Short answer: you really don't know!

Besides the obvious highest priority interrupts (reset, bus fault, etc), the manual states some others' priority  cannot be changed, which ones??

PS: TI and ARM are in desperate need of  a  "birth control"  top management, just saying...

Inventors invent, that's what they do to keep the money flowing. Do we really need all that? (rhetorical question,  don't answer it).

Thanks.

Regis.

MSP430G2553: Pulse Sensor ,I can not read the BPM(beat per minute ) value on the Lcd Display

$
0
0

Part Number:MSP430G2553

I want to take a value of 1ms from the pulse sensor and calculate the BPM according to this value. When I press the BPM value on the screen, I can not read anything. My code is down. Where am I making mistakes. Could you guide me. Thanks.

#include <msp430g2553.h>
#include "lcdLib.h"
#include <stdint.h>
unsigned int ADC_Result = 0x0000;
void adc_init();
void i2s(int i,char *s);
char s[100];
unsigned int BPM=0;      
unsigned int IBI = 600;  
volatile int Signal;
unsigned int Noise =0;
unsigned long sampleCounter=0;
unsigned long lastBeatTime=0;
unsigned int P =512;                
unsigned int T = 512;               
unsigned int thresh = 512;       
unsigned int amp = 100;     
unsigned int Pulse= 0;
unsigned int secondBeat= 0;
unsigned int firstBeat= 1;
unsigned int rate[10];
void timer_init();
//void lcd (void);
volatile int QS=0;
volatile int runningTotal = 0;
void BPM_Hesapla(void);
int main(void) {
	
        WDTCTL  = WDTPW + WDTHOLD;
	DCOCTL  =  CALDCO_1MHZ;
	BCSCTL1 = CALBC1_1MHZ;

 
  P1DIR = 0x40;
  P1SEL = 0x01;
  
  lcdInit();
  adc_init();
  timer_init();
  __bis_SR_register(GIE);
	while (1) {
     
}
}

void adc_init(){ 
     ADC10CTL0 &= ~ENC;
     ADC10CTL0 = SREF_0 + ADC10SHT_3 + ADC10ON + MSC ;
     ADC10CTL1 = INCH_0 + SHS_0 + ADC10SSEL_0 + ADC10DIV_0 + CONSEQ_2;                 
     ADC10AE0   = BIT0;     
}
void timer_init(){
  TACTL = TASSEL_2 + ID_0 + MC_1 + TAIE ;
  TACCR0  = 1000;
  TACCTL0 = CCIE;
}

#pragma vector=TIMER0_A0_VECTOR
__interrupt void timer_interrupt(void){
  
 
  ADC10CTL0 |= ENC + ADC10SC;  // Start Conversion again
  Signal = ADC10MEM;
  sampleCounter += 2;               
  Noise = sampleCounter - lastBeatTime;
   if(Signal < thresh && Noise > (IBI/5)*3){
      if (Signal < T){
          T = Signal;
          }    
   }
    if(Signal > thresh && Signal > P){
          P = Signal;
     }
    
    if (Noise > 250){

if ( (Signal > thresh) && (Pulse == 0) && (Noise > ((IBI/5)*3) )){  
    Pulse = 1;                                 
    P1OUT |= 0x40;
    IBI = sampleCounter - lastBeatTime;
    lastBeatTime = sampleCounter; 
    if(secondBeat){              
      secondBeat = 0;     
      for(int i=0; i<=9; i++){   
        rate[i] = IBI;                      
      }
    }                       
    if(firstBeat){                     
        firstBeat = 0; 
        secondBeat = 1;   
        return;                          
     }
    runningTotal = 0;
    for(int i=0; i<=8; i++){
      rate[i] = rate[i+1]; 
      runningTotal += rate[i];      
    }
    rate[9] = IBI;                   
    runningTotal += rate[9];             
    runningTotal /= 10;             
    BPM = 60000/runningTotal;
    QS = 1;   
    if((BPM>10) && (BPM<140)){
    lcdSetText("BPM: ", 0, 0); 
    i2s(BPM,s);
    lcdSetText(s, 0, 1); 
    
   
    }
    }             

}          
     if (Signal < thresh && Pulse == 1){          
    P1OUT &= ~0x40;
    Pulse = 0;                      
    amp = P - T;                        
    thresh = amp/2 + T;            
    P = thresh;                         
    T = thresh;
  }
    if (Noise > 2500){    
    thresh = 512; 
    P = 512; 
    T = 512; 
    firstBeat = 1;                 
    secondBeat = 0;
    lastBeatTime = sampleCounter;
  }
          
}

void i2s(int i,char *s) // Convert Integer to String
{char sign;short len;char *p;
sign='+';len=0;p=s;
if(i<0){sign='-';i=-i;}
do{*s=(i%10)+'0';s++;len++;i/=10;}while(i!=0);
if(sign=='-'){*s='-';s++;len++;}
for(i=0;i<len/2;i++){p[len]=p[i];p[i]=p[len-1-i];p[len-1-i]=p[len];}
p[len]=0;
}


MSP430F5529: Using MSP430 as a USB keyboard.

$
0
0

Part Number:MSP430F5529

I am new to basically everything in the MSP430 ecosystem.  I am wondering if anyone can point me towards some tutorials for using a MSP430F5529 as a USB keyboard.  I understand the electrical side, I mainly need help with the software.

MSP430F47187: EMI/EMC susceptibility, Flash Corruption Issues

$
0
0

Part Number:MSP430F47187

Hello Britta,

I would also like to add in addition to storing data into SPI memory every 5 minutes we also need to turn ON/OFF outputs for coils, for actuator motors,for turning ON/OFF contactors for fault indications for which around 10 outputs from different ports are used which is another major reason for EMI/EMC consideration. Again these were never used in our earlier applications

With warm regards,

Dhiren 

MSP430FR2532: Thermal pad grounded??

CCS/MSP432P401R: Speech to Text

$
0
0

Part Number:MSP432P401R

Tool/software: Code Composer Studio

I am working with Voice Detection Software using the MSP432P401R along with BOOSTXL-AUDIO and KENTEC Touch display. Is there any way to be able to output the phrase or word I am saying as Text from the KENTEC display. 

CC430F5137: TI Wireless AdapTag Kit Maximum Node Number

$
0
0

Part Number:CC430F5137

Hi.

We want to work on TI Wireless AdapTag Kit. Here is the link of the kit;

http://www.pervasivedisplays.com/kits/adapTag

I asked the display manufacturer that how many slaves can be connected to a single host and they answered me that its related to the protocol which is TI's own proprietary. So can you please let me know what is the maximum number of nodes that can take place in the system?

Thanks..


MSP-EXP430FR2433: To get the eUSCI_A1 to work

$
0
0

Part Number:MSP-EXP430FR2433

I recently purchased an MSP-EXP430FR2433. I was using Energia to program it. I'm trying to make the second UART eUSCI_A1 work. Following is the modification I've made to the pins_energia.h file.

#if defined(__MSP430_HAS_EUSCI_A0__) || defined(__MSP430_HAS_EUSCI_A1__)
static const uint8_t DEBUG_UARTRXD = 3; /* Receive Data (RXD) at P1.5 */
static const uint8_t DEBUG_UARTTXD = 4; /* Transmit Data (TXD) at P1.4 */
static const uint8_t AUX_UARTRXD = 14; /* Receive Data (RXD) at P2.5 */
static const uint8_t AUX_UARTTXD = 15; /* Transmit Data (TXD) at P2.6 */

#define DEBUG_UARTRXD_SET_MODE (PORT_SELECTION0 | INPUT)
#define DEBUG_UARTTXD_SET_MODE (PORT_SELECTION0 | OUTPUT)

#define AUX_UARTRXD_SET_MODE (PORT_SELECTION0 | INPUT)
#define AUX_UARTTXD_SET_MODE (PORT_SELECTION0 | OUTPUT)

#define DEBUG_UART_MODULE_OFFSET 0x00
#define AUX_UART_MODULE_OFFSET 0x20
#define SERIAL1_AVAILABLE 1
#endif

#if defined(__MSP430_HAS_USCI_A1__)
#define USE_USCI_A1
#endif

But the second UART doesnt seem to work. Any help will be greatly appreciated, thanks in advance. 

MSP430FR59941: MSP430FR59941 queries

$
0
0

Part Number:MSP430FR59941

Hello, please help us on the below queries w.r.t. MSP430FR59941 :

1)      BSL I2C signals BSLSCL & BSLSDA are multiplexed with TB0.4 & TB0.3 on 48-Pin RGZ package.

  1. If TB0OUTH signal is asserted, what happens to these BSL I2C pins ? Are they also switched to High-Impedance state along with other TB0 output signals ?
  2. If these pins are configured as slave I2C pins later on, what happens to these pins if TB0OUTH is asserted ? Are they also switched to High-Impedance state along with other TB0 output signals  or they still continue to operate as slave I2C pins ?

MSP430F5529: 1.8V VDD not working

$
0
0

Part Number:MSP430F5529

Hello, I'm connecting a sensor to the MSP430F5529, and the sensor is powered by a 1.8V (I verified this sensor can handle 1.8V).  There are two pull-up resistors for the I2C lines, and these Rpull-up are also connected to this 1.8V.  I'm trying to write and read to this sensor.  However, I am not getting any communication on the I2C bus.  

When I power the sensor with 3.3V, I am able to read/write to the sensor via I2C.

Does MSP430F5529 allow a 1.8V I2C communication? Thanks.

CC430F5137: 779-787MHz

$
0
0

Part Number:CC430F5137

Dear TI Team,

In the datasheet, from page 71 to 83, TI have provided detailed RF data for frequencies, 315, 433, 868 and 915MHz.

Currently, we are designing for 779 to 787MHz, which the chip can support; but will TI be able to provide more detailed RF data info for this band as indicated in this part of the datasheet?

Hope to hear from you soon. Thanks!

Best Regards,

Gerald

MSP-EXP430FR2433: Second UART eUSCI_A1 not working

$
0
0

Part Number:MSP-EXP430FR2433

I recently purchased an MSP-EXP430FR2433. I was trying to program it through CCS Cloud.  I'm trying to make the second UART eUSCI_A1 work. Following is the code.

/* --COPYRIGHT--,BSD
* Copyright (c) 2017, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* * Neither the name of Texas Instruments Incorporated nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* --/COPYRIGHT--*/
//******************************************************************************
//
// main.c
//
// Out of box demo for the MSP-EXP430FR2433
//
// This demo uses the MSP432FR2433's internal Temperature Sensor and demonstrates
// how to setup a periodic temperature data logger, by utilizing a ring-buffer
// inside the MSP430F2433 device's FRAM memory. In addition, the demo also implements
// a real time temperature sensor
//
//
// E. Chen
// Texas Instruments Inc.
// October 2017
//******************************************************************************

#include "FRAMLogMode.h"
#include "LiveTempMode.h"

// ADC data
adc_data_t adc_data;

// NVS ring handle
nvs_ring_handle nvsHandle;

// FRAM storage for ADC samples using NVS ring storage
#if defined(__TI_COMPILER_VERSION__)
#pragma PERSISTENT(nvsStorage)
#elif defined(__IAR_SYSTEMS_ICC__)
__persistent
#endif
uint8_t nvsStorage[NVS_RING_STORAGE_SIZE(sizeof(adc_data_t), NVS_RING_SIZE)] = {0};

bool buttonS1Pressed;
bool buttonS2Pressed;
bool rtcWakeup;

// Application mode, selected between FRAM_LOG_MODE and LIVE_TEMP_MODE
char mode;

bool rxStringReady = false;
bool rxThreshold = false;
char rxString[MAX_STRBUF_SIZE];

#ifdef RECEIVE_JSON
#include <jsmn.h>

jsmn_parser p;
jsmntok_t t[5]; /* We expect no more than 5 tokens */
#endif

// UART Defines
#define UART_TXD_PORT GPIO_PORT_P1
#define UART_TXD_PIN GPIO_PIN4
#define UART_RXD_PORT GPIO_PORT_P1
#define UART_RXD_PIN GPIO_PIN5
#define UART_SELECT_FUNCTION GPIO_PRIMARY_MODULE_FUNCTION

// Function Definitions
void initGpio(void);
void initCs(void);
void initRtc(void);
void initAdc(void);
void initEusci(void);
void UART_receiveString(char);

void initEusciA1(void);
void UART_receiveString1(char);
void transmitString1(char *str);

int main(void)
{
/* Halt the watchdog timer */
WDT_A_hold(WDT_A_BASE);

/* Initialize GPIO and RTC */
initGpio();
initCs();

initEusci();
initEusciA1();

/* Enable global interrupts. */
__enable_interrupt();

while(1)
{
transmitString("uart0\n\r");

transmitString1("uart1\n\r");

// Add delay to ensure system clock stabilizes after waking up from LPM3.5
__delay_cycles(100000);
}
}

void initGpio(void)
{
// P2.6 as output
P2DIR |= BIT6;


// P2.6 as primary module function (UCA1TXD)
P2SEL0 |= BIT6;
}

void initCs(void)
{
//Set DCO FLL reference = REFO
CS_initClockSignal(
CS_FLLREF,
CS_REFOCLK_SELECT,
CS_CLOCK_DIVIDER_1
);

//Set ACLK = REFO
CS_initClockSignal(
CS_ACLK,
CS_REFOCLK_SELECT,
CS_CLOCK_DIVIDER_1
);

//Create struct variable to store proper software trim values
CS_initFLLParam param = {0};

//Set Ratio/Desired MCLK Frequency, initialize DCO, save trim values
CS_initFLLCalculateTrim(
16000,
488,
&param
);

//Clear all OSC fault flag
CS_clearAllOscFlagsWithTimeout(1000);

//For demonstration purpose, change DCO clock freq to 16MHz
CS_initFLLSettle(
16000,
488
);
}
// Initialize EUSCI
void initEusci(void)
{
// Configure UCA1TXD and UCA1RXD
P1SEL0 |= BIT4 | BIT5;
P1SEL1 &= ~(BIT4 | BIT5);

// Configure UART
// software-dl.ti.com/.../index.html
EUSCI_A_UART_initParam param = {0};
param.selectClockSource = EUSCI_A_UART_CLOCKSOURCE_SMCLK;
param.clockPrescalar = 8;
param.firstModReg = 10;
param.secondModReg = 247;
param.parity = EUSCI_A_UART_NO_PARITY;
param.msborLsbFirst = EUSCI_A_UART_LSB_FIRST;
param.numberofStopBits = EUSCI_A_UART_ONE_STOP_BIT;
param.uartMode = EUSCI_A_UART_MODE;
param.overSampling = EUSCI_A_UART_OVERSAMPLING_BAUDRATE_GENERATION;

if(STATUS_FAIL == EUSCI_A_UART_init(EUSCI_A0_BASE, &param))
{
return;
}

EUSCI_A_UART_enable(EUSCI_A0_BASE);

EUSCI_A_UART_clearInterrupt(EUSCI_A0_BASE,
EUSCI_A_UART_RECEIVE_INTERRUPT);

// Enable USCI_A0 RX interrupt
EUSCI_A_UART_enableInterrupt(EUSCI_A0_BASE,
EUSCI_A_UART_RECEIVE_INTERRUPT); // Enable interrupt
}


// EUSCI interrupt service routine
#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,USCI_UART_UCTXCPTIFG))
{
case USCI_NONE: break;
case USCI_UART_UCRXIFG:
// Read buffer
//UART_receiveString(UCA0RXBUF);
break;
case USCI_UART_UCTXIFG: break;
case USCI_UART_UCSTTIFG: break;
case USCI_UART_UCTXCPTIFG: break;
default: break;
}
}

// Transmits string buffer through EUSCI UART
void transmitString(char *str)
{
int i = 0;
for(i = 0; i < strlen(str); i++)
{
if (str[i] != 0)
{
// Transmit Character
while (EUSCI_A_UART_queryStatusFlags(EUSCI_A0_BASE, EUSCI_A_UART_BUSY));
EUSCI_A_UART_transmitData(EUSCI_A0_BASE, str[i]);
}
}
}

// Initialize EUSCI_A1
void initEusciA1(void)
{




// Disable eUSCI_A
EUSCI_A_UART_disable(EUSCI_A1_BASE); // Set UCSWRST bit

UCA1CTLW0 |= UCSSEL__SMCLK; // Chose SMCLK as clock source

// Initialization of eUSCI_A
EUSCI_A_UART_initParam param = {0};
param.selectClockSource = EUSCI_A_UART_CLOCKSOURCE_SMCLK;
param.clockPrescalar = 8;
param.firstModReg = 10;
param.secondModReg = 247;
param.parity = EUSCI_A_UART_NO_PARITY;
param.msborLsbFirst = EUSCI_A_UART_LSB_FIRST;
param.numberofStopBits = EUSCI_A_UART_ONE_STOP_BIT;
param.uartMode = EUSCI_A_UART_MODE;
param.overSampling = EUSCI_A_UART_OVERSAMPLING_BAUDRATE_GENERATION;

if(STATUS_FAIL == EUSCI_A_UART_init(EUSCI_A1_BASE, &param))
{
return;
}

// Enable eUSCI_A
EUSCI_A_UART_enable(EUSCI_A1_BASE); // Clear UCSWRST bit

EUSCI_A_UART_clearInterrupt(EUSCI_A1_BASE,
EUSCI_A_UART_RECEIVE_INTERRUPT);

// Enable USCI_A1 RX interrupt
EUSCI_A_UART_enableInterrupt(EUSCI_A1_BASE,
EUSCI_A_UART_RECEIVE_INTERRUPT); // Enable interrupt


}


// EUSCI interrupt service routine
#if defined(__TI_COMPILER_VERSION__) || defined(__IAR_SYSTEMS_ICC__)
#pragma vector=USCI_A1_VECTOR
__interrupt void USCI_A1_ISR(void)
#elif defined(__GNUC__)
void __attribute__ ((interrupt(USCI_A1_VECTOR))) USCI_A1_ISR (void)
#else
#error Compiler not supported!
#endif
{
switch(__even_in_range(UCA1IV,USCI_UART_UCTXCPTIFG))
{
case USCI_NONE: break;
case USCI_UART_UCRXIFG:
// Read buffer
//UART_receiveString1(UCA1RXBUF);
break;
case USCI_UART_UCTXIFG: break;
case USCI_UART_UCSTTIFG: break;
case USCI_UART_UCTXCPTIFG: break;
default: break;
}
}

// Transmits string buffer through EUSCI UART
void transmitString1(char *str)
{
int i = 0;
for(i = 0; i < strlen(str); i++)
{
if (str[i] != 0)
{
// Transmit Character
while (EUSCI_A_UART_queryStatusFlags(EUSCI_A1_BASE, EUSCI_A_UART_BUSY));
EUSCI_A_UART_transmitData(EUSCI_A1_BASE, str[i]);
}
}
}

But the second UART doesnt seem to work. Am I missing something here? Any help will be greatly appreciated, thanks in advance.

MSP430FR5994: MSP430 connection schematic with MiniSense 100 Vibration Sensor

$
0
0

Part Number:MSP430FR5994

Hi,

I have a MiniSense 100 Vibration Sensor with me, which I am trying to interface with my MSP430 Launchpad to track the vibrations of refrigerator compressor. However, I am not sure if connecting it directly to my Launchpad, can damage the MSP Board.

When I tried to research on my own, I came across different suggestions, such as this one v/s this one v/s this one and also sparkfun's guide.

MSP430 has 3.3v operating voltage. In the third one, the guy has directly fed the pin to ADC pin of Arduino(5v). Will doing the same to MSP430 damage the launchpad?

Can someone please guide me in selecting a schematic. I want to measure the analog voltage out of the sensor and then convert it to g. 

Thanks

MSP430G2553: Interfacing LDC1000 and MSP430

$
0
0

Part Number:MSP430G2553

Hello,

Im trying to interface the LDC1000 with the MSP430G2553 launchpad and im following the guide avaible on TI site which provides various example codes but im having an issue in running one of them because it shows an error in the first line of  the code below

.text : {} > FLASH /* CODE */
.cinit : {} > FLASH /* INITIALIZATION TABLES */
.const : {} > FLASH /* CONSTANT DATA */
.cio : {} > RAM /* C I/O BUFFER */

It says 'program will not fit into avaiable' ive already searched the forum and theres someone having a similar issue but none of the purposed solution works. My tought is that maybe the file could have been written with an older version of CCS and i need to update the ink_msp430g2553.cmd? in case someone knows how to do it or has a different solution?


CCS/TIDM-1004: MSP432 SDK and MSP432 SDK Bluetooth plugin

$
0
0

Part Number:TIDM-1004

Tool/software: Code Composer Studio

Hello.

I can’t import “blelock_dev_MSP_EXP432P401R_tirtos_ccs” to CCS with following message.

 

       Error: Product 'com.ti.SIMPLELINK_MSP432_SDK_BLUETOOTH_PLUGIN' v0.0 is not currently installed and no compatible version is available. Please install this product or a compatible version.

 

My environment is:

CCS v7.4.0

simplelink_msp432p4_sdk_2_10_00_14

simplelink_sdk_ble_plugin_1_40_00_42

 

Coud you tell me how to import this?

I confirmed other related thread, but I can’t understand how to do.

 

Regards,

MSP430FR5949: MSP430FR5949 hang issue

$
0
0

Part Number:MSP430FR5949

Dear All,

I am facing one issue in which i have a device made up of MSP430FR5949. Now when i give power fluctuations to input side of my power supply, output of which is 24V ==> going to another power supply converting it to 3.3V ==> given to LDO ==>3.3V.

Now i have observed while fluctuations LDO out put which is given to controller vaaries from 1.8V to 3.4V on DSO.

Due to which my controller gets restared. While in restart some times it gets hang up in a loop which don't let it come out of it. (I have used watchdog reset timer also, but with no effect.)

Even watchdog could not get it out of this loop. Once i recycle the input power supply controller works fine with desired results.

But we can replicate the same multiple times.

Can somebody please help in the same? Can we use some kind of software work around for the same?

Regards.

Compiler/MSP430FR6989: FR6989

MSP430F5659: "the 18-bit relocated address 0x27c7e is too large to encode in the 16-bit field"

$
0
0

Part Number:MSP430F5659

Greetings TI Community,

I'm trying to port the CC2564MODA SPPLEDemo_lite sample bluetooth stack from the MSP430F438A (default) to my current chip MSP430F5659.  I've gotten the code to compile, however, I have many many warnings about 18-bit relocation addresses being too large to encode in 16-bit.  Here is a sample warning:

"C:/TI/Connectivity/CC256X BT/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/SPPLEDemo_Lite/SPPLEDemo.c", line 2836: warning #17003-D:
relocation from function "GAP_Event_Callback" to symbol "$C$SL103"
overflowed; the 18-bit relocated address 0x27c7e is too large to encode in
the 16-bit field (type = 'R_MSP_REL16' (161), file = "./SPPLEDemo.obj",
offset = 0x00000062, section = ".text:GAP_Event_Callback")

I understand why I get this error: the chip has 512kB of flash memory, so some memory addresses would need more than 16 bits to represent, for example the address 0x27c7e.  I would assume that a 16-bit MCU with more than 16 bits of addressable memory has abstractions to solve the issue, so are these warning harmless then?  Or is there a greater issue?  Perhaps this stack, compiled with TI v4.1.9, isn't compatible with the F5659?  

MSP430F2274: MSP430F2274IRHA

$
0
0

Part Number:MSP430F2274

Hi Team,

I use today MSP430F2274IRHA but need more FLASH & RAM without change my layout, I found the MSP430G2855/2955IRHA40 that have same package and from what I saw same pinout.

Attached the pinout of my application, please check the compatibility of the pinout, registers, addresses, interrupts ect…

Thanks,

Shlomi

(Please visit the site to view this file)

Viewing all 22172 articles
Browse latest View live


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