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

MSP430FR2355: Purpose of ISOTXD and ISORXD pins

$
0
0

Part Number: MSP430FR2355

The datasheet says the MSP430FR2355/2353/2155/2153 family have an "ISO" function, with the pins ISOTXD and ISORXD, but it doesn't give much more than that.  There doesn't seem to be a description in the User's Guide or Datasheet of what these actually do.

The only thing it says (page 22 of DS) is ISOTXD is (UCA1TXD & TB3.2B), and ISORXD goes to UCA1RXD and TB3.CCI2B.

My questions is, what are these pins intended for?  How does this linking to TB3 help?  Some kind of isolated serial or ISO serial standard?

Any idea what these are used for, and if there's an example somewhere?  Thanks!


MSP430F249: ADC12 issue.

$
0
0

Part Number: MSP430F249

My program makes extensive use of the ADC12 in this part. The result read from the converter is sometimes 0x1FFF.

1) Is it safe to assume the input has gone slightly negative because of random noise?

2) Is there a document that more throughly discusses the possible outputs from the converter?

3) If I set a signed 16-bit variable to the ADC value and set the variable to 0 when its value is < 0 will the results be consistent?

4) Are there other conditions that can cause the ADC to generate non positive or non-monotonic codes, assuming proper precautions where taken with regards to ground, supply, VREF, etc.?

Thanks, Harvey

CCS/MSP430F5529: Clock Configuration with AD9760

$
0
0

Part Number: MSP430F5529

Tool/software: Code Composer Studio

Hello everyone,

I am using MSP430f5529 at system clock 25 Mhz, I am fetching 10 bit data to generate sine wave using AD9760 IC.

I have 16 points value of sine in 10 bit resolution.

My question is my fetching data to the AD9760 parallely, i get only  frequency 128 Khz sine wave, i want to generate atleast 1Mhz sine wave.

the frequency generated is directly proportional to the speed at which data is fetching.

So what should i do fo the same to generate atleast1 Mhz sine wave 

Any Suggestion in code modification, or using DMA, or change controller should also be done if suggested.

Efficient segment update of MSP430 LCD Driver?

$
0
0

Tool/software: Code Composer Studio

Hi!

I have a MSP430FR6047 that has a built in LCD Driver connected with a 7 segment display. I wonder what coding method I could use for efficient (low power) updating of the segments in the LCD?

For example in a while loop, if I want to display a symbol that is already displayed, it shouldn't display it.

Does the LCD library(driverlib) use the charge pump to display a segment even if it is already updated, or does it prevent that from happening? 

Thanks in advance!

Thibault 

MSP432E401Y: ARM DSP library functions in SDK are slow

$
0
0

Part Number: MSP432E401Y

I just wanted to put a finer point on the Related thread, which mentions that the ARM DSP library in the SDK (arm_cortexM4lf_math.a) is built with
-O0 (and -g).

What this means is that it is quite slow. My measurements indicate an expansion factor of 4-5x for the functions I was interested in.

As a workaround, I copied the sources for those functions into my project (-O4). The CPU load in my application dropped from 94% to 25%.

Unfortunately, I didn't find this thread until after I had diagnosed/fixed the problem, so I thought I should mention this point (louder!) so no
one else gets caught by it.

I only get one vote, but: I don't see the point in having a DSP library built with -O0. DSP work is mostly about shuffling large amounts of data,
and it's hard to imagine an end user debugging these functions line-by-line. (-g is also not very useful since the source path points somewhere in
a TI build machine.)

MSP432P401R: Using VDD reference voltage -- ADC_convertRawToMicroVolts returning maximum of 2,500,000

$
0
0

Part Number: MSP432P401R

Hi,

I'm using SysConfig to configure my ADC, and I've selected the reference voltage to be VDD. Is this VDD 2.5 V? If I wanted to make the ADC reference 3.3 V, how would I go about configuring that?

Regards,

Michael

MSP-FET: Drives SWD and RST lines high before MSP432 is powered

$
0
0

Part Number: MSP-FET

Hello, 

This post relates to my previous question, where I had an issue with the MSP-FET driving the SWD and RST lines high before the micro-controller was receiving power. 

This resulted in all sorts of issues and prevented the system from powering up correctly. 

Currently no answer was received from TI regarding whether a firmware update for the MSP-FET can solve this issue.

My solution was to make a PCB, in place of the MSP-FET-432ADPTR, which will isolate the SWD signals until the MSP is powered. The schematics of the PCB are shown below, in case someone might find this useful. 

It was tested and seems to work well. 

CCS/MSP430FR5994: How to write pre-trained model data into FRAM

$
0
0

Part Number: MSP430FR5994

Tool/software: Code Composer Studio

Hi,

I am doing light-weight Machine Learning with the MSP430FR5994 launchpad. I trained the model off-line and I need to upload the trained model data to the launchpad. I am using CCS to program the board. The trained model data should be saved in a float_point array which resides in FRAM. I used PERSISTENT to declare the variable. 

#pragma LOCATION(model, 0x14800);
#pragma PERSISTENT(model);
float model[width][length] = {0};    

How can I write pre-trained model data into this variable while I am programming the board with CCS?

Thanks,

Yubo


EVM430-FR6047: Hilbert Optimised library and computation modes

$
0
0

Part Number: EVM430-FR6047

Hi

I noticed that the optimised library (Hilbert) only works with the following defines in USS_userConfig.h without throwing error 123:

#define USS_ALG_DTOF_COMPUTATION_MODE                 USS_ALG_DTOF_COMPUTATION_OPTION_ESTIMATE 
#define USS_ALG_VOLUME_RATE_COMPUTATION_MODE          (USS_ALG_VOLUME_RATE_COMPUTATION_OPTION_WATER) 

Is it ok to have the DTOF and flow rate calculation in two different modes (estimate/water)? 

Library version: USSLib_02_20_00_16

Thanks in advance,
Thibault 

CCS/MSP430G2553: Looking for TI Website with Sample Code

$
0
0

Part Number: MSP430G2553

Tool/software: Code Composer Studio

I found a link on this forum containing sample code for all the MSP boards.

I've gone through my entire history and I can't seem to locate the page again.

May anyone point me in the right direction?

Thank you so much.

MSP-EXP432P401R: tixds510cortexM.dvr not found

$
0
0

Part Number: MSP-EXP432P401R

Hello,

I am using KEIL as IDE with MSP-EXP432P401R. I did all the required updates, I have installed the XDS110 driver and updated the launchpad XDS firmware. I have started with the BLINKY example, the built without error. but when I click debug, I get the following error message:

"tixds510cortexM.dvr" is missing. I checked the file path mentioned in the error message and I found the file available. I am not sure why I get this error message while the file is available and KEIL knows the path to the file.

Thanks for your time and support

 

MSP432E401Y: PINMUX v4.0.1535 generated pinout.c with errors "struct has no field GPIO_O_CR" etc

$
0
0

Part Number: MSP432E401Y

Hello,

I used Pin Mux to generate a pinout.c file. Here is some of it:

/ This file was automatically generated on 9/16/2019 at 11:54:20 AM
// by TI PinMux version 4.0.1535 
//
//*****************************************************************************

#include <ti/devices/msp432e4/driverlib/driverlib.h>

#include <stdint.h>
#include <stdbool.h>

#include "pinout.h"

...


	//
	// Unlock the Port Pin and Set the Commit Bit
	//
	GPIOC->GPIO_O_LOCK = GPIO_LOCK_KEY;
	GPIOC->GPIO_O_CR   |= GPIO_PIN_0;
	GPIOC->GPIO_O_LOCK = 0x0;
	

The fields GPIO_O_LOCK etc I think should be just LOCK etc.

This makes the project compile and seem to run fine, however  I seem to have locked myself out of JTAG! ... next problem to solve ...

MSP430FR6989: DMA problem of FR6989

$
0
0

Part Number: MSP430FR6989

Hi TI guys,

I'm using AES and DMA of FR6989 to decrypt a chiper arry locate at ram , and transfer the result directly to FRAM. And find if the destination address is above 0xFFFF, it's always failed.

However , it works well if the destination address below 0x10000.  Need your help , Thanks in advance.

Here I attachec the code.(IAR for MSP430 V6.50)

(Please visit the site to view this file)

MSP432P401R: LDO mode usage

$
0
0

Part Number: MSP432P401R

Hi expert,

My customer uses MSP432P401RIRGCR, QFN-64 as their host MCU. And they use the LDO mode.

About the LDO mode in the documentation, it is recommended that the VSW pin be left floating.

But the customer used to be DCDC mode and chang to LDO mode later. they switched that inductor to 0R resistor, which is equivalent to connecting VSW and VCORE pins. Could there will be potential problems for this design? By the way, customer also wants to know the state of the DCDC's VSW pin output in LDO mode.

BR

Emma

Compiler/MSP430FR4133: About MSP430FR4133IPM low power consumpt

$
0
0

Part Number: MSP430FR4133

Tool/software: TI C/C++ Compiler

About MSP430FR4133IPM low power consumption problem, we use this chip requirements under 10 ua, but I made the minimum system circuit boards, test the entire chip power consumption is 19.3-24 ua, test condition of 3 v, download program is low power consumption of the routine. Please tell me how the 1.2uA power consumption of this chip datasheet is implemented ,My email address is  at153961@163.com 。

THANK YOU.


MSP432E401Y: GPIO configuration locks out JTAG

$
0
0

Part Number: MSP432E401Y

Hello,

I am trying to use the msp432e4 jtag "unlock" feature on a MSP-EXP432E401Y launchpad. (page 188 of reference manual slau723a.pdf)

I think I have the latest version of LM Flash Programmer (build1613) which has 'Debug Port Unlock' feature in its "Other Utilities" page.

However, I think this program is too old and doesn't recognize the XDS110 interface on the launchpad.

I've looked at UniFlash, but I can't find the Debug port unlock feature. Also, CCS and UniFlash are having a fight over who has the latest firmware for the XDS110. Both tell me they are fully up to date. I even looked into the command line interface but still didn't find debug port unlock.

Somewhere around I think I can dig up a LM ICDI and splice that onto the MSP432 which is my current best shot, but I've still got the question: Is there is a 'current' way to do this?

Check MSP430P325AIPM is pre-programmed or not?

$
0
0

Hi Techies,

I have a running product which uses "MSP430P325AIPM" One time programmable (OTP) controller. This controller is obsolete but somehow I am able to find a stockist in China who has these MCUs.

My question :

How to check whether this MCU (MSP430P325AIPM) is pre-programmed or not? If they are pre-programmed then it is useless for us since these are OTP MCUs.

If there is a way to check then is there a way to check all MCUs before mounting on PCBs ?

Requesting a quick reply.

Thanks!!

Harry

CCS/MSP432P401R: MSP432P401R SPI BSL

$
0
0

Part Number: MSP432P401R

Tool/software: Code Composer Studio

Hi team,

I am using MSP‐EXP432P401R LaunchPad to develop SPI  BSL application. The code to enter the BSL is as follows:

if (((input )& (BIT4)) == 0)
{
chkbsl = false;

MAP_Interrupt_disableMaster();
NVIC->ICER[0] = 0xFFFF;
NVIC->ICPR[0] = 0xFFFF;
NVIC->ICER[1] = 0xFFFF;
NVIC->ICPR[1] = 0xFFFF;


P1->OUT |= BIT0;
BSL_INVOKE(BSL_SPI_INTERFACE); // Call the BSL with given BSL parameters
} //BSL_UART_INTERFACE//BSL_SPI_INTERFACE

BSL Version Command : 0x80 0x01 0x00 0x19 0xE8 0x62

SPI communication:

P1.4 STE Active Low

P1.5 CLK  CKPH = 0 CKPL = 1

P1.6 MOSI  MSB

P1.7 MISO Driven by Dummy 0xFF

Channel 1 : STE

Channel 2 : CLK

Channle 3 : MOSI

Channel 4 : MISO

BSL Version Command

MISO didn't respond when I passed Dummy 0xFF
Please help.
BR,
SUASN

MSP432E401Y: usleep (1) is not 1 microsecond

$
0
0

Part Number: MSP432E401Y

in TI-RTOS usleep(1) does not 1 microsecond?

i think it sleeps 1 millisecond

How can I sleep 1 microsecond?

CCS/MSP432P401R: SPI communication problem for BSL

$
0
0

Part Number: MSP432P401R

Tool/software: Code Composer Studio

Hi,

I am using MSP‑EXP432P401R LaunchPad to develop application for BSL,the code to enter BSL as below

if (((input )& (BIT4)) == 0)
{
chkbsl = false;

MAP_Interrupt_disableMaster();
NVIC->ICER[0] = 0xFFFF;
NVIC->ICPR[0] = 0xFFFF;
NVIC->ICER[1] = 0xFFFF;
NVIC->ICPR[1] = 0xFFFF;


P1->OUT |= BIT0;
BSL_INVOKE(BSL_SPI_INTERFACE); // Call the BSL with given BSL parameters
} //BSL_UART_INTERFACE//BSL_SPI_INTERFACE

It ok that I test the code for UART. I sent BSL Version command and the response is fine. But when I entered SPI to test BSL version command  , I had the problem that I can not get response.

BSL Version Command : 0x80 0x01 0x00 0x19 0xE8 0x62

SPI Protocol

P1.4 STE Active Low

P1.5 CLK  CKPH = 0 CKPL = 1

P1.6 MOSI  MSB

P1.7 MISO Driven by Dummy 0xFF

Channel 1 : STE

Channel 2 : CLK

Channle 3 : MOSI

Channel 4 : MISO

BSL Version Command

When I transmitted Dummy 0xFF,  MISO did not response.

Zoom in MISO to find no response.

I don't know if anything is wrong,

Viewing all 22222 articles
Browse latest View live


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