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

CCS/MSP430FR6989: Windows 10 install of Code Composer Studio Version: 7.1.0.00016 won't run MSP-FET recovery

$
0
0

Part Number:MSP430FR6989

Tool/software: Code Composer Studio

Hi there,

I have just installed Code Composer Studio  Version: 7.1.0.00016 on my Windows 10 system and tried to deploy code onto the MSP430FR6989 Launchpad.

Initially I get a message:

Error initializing emulator:
A firmware update is required for the MSP430 Debug Interface (MSP-FET430UIF / MSP-FET / eZ-FET). Click the "Update" button to update the firmware and launch your debug session (this may require several update steps).

DO NOT UNPLUG THE INTERFACE DURING THE UPDATE.

Once I choose to update I get an error and the Launchpad is bricked:

MSP430: Error initializing emulator: One of the connected MSP-FETs / eZ-FETs debuggers needs recovery. Select 'Recover' to start the recovery process.  Note: Only one MSP-FET / eZ-FET debugger can be connected to your system during recovery.
MSP430: Error: MSP-FET / eZ-FET recovery failed

I have been looking round and it seems that this is an error of the Windows 10 USB drivers. When I go to my windows 8 laptop that runs CCS 6, I can complete the recovery procedure and the Launchpad is programmable again. However I would like to make it work on Windows 10.

Drivers: Currently, connecting the Launchpad causes a "USB composite device" to appear.

Also, currently, there is an always present "Texas Instrument USB 3.0 xHCI Host Controller" driver, but I don't know whether this is part of the CCS 7 installation or part of ADC pro, which is also installed on the system.

I have found this link: e2e.ti.com/.../456641MSP-FET / eZ-FET recovery failed

I habe also found some other leads, but to no avail.

I have run DBInst64.exe.

I have checked: I have the USB.inf file in my C:\Windows\INF folder.

I have downloaded and run ti_msp430driver_setup_1.0.1.0.exe

I cannot find any txt error logfile in C:\ti\ccsv7\ccs_base\DebugServer\drivers

Any ideas?


MSP430F67471: temperature sensor calibration

$
0
0

Part Number:MSP430F67471

Hi champs,

cust is using the temperature sensor embedded in the MSP430F67471IPZR.

After a single-point calibration, as recommended in Note (4) of the datasheet, p. 91, we still see big discrepancies at other temperatures (slope problem). In our case, the single-point calibration was performed at +20 °C. Device brought to the temperature -40 °C, reads back only -30 °C. Theoretically one could perform a double-point calibration as described in chapter 1.13.5.3 of the User’s Guide (SLAU208O), however it is unpractical and extremely time consuming:

 

 

 

 

The User’s Guide presents a typical sensor transfer function as follows:

 

 

 

According to this function, the slope is TCsensor = 2.52 mV per °C.

Question:

how reproducible is this slope for different MSPs?

I find no specification of the TCsensor neither in the Datasheet nor in the User’s Guide (SLAU208O).

Can you provide me with the specification of the temperature sensor, please?

Compiler/MSP430FR2433: Programming Fram in production

$
0
0

Part Number:MSP430FR2433

Tool/software: TI C/C++ Compiler

Hello,

We made a device that must have a unique address, so during the production we need a  tool that allow us to do this.

I tried uniflash, but didnt find any option for writing to a specific fram address.

What is the best solution for this?

Thank you !!

MSP432P401R: Placing Const Data and Measured Data in Flash Memory

$
0
0

Part Number:MSP432P401R

I am using the MSP432P401R in an application that uses flash memory to store a lookup table of hardware configuration values as well as an array of ADC samples that is updated periodically. The code uses the function MAP_FlashCtl_performMassErase() to clear the ADC data storage array. After erasing the stored ADC samples, the uint16_t type lookup table entries are all 65535 (i.e. all 1s). How to I protect the lookup table from erasure when it is time to erase the data storage?

MSP430F5359: part popularity support/sourcing problems and BSL replacement issues

$
0
0

Part Number:MSP430F5359

I am looking into using MSP430F5659IPZ controller to facilitate booth-load with UART based BSL. Currently my design-prototype is using USB version of the chip MSP430F5659. It is a problem for me as i cannot use usb for bootload so BSL should be replaced with UART oriented BSL. However, from the peek into the market, i get the impression that this part is not so popular with manufacturers. I got cold feet and i am rethinking about using MSP430F5659IPZ chip even though i will have to replace BSL. This leads me to my two questions:

1. Is MSP430F5359IPZ really less popular part, and is that a problem when it comes to support, life cycle and sourcing?

2. How do I exactly replace the USB BSL with UART BSL on MSP430F5659IPZ? I was thinking to use JTAG programmer. Are there any problems with this i am not aware?

Thanks in advance!

Compiler/MSP430G2553: MSP430(Piano+Tone ) Application

$
0
0

Part Number:MSP430G2553

Tool/software: TI C/C++ Compiler

First of all hello guys, I have a project to ringing tone and adding piano sound with push buttons at the same time. I made it each unique part but while searching to how to entegrate each other on google. I find 2 ways.

