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

MSP-EXP432P401R: Order from Mouser one MSP-EXP432P401R Board out of date alarm in Keil

$
0
0

Part Number: MSP-EXP432P401R

Hi,
I get one question during I test the first item:MSP-EXP432P401R ordered from Mouser .
which always show this material out of date and no longer support.please see attached picture .
I wonder why I still get this old part since I order at least for mostly updated new one for evaluation . 
please help to get a solution/replacement  if possible.Thus I may not worry order old version parts  issue happened again.
Regards
Lin
Lin (Please visit the site to view this file)

MSP430FR6043: Confirm if the 3-µA overall current consumption (Water flow measurement) is for 1 TOF only or more than one TOF (Time of flight)

$
0
0

Part Number: MSP430FR6043

Hi Team,

I just want to confirm the information in the Water flow measurement of MSP430FR6043 if the 3-µA overall current consumption with 1 set of results per second is for the consumption for 1 TOF only or more than 1 TOF?

Thanks!

Jonathan

MSP430G2553: CCS/MSP430G2553 : SX1278 LoRa integration

$
0
0

Part Number: MSP430G2553

Hello All,

I have been working with the MSP430G2553 this summer. And part of my project is to combine the msp430g2553 with the Semtech sx1278 chip for Long-Range wireless communication. I've found a GitHub repo that provides code for communication between the uc and the sx1276.

I believe that the code should work normally, but I was wondering if anyone has been able to successfully use this code on two msp430g2553s to communicate? 

Link of SX1276 Driver:

Please let me know if it was only a matter of uploading the code or if there was any extra problems you encountered. 

Thanks.

Best Regards,

April

MSP430FR6043: MSP430FR6043:

$
0
0

Part Number: MSP430FR6043

I have the evaluation board and the demo software running.

Where can I find information on how to deploy the board. I intend to get the wifi chip for communication. How is whatever program is developed with Code Composer installed on the board? How is the board powered, turned on and off and made to start running the installed program?

Thanks 

CCS/MSP430FR5994: How does Software PWM work?

$
0
0

Part Number: MSP430FR5994

Tool/software: Code Composer Studio

Hi everyone,

I am VERY new to embedded programming. Now I am working on a project which I need 12 PWM signals with different duty cycles. The MCU (MSP430FR5994) I'm using has 2 timers which can generate total 11 PWM signals with desired duty cycle but due to hardware limitation I will probably have to use software to make the last PWM signal? These signals will drive 12 loads and form a feedback loop through 12 ADCs. I have no idea how to implement software PWM. Any suggestions will be appreciated. 

MSP432P401R: GPIO Pin Naming in gpiointerrupt.c

$
0
0

Part Number: MSP432P401R

Hi,

In reference to my previous question, I've been taking a look at gpiointerrupt.c and feel that I'm quite close to achieving what I want to achieve. However, there's one thing that's stopping me.

It seems that all of the pins in the gpiointerrupt.c have been given names, i.e. Board_GPIO_LED0, Board_GPIO_LED1, Board_GPIO_BUTTON0. These seem to be mapped to specific device pins in "Board.h" and those are put in some data structure in MSP_EXP432P401R.h.

However, those don't seem to be named explicitly according to the device pin name in MSP_EXP432P401R.h, but rather are named like MSP_EXP432P401R_GPIO_LED1 or MSP_EXP432P401R_GPIO_LED_RED.

So, if I wanted to set up P6.1 to be a general purpose input interrupted on a falling edge, where would I go about initializing this pin? Has it already been given a name somewhere? Also, where can I find the GPIO_PinConfig structure in the project?

Regards,

Michael

CCS/MSP430FR5969: load MSP430 without using CCS

$
0
0

Part Number: MSP430FR5969

Tool/software: Code Composer Studio

What is the best way to load and execute code outside of CCS?

I have a makefile that builds my project but I haven't found a good way to flash my application to the MSP430.

CCS/MSP-EXP430FR5969: Request MSP-EXP430FR5969 Tutorial video ,Driver S/W, sample program for I2C, UART

$
0
0

