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

RTOS/MSP-EXP432E401Y: unresponsive http after multiple reconnects to tcp port

$
0
0

Part Number:MSP-EXP432E401Y

Tool/software: TI-RTOS

Hi,

Apologies for the cryptic title, but this issue is hard to put a label on. The project I'm working on requires multiple TCP sockets (4 to be exact) and an HTTP server. After I connect the second TCP socket, the HTTP server becomes unresponsive. This happens when attempting multiple connects to the same socket (ie connect, disconnect, connect, disconnect on port 1000) and with single connections to multiple sockets (ie connect port 1000, connect port 1001). 

Note:

* I've tried increasing the stack size, even though I assume running out of stack would invoke the exception handler, which is not happening. 

* I'm using tcpecho_MSP_EXP432E401Y_tirtos_ccs as a base project. 

* I can still ping the IP assigned to the board after the HTTP server becomes unresponsive. 

Thanks

 


CCS/MSP430G2553: CCS v8 never progresses beyond "Downloading all features..........."

$
0
0

Part Number:MSP430G2553

Tool/software: Code Composer Studio

Greetings:

I am attempting to re-install CCS v8 in order to start working with a MSP430G2553 Launchpad kit that I have. I had a previous installation of CCS for the MSP432 and CC1350 launchpads, but after experiencing the first "hang", I removed those installations entirely ( manually, by deleting their directories as the uninstall seemed to hang as well).

Everything seems to progress just fine until "Downloading all features...". This continues to just add '.' characters every so often, but Task Manager (Windows 10) doesn't indicate any network traffic . This just continues on forever it seems. I have begun pairing back the list of feature to install to my bare minimum set (CC1350,MSP430, and CC1350) but still no luck.

Does anyone have any ideas as to what the issue could be?

Thanks,

Michael

MSP430FR5989: ESI recalibration issue: calibration not happening fast enough

$
0
0

Part Number:MSP430FR5989

Hi Everyone,

I am developing an AMR project using ESI and I am using MSP430FR5989. I have adapted the code from FlowESI GUI's code generator tool. I am facing some issues regarding the ESI interface.
The issues are mentioned below:
1) DAC value setting always waits for the rotation of the disc, is there a workaround to bypass this requirement?
2) Initial ESI calibration is taking long time and is not stable, is there a better mechanism available?
3) The number of pulses per rotation of the meter wheel is found to be different every time we test. i.e. sometimes its 4 interrupts per turn,
sometimes its 2 and on rare occasions its 6

i am looking for a functionality where I can calibrate the AMR device one time and then i can attach AMR device to other meters for testing.

I have attached ESI config and calibration files for reference. I have tried adding DAC and noise values from our experiments but
the sensing does not seem to work.

Attachment details:
- esiCalibration.c - contains the calibration logic for ESI interface
- esiConfig.c - contains the PSM and TSM and configuration logic for ESI
- esiCalibration contains 3 functions which have values needed for DAC, noise and recalibration respectively,
They are initialSetDAC( ), initialNoiseLevel( ), initialReCalibration( ).

Any help is appreciated.

- Lovelesh

(Please visit the site to view this file)

MSP432E401Y: RS232C to Ethernet converter using enet_web_io example

$
0
0

Part Number:MSP432E401Y

Hi, 

As per the suggestion given in the original thread, i am trying to use web based io control program for realizing serial to Ethernet transmission.

The driver files available in the example (www.ti.com/.../spma072.pdf) are copied into the web based io program.

After building the program i am getting the errors as shown in the below figure:

The project settings file is attached. please find the attached word file and suggest me some solution.

(Please visit the site to view this file)

Thank you

Regards

Kalyan.

MSP430FR2355: Grace tool support for MSP430FR2355

MSP432E401Y: 32 bit output instruction for Communication with ADS8691(ADC)

$
0
0

Part Number:MSP432E401Y

The MSP432 families output instructions in 16 bits, however the ADS8691 expects 32 bit instructions. in addition, the default output registers are 16bits wide. Is there spoem expample code sonmewhere showing atleast one way to set up the MSP432 so that it can output a 32 bit instruction?

CCS/MSP-EXP432P401R: SRAM_CODE and SRAM_DATA

$
0
0

Part Number:MSP-EXP432P401R

Tool/software: Code Composer Studio

Hello,

small issue, misleading information regarding SRAM_CODE and SRAM_DATA on a picture below.
Is it intentional?

CCS/MSP430FR6047: Ultrasound Water Meter

$
0
0

Part Number:MSP430FR6047

Tool/software: Code Composer Studio

Hi,

Can i know what is the current acoustic length that the program runs in the latest water demo application.

Best Regards,

Divya


CCS/MSP430FR6047: USS

$
0
0

Part Number:MSP430FR6047

Tool/software: Code Composer Studio

Hi,

Can i use a custom made water pipe having acoustic length of 6.2cm for running the demo application on MSP430FR6047 evaluation mode.

Best Regards,

Divya

CCS/MSP430FR6989: ESI PSM Problem: rotation detection not consistent

$
0
0

Part Number:MSP430FR6989

Tool/software: Code Composer Studio

HI All,

I am trying to read wheel rotation using ESI. i have adapted my code from FlowESI GUI generated code. I am facing a peculiar issue while sensing the wheel rotations. sometime my code counts 2 interrupts per rotation and sometimes its 4 interrupts per rotations. 

I have attached the ESI config and Calibration files generated and modified by me. 

- Lovelesh

(Please visit the site to view this file)

MSP430F5528: packaging

$
0
0

Part Number:MSP430F5528

Hi,

I was looking for a specific MCU with a certain number of pins and ADC resolution and I found this one which is suitable for my research but I have some questions,

1- from the data sheet I found the packaging type is 80BGA MICROSTAR JUNIOR:, can I order the IC with this packaging type ?

2- is MSP430F5529 has the same packaging type and dimension as MSP430F5528?

3-regarding the burner will your website provide it ?

Thank you

MSP430FR2433: PCB is programmable but user code not starting

$
0
0

Part Number:MSP430FR2433

Hi,

using the MSP-EXP430FR2433 Dev kit and Energia I can upload and run sketches successfully (i.e. the standard Blink example).

Now I made an own PCB with MSP430FR2433 based on this schematic (see attached):

Connecting the new PCB with the jumper row of the Launchpad programmer, I can now upload the same blink example successfully to the new PCB.

However the user code does not seem to start since I cannot measure the switching voltage at the GPIO nor read back serial debugging messages.

Any help/ideas would be great.

Thanks,

Robert

CCS/MSP432P401R: msp432p401r

$
0
0

Part Number:MSP432P401R

Tool/software: Code Composer Studio

I am planning to use I2c, SPI and UART for building my project. Note that all of the three peripherals are needed for my design. My question is since msp432p401r has only two modules for serial communication(USC1a and USC1b), is there any way I can interface all of the three peripherals at the same time?

Linux/MSP430F5529: NUFR RTOS Ported to MSP430

$
0
0

Part Number:MSP430F5529

Tool/software: Linux

The open-source RTOS called "NUFR" has been ported to the MSP430/MSP430X CPUs. NUFR is a full featured RTOS--not just a simple scheduler. Features:

  • MSP430 and MSP430X 16- and 20-bit models
  • Make system included; all free/open-source tools
  • Prioritized & Preemptive multitasking; Round-Robin multitasking; context switching from interrupt handlers
  • Low-power extensions: tickless OS; special logic for low power mode
  • RNET IPv4/IPv6/UDP stack runs on NUFR
  • Message-based, event-driven
  • Example project for Launchpad board
  • Small RAM footprint: OS itself consumes 600 bytes; example project (2 1/2 tasks) at 1800 bytes
  • Offline development environment included; unit test strategy
  • Uses latest GCC (Somnium, was Red Hat) compiler
  • Includes a few manuals and how-to text files; document how to install GCC compiler, etc.
  • Source code follows best-practice coding standards. Well-documented. Doxygen comments embedded

Take it for a test drive!

ragingdist.org

https://bitbucket.org/burnwood/raging-release/

MSP-FET430UIF: MSP-FET430UIF driver issue

$
0
0

Part Number:MSP-FET430UIF

Hi team,

My customer try programing MSP430F6720 on production line, but they try install driver on WIN10 and driver always show TUSB3410 device.

even they try install driver manually but still fail.

the installation environment show as below,

OD: WIN10

Programmer : MSP-FET430UIF

Software : Lite FET-Pro430 Elprotronic  V3.43

Please guid me how to resolve this issue,

Thanks & Regards

Eddie


MSP430F5239: I2C custom BSL for MSP430F5239

$
0
0

Part Number:MSP430F5239

Hi,

Introduction:

I am using MSP430F5239 and my system requires an I2C BSL for upgrading the firmware in the field. We figured out that the default BSL in this device is timer based UART and we would need to flash a custom BSL before shipping it to our customers.

Progress so far:

To create a custom BSL, we planned to use,  "MSP430BSL_1_01_00_01" provided as a reference.( CCS_v7_MSP430F522x_I2C project to be more specific.)

We figured out that "Lite FET-Pro430" was the best software to load BSL. Before starting to change the BSL project for our MSP430 device, we decided to give a shot with the default build provided with CCS_v7_MSP430F522x_I2C. To confirm if BSL was loaded correctly and is running, we sent I2C some write commands with slave address 0x48, and we saw MSP430 respond. So, we are pretty sure that we have got the BSL loaded correctly. 

Is there anything better suggestions you have to provide in the above steps?

Coming to the Main problem:

Our next step was to load our final application binary using BSL. we came across command lime mode of BSL scripter for PC based loading.

BSL-Scripter.exe -n 5xx -i [COM26,I2C,100000] -b -w RTOSDemo.txt -v -z [SET_PC,0x4400]

We were getting an error stating, "The communication protocol chosen is not available for the chosen Family!". So we decided to look for alternate methods and came across "SimpleLink Host for MSP430 UART BSL". (Embedded programming solutions for BSL). We did not see any such host implemtations for I2C BSL.

Please let us know how can we proceed further.

Thanks in advance

CCS/MSP432P401R: Transmit a string as an acknowledgement after recieving data from UART

$
0
0

Part Number:MSP432P401R

Tool/software: Code Composer Studio

hello,

Im trying to send an acknowledgement after recieving the data but am not able to send a string after reception. ive taken my base code from the uart echo example and tried to add a string by removing the EUSCI_A0->RXBUF;in the below code. But only see '@' a lot in the terminal . Can you please help me out with this as im very much new to this .

// Echo the received character back
EUSCI_A0->TXBUF = EUSCI_A0->RXBUF;
}
}

RTOS/TI-RTOS-MCU: FPU Support on TI-RTOS

$
0
0

Part Number:TI-RTOS-MCU

Tool/software: TI-RTOS

Dear Sir/Ma'am,

I am using MSP432P4111 launchpad. I want to do some DSP operation. I was wondering if i have to turn on FPU support, somewhere in Compiler options or in commands for TI-RTOS. 

Is it already on? 

How i can make sure, I am using FPU support in my calculations?

Regards

Anurag Tamboli

MSP432P401R: Can't connect my MSP432 micro controller.

$
0
0

Part Number:MSP432P401R

Hi

I have made custom board using MSP432P410R. I am trying to program it through both CCS  Version: 8.1.0.00011 and Energia. But I am unable to program it. The error which comes is :

Error connecting to the target:
(Error -260 @ 0x0)
An attempt to connect to the XDS110 failed.
The cause may be one or more of: no XDS110 is connected, invalid
firmware update, invalid XDS110 serial number, or faulty USB
cable. The firmware and serial number may be updated using the
xdsdfu utility found in the .../ccs_base/common/uscif/xds110
directory of your installation. View the ReadMe.txt file there
for instructions.
(Emulation package 8.0.803.0)

I am using the XDS debugger present on the MSP432 launchpad through the jumpers. I have attached the picture of the connections I am making from launchpad to my board.

I have also read couple of threads related to this problem which suggests to factory reset the MCU, but unfortunately I am not even able to do that and same error comes.

In fact I am able to see a strange behavior on my board , it gets programmed once in 50 times when I try, But then same error comes. I have tried at least on 10 different boards. But bot able to program or debug.

I have Also attached the Schematics. Please Suggest something.

Thanks
Abhishek

  (Please visit the site to view this file)

MSP430F248: XT2 range selection of register BCSCTL3 not match with User Manual and driver library, also affect power consumption .

$
0
0

Part Number:MSP430F248

Hello Sir,

We used TI MCU MSP430F248 and found some issue of this chip initializaiton.

1)  The board we designed used 3.6864MHz oscillator, so of course we set register BCSCTL3 : Bits 7-6(XT2 range select)  : 10    3-to 16-MHz crystal or resonator

2)  MSP430F248 head file in IAR , its comments seems has some conflict with User Manual ( But I think this definition in User Manual should be right )

3)  Anyway,  my question is : when we selected "XT2S_2" configuration after power on and run the whole system , its power consumption = 2.6mA

                                               when we not set this Bits7-6 (default setting after power on should be 00 ), its power consumption = 1.6mA

                                               when we selected "01" (1- to 3-MHz crystal or resonator ), its power consumption about 1.6mA .

But the actual external crystal = 3.6864MHz , so would you mind help us to analyze why cause this abnormal issue?

Hope your response ASAP.

Thanks.

Best Regards,

Vincent

Viewing all 22136 articles
Browse latest View live


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