First one is PWM , second one is ISR . I pick ISR when i realize the interrupt for a button , it worked good but when I added else-if section in my interrupt function , i faced compiler problem then i thought to P1IFG should be in '{' the signs but when i used it, sometimes my interrupt did not go back so my main music code does not work properly with piano buttons . Any idea about this where is my fault and also how can i add 2 parts of my project each other. Thanks in advance..

In brief, This code like that when i added the comment section at the end i faced syntax and when i used P1IFG in the '{' section sometimes my interrupt did not go back...

  

MSP430F5659: Flash Device Bootloader for UART on 5659 (which comes preprogrammed with USB BSL)

$
0
0

Part Number:MSP430F5659

The msp430f5659 comes preprogrammed  with a Boostrap Loader (BSL) for it's USB port.  


The documentation says " a UART BSL is also available for devices with USB module that can be programmed by the user into the BSL memory by replacing the preprogrammed, factory supplied"

does anyone have any experience with this?  Does TI have code that will do this?  

We'd like to use the 5659, in fact we have it already in a design, but need to use a UART Bootloader, and we'd rather not change IC's(  I see the 5359 has the UART BSL)

Any one with experience on this? 

Thanks for your help,

Dubs


 

MSP430AFE253: MSP430AFE253 32KHz crystal source

$
0
0

Part Number:MSP430AFE253

Hello!

Looking at the MSP430AFE253 datasheet it seems that there is no possible to use the LFXT1 source with 32KHz Crystal.

Is is true?

Which is the more power saving way to have a 1 sec timing to get data from the SD24?

I tried the VLO, but it is very unstable: far away from a good time clock.

Could you please suggest me something?

Thanks in advance

Dario Rastelli


CCS/MSP430FR6989: How to print or show voltage on LCD of the launchpad?

$
0
0

Part Number:MSP430FR6989

Tool/software: Code Composer Studio

Hello,

I have Piezoelectric sensor. Whatever voltage I get from it I want to print/show it to LCD of the launchpad. I want to know that, Is there any kind of code/ statement/ equation to do that?

FYI, piezoelectric sensors are analog sensors. So, I had to use ADC to turn on LED. Also, I am using Code Composer Studio and I know how to print/ show words on LCD.

Thanks a lot in advance.

Regards,

Shardul Modi

MSP430FR5969: Why application wont run when programmed via JTAG when the BSL loaded is UART based

$
0
0

Part Number:MSP430FR5969

Hello ,

I have been trying to learn about boot loaders on the msp430fr5969 eval board. The boot loader I used is a UART based provided by TI.

I wanted to know in case I download the BSL firmware on the MCU , and thereafter I download any application firmware via the JTAG and not through UART, the application wont run. I want to know the reason why this happens.

Regards,

Maisie

MSP432P401R: DCO operating frequency exceeds 48MHz

$
0
0

Part Number:MSP432P401R

Datasheet states max CPU frequency of 48MHz. 

Table 5-11 of datasheet states DCO center frequency range 5 at 46.162MHz to 49.836MHz, and DCO frequency range 5 of 31.36 to 52MHz.

How do I assure customer that DCO frequency range 5 is supported, when 49.836MHz & 52MHz exceeds the spec of 48MHz? Is there any official document to clarify this? 

MSP432P401R: Example Code on how to Hardware Invoke BSL

$
0
0

Part Number:MSP432P401R

Hi,

according to this document  i can invoke BSL by pull UP/Down a GPIO Bin after reseting the MCU.

What i didt not found is an example on how to override the FlashMailbox. Here is the document of "4.8.6.2 Boot Override Through Flash Mailbox".

Is the BSL Part already by default flashed in MSP432 or do i have to flash it first?

Regrads,

Michael

 

MSP430FR5994: How to use the LEA

$
0
0

Part Number:MSP430FR5994

I'm developing a product to capture the arc fault . I need the reference design TIDA-00929  demo source code,  but I can't find it.   How can I get the demo source code.

MSP430AFE253: MSP430AFE253 SD24 ADC error

$
0
0

Part Number:MSP430AFE253

My requirements: collecting AC 50Hz signals, wave 64 points per week, sampling rate of Fs=50*32=1600; MCLK=SCLK=12MHz
Timer clock frequency =MCLK; sampling timer timing length =12000000/1600=7500;
In the timer interrupt program, start the ADC conversion, and reverse the P1.3 pin status to monitor the timer length, to get the frequency output =800Hz, indicating that the timer is set correctly