Part Number: MSP-EXP430FR5969

Tool/software: Code Composer Studio

Dear Team,

  1. We are developing firmware for battery application using EXP430fr5969 launch pad, used energia and CCS for development, both energia and CCS is not working while interfacing I2C
  2. Tried with UART sample code it is not working on pins p2.6 and p2.5, it works in the debugger port alone.
  3. As the product is so urgent need details on configuration ports, the UART is worked in debug port only but not in the dedicated port, I2C gives signal output(DSO) but not worked with PCF8574AT

Kindly support on this details Tutorial video ,Driver S/W, sample program for I2C, UART

Thanks & Regards,

Venkata.


MSP430FR2532: Sensoring direction question,

$
0
0

Part Number: MSP430FR2532

Can I use the shielding effect to make the detection direction in a single direction ?
Like below picture

B/R James

MSP430F5510: USB BSL entry by using Vendor Device Request on MSP430F5510

$
0
0

Part Number: MSP430F5510

Hello,

Could you tell me how to add the callback into USB function, which is triggered by Vendor Device Request via USB command?

We want to enter MSP430F5510 into BSL mode by Vendor Device Request via USB.
However, for the following description, this doesn't work.

{USB_REQ_TYPE_OUTPUT | USB_REQ_TYPE_VENDOR | USB_REQ_TYPE_DEVICE,
0,
0,0,
0,0,
0,0,
0xcc,&usbVendorRequest}

This is added in tUsbRequestList in descriptors.c.
In usbVendorRequest callback, Program Counter is jumped to USB BSL; however, the usbVendorRequest call back is never executed.

Input packet is the following:
bmRequestType = 01000000b
bRequest = 0x00
wValue = 0x0000
wIndex = 0x0000
wLength = 0x0000
Data = 0x00

Do you have any documentation of the detail of tUsbRequestList?

Best Regards,
Nomo

CCS/MSP430F5529: Interfacing DS3231 IC USING MSP430F5529 WITH I2C

$
0
0

Part Number: MSP430F5529

Tool/software: Code Composer Studio

Hello Everyone,

I am doing a project which is called a site monitoring system based on msp430f5529. On that project i am using a DS3231 IC interface with I2C Protocol. i have write the code and its working , its give a accurate time on main power supply, but when its goes for battery i found my time is not accurate , i found 2 sec extra in 48 hours when its goes for battery.

so i request you please cooperate us what is problem behind that 

waiting for your positive response.

vikash chandra raman

COMCON INDUSTRIES

 

CCS/MSP430F5529: Receiving real time Signal From function Generator and displaying it in CC STUDIO

$
0
0

Part Number: MSP430F5529

Tool/software: Code Composer Studio

Hello,

I am Beginner With MSP430F5529 Board and I want to display the real time signal from function generator Using UART mode in CC Studio.

help me to proceed as I am not understanding how to use the registers mentioned in users guide.

Thanks in advance

MSP432E401Y: No UART data is sent, under what conditions will the MSP432E401Y TX interrupt occur?

$
0
0

Part Number: MSP432E401Y

No UART data is sent, under what conditions will the MSP432E401Y UART TX interrupt occur?
Must there be data transmission to generate a TX interrupt?

CCS/MSP430FR6989: ADC 12bit Oversample to 16bit

$
0
0

Part Number: MSP430FR6989

Tool/software: Code Composer Studio

I want to oversample the ADC 12bit reading to 16bit. Please let me know how.

Regards

Vijay

CCS/MSP430FR5992: Max Baud Rate on the 4 UART simultaneously.

$
0
0

Part Number: MSP430FR5992

Tool/software: Code Composer Studio

Hi 

I need understand what max Baud Rate can I work with the 4 UART ports simultaneously without loosing data . I have selected this device because low cost 1K/3$.

Best Regards

F Dias


CCS/MSP430FR5994: The UCRXIFG interrupt flag is not set in the process of program running for Hardware SPI (eUSCI_B SPI)

$
0
0

Part Number: MSP430FR5994

Tool/software: Code Composer Studio

I use MCU to communicate with Flash via SPI. During the running of the program, the SPI receiving flag bit is suddenly not set.

 The eUSCI_B module configuration is as follows:

SPI uses 3 wire master mod.

SPI clock frequency is 8MHZ.

UCCKPH is reset.

UCCKPL is set.

Using polling method to judge receiving flag(UCRXIFG).

When an exception occurs, The UCTXIFG interrupt flag and the UCRXIFG interrupt flag is not set. 

MSP432E401Y: Is it possible to use USB and both CAN interfaces simultaneously?

$
0
0

Part Number: MSP432E401Y

My customer needs to use USB and two CAN interfaces. Pin 96 (PB1) shares USB0VBUS and CAN1Tx.

Is it possible to configure pin 96 (PB1) for CAN1Tx and at the same time use USB. If yes, are the any limitations in USB usage?

Thanks

Josef

CCS/MSP-EXP432E401Y: BSL scripter in USB E4xx mode failed to load firmware with small hole between block

$
0
0

Part Number: MSP-EXP432E401Y

Tool/software: Code Composer Studio

Hi,

I might be missing a configuration but here is my problem...

I'm using the MSP-EXP432E401Y for my testing. I've used a BSL loader (simplelink 3.20) and configured to use USB update.

Using Bsl scripter, I've been able to load some txt file generated by armhex. But my last one didn't work...

Then, I dump the flash memory when I'm using the bsl scripter agains the when I'm using .out with jtag.

There is shift of data when there is a small hole of 16-bit.

....

FE E7 00 00 00 00 00 00 FE E7                 (a jump of 2 bytes, following .map, .const start @13ccc)
@13ccc
00 68 89 09 00 1C 4E 0E 40 4B 4C 00 80 8D 5B 00
00 12 7A 00 80 96 98 00 00 1B B7 00 00 24 F4 00

....

.out with jtag dump just before @14000

B101
0000
AA71
0000
9E6D
0000
741B
0000
FA4D
0000
0735
0001
F9E5

.txt with bsl scripter dump just before @14000

B101
0000
AA71
0000
0735
0001
F9E5

Look to me there is a problem in USB packet transfer with BSL scripter or BSL loader...

Is there a workaround for this?

Germain

CCS/MSP430F5529: Dynamic memory allocation vs global and stack usage

$
0
0

Part Number: MSP430F5529

Tool/software: Code Composer Studio

Hello,

a rather simple question, as I am struggling with the decision to wheather use global variables and the stack or to make use of dynamic memory allocation and the heap.

I did never have to use dynamic allocation, in my opinion it does not help in the case of the smaller MSP430 microcontrollers, since I know all the memory to use an the way to use it, what benefits would it bring to use dynamic allocation?

I was triggered to this question because I had some stack overflows, now in my case or most cases the stack will overlap into the heap region of the RAM, but since I am not using the heap my code simply does not care , well of course until the stack overflow is so dramatic that it will reach into more severe areays of the code model to cause havoc.

I did play around with some system:pre_init code and stumbled upon the fact that the heap is only initialized if it is used, which is of course pretty sensible.

But as soon as I use a malloc or in my case the printf for console printing ( which uses malloc internally ) the heap = .sysmem is initialized once built.

The stack is growing from the upper side of the RAM area and the heap is supposed to grow from the other side. Beneath the heap are all the global variables and the static variables, which brings me to another question:

what is the difference between a static variable and a global variable in the case of a small microcontroller. For me right now they both do look pretty much the same in the memory view, they are located in the same positions and probably act the same way all over the code, global is forever, but static does seem the same way, is that correct?

Most comments about the memory allocation and stuff like static and global do write about way bigger systems than the MSP430 microcontrollers, maybe in the bigger context there is more reaosning behind this, but in cases of small all known systems, maybe it the best solution to simply be aware of all memory needs and design a porject with lots of global variables, no?

This is a rater confusing post, so thanks for sticking with me and maybe for your point of views about this interesting field.

Best wishes.

Install TI XDS Emulators

Viewing all 22393 articles
Browse latest View live


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