void TIMER_A_INIT(void)
{  
  u16 t;
  //CCR0 = 7500; 
  t=12000000/(50*32);
  CCR0 = t;
  TACTL = TASSEL_2 + TACLR+ MC_1;
  CCTL0 = CCIE;
}
#pragma vector=TIMERA0_VECTOR
__interrupt void Timer_A (void)
      SD24CCTL0 |= SD24SC;
      P1OUT ^= BIT3;  ;
}
void sd24_a_init(void)
{
  u16 i;
  SD24CTL = SD24SSEL_1+SD24DIV_2+SD24XDIV_1+SD24REFON;    // 1.2V ref, SMCLK    Fadc=12000000/(4*3)=1000000
  SD24INCTL0 = SD24INCH_0+SD24GAIN_4+SD24INTDLY_3; // Interrupt on 1rd sample
  SD24CCTL0  = SD24SNGL+SD24DF+SD24OSR_256+SD24IE; //单次转换模式,双极性模式补码输出,过采样256,,中断使能
  
  for (i = 0; i < 0x4000; i++);             // Delay for 1.2V ref startup
  index=0;
#pragma vector=SD24_VECTOR
__interrupt void SD24AISR(void)
{   
   u8 i;
   if(SD24IV==SD24IV_SD24MEM0)
   {
      ad_buf[index] = SD24MEM0;      
      if (++index == samplebuftime) 
      {         
          for(i=0;i<samplebuftime;i++) ad[i]=ad_buf[i]; 
          index=0; 
      }  
      P1OUT ^= BIT4;
   }   
}

As set above, get the P1.4 pin output frequency =800 is correct. The sampling rate was 1600
But I read the AD sampling is wrong
Help me analyze where the problem is, thank you very much

msp430fr5969: spi_data_outlet_issue

$
0
0

Part Number:msp430fr5969

Hi Sir,

I am developing a code based on SPI module. Now I am working on example codes related to spi(4 pin mode). My doubt is regarding, I am sending data(0x01) to slave and Echoed back to master with the same data. But in Logical Analyzer I have noticed the following data. When i Debugged, I got 0x01 in master and 0x80 in slave. Is there a problem being in my code or whether there is some other issue.(Note: A2 pin is not connected). If it is worked then i would like to interface the same uC with BLE.


MSP430FR2633: Application bootloader

$
0
0

Part Number:MSP430FR2633

Hi,

We are trying to build a custom bootloader for the MSP430FR2633 using MSPBoot example provided by TI as suggested by the application note SLAU610C. When we compiled the code with the changes for FR2633 it throws an error FCTL1, FCTL2, FCTL3, etc.. register related to Flash Memory are undefined. The datasheet/user guide of the FR2633 does not define the register nor there are any register defined for Flash Memory access in the .h file.

Kindly share any code that could help us out.

With Regards,

Muruga

MSP430FR6877: Critical Increased Current Consumption

$
0
0

Part Number:MSP430FR6877

Hi,

This is very urgent & important issue.

Customer built ultra low power system with MSP430.

They wanted to use MSP430FR6877. so TI provided MSP430FR6989 as a sample.

when they built a system with FR6989, in LPM3, the current consumption was 10uA.

However, When they used FR6877 on exact same board, the current consumption increased to 80uA.

It is right before MP, but this issue is too critical to start MP.

Is there any particular reason for this increased current consumption?

FR6989 is Rev E and FR6877 is Rev C. if they apply FR6877 Rev C, will this problem gone?

All other functions works fine but increased current consumption is the only problem.

Best Regards,

Ted

MSP432P401R: Will there be a 512 kB Flash variant available within the near future?

$
0
0

Part Number:MSP432P401R

To be future proof in our software development, we need more flash memory.

Ate the moment we use the mentioned 256 kB variant but have the need to migrate to some 512 kB type.

Thank you in advance

Johannes

CCS/MSP430FR5969: spi_data_outlet_issue

$
0
0

Part Number:MSP430FR5969

Tool/software: Code Composer Studio

Hi Sir,

I am developing a code based on SPI module. Now I am working on example codes related to spi(4 pin mode). My doubt is regarding, I am sending data(0x01) to slave and Echoed back to master with the same data. But in Logical Analyzer I have noticed the following data. When i Debugged, I got 0x01 in master and 0x80 in slave. Is there a problem being in my code or whether there is some other issue.(Note: A2 pin is not connected). If it is worked then i would like to interface the same uC with BLE.

RTOS/MSP432P401R: Set a entire GPIO port at once (TI-RTOS driver)

$
0
0

Part Number:MSP432P401R

Tool/software:TI-RTOS

Hello,

I'm trying to connect a RA8835 LCD controller to the MSP432. I'm using the SimpleLink MSP432 SDK based on TI-RTOS. For the needed 8-bit bi-directional data bus i want to use the entire port 7. The GPIO driver (GPIO_write()) allows me only to set one pin at a time.

I also tried to use the Generic PIN & GPIO driver (PIN.h). As soon as I try to call a function of the Generic PIN & GPIO driver an error occurs:

 undefined first referenced
  symbol       in file     
 --------- ----------------
 PIN_open  ./display.obj   

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "VRC_main_MCU.out" not built

>> Compilation failure
makefile:167: recipe for target 'VRC_main_MCU.out' failed
gmake[1]: *** [VRC_main_MCU.out] Error 1
makefile:160: recipe for target 'all' failed
gmake: *** [all] Error 2

**** Build Finished ****

What am I doing wrong? Or is there a other way to set the entire port at once?

Thank you for your help & kind regards

Kevin

Viewing all 21969 articles
Browse latest View live


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