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

MSP430F2121: IS MSP430F2121 DIRECT REMPLACEMENT OF MSP430F1121

$
0
0

Part Number:MSP430F2121

Hi

I use for a long time the MSP430F1121 but alas this one is obsolete.
my programming platform is a simple BSLDEMO UART V24 interface.
Can I consider directly implementing a MSP430F2121 without software or hardware modification?
Thank you for your help.

MSP430G2553: MSP430 - Are there RESET and TEST pin settings necessary for LPM4? Noting high sleep current

$
0
0

Part Number:MSP430G2553

Hey all,

Thanks for reading.  I've got a system using an MSP430G2553 chip and we are seeing high sleep currents.   I am noticing that the TEST and RESET pins are not exactly VSS or VDD.

TEST is not connected to anything and RESET is externally pulled up using a 47K resistor (see below).     We are seeing a high sleep current during LPM4.     RESET is measuring about 14mV -below- VDD     and     TEST is measuring about 4mV above GND.  I don't know if they are to blame for the high sleep current.   

The datasheets don't mention anything about specific settings for RESET and TEST  before going to LPM4.   Do any of you have experience with this odd issue?

We are using TEST and RESET to program the MSP through Spy-By-Wire.

Thanks!

MSP430FR6047: Can we Achieve This Type of Custom Flow Meter Requirement Using MSP430FR6047

$
0
0

Part Number:MSP430FR6047

Rightnow, we Have Requirement to Develop Custom Required Flow Meter.
So From Few Days we Collecting Information on That and We Found TI's MSP430FR6047 Suits our Needs.
But we Have Some Doubts So Request You To Clarify.

Application Scenario:
we want to Check Water Volume Pass Through 20-25MM Pipe During 10-45 Seconds.
we Going to use 1MHZ Ultrasonic Transducer for This.

Customer Needs to Insert Some Water into Their Barrel of Chemical.

In Customer Factory There are Around 1000-2000 Barrels, There is One Barrel Manager Per 100 Barrel and He is Responsible For Filling of That 100 Barrel.
Now Barrels are Filling with Chemical Automatically in Plant, But After That One Water Tank Van With Exact Pump at Fuel Station Fill Some Amount of Water(1 To 6 Liter) In Presence of That Barrel Manager.
Customer Want to Give Every Barrel Manager Portable Device Through which Water Passed and Manager Can See Filled Volume on LCD of Portable Device and we Can Log That into Server.

Now when First This Requirement Comes to Us, We Tell Customer Why Don't You See Measurement of Water Van Pump (Because Van has Exact Pump at Fuel Station)?
And He Answered Me if We Want This Kind of Simple Thing Then we Don't Approach You, Our Need is Final and We Need Portable Device Forget All Other Things.

Customer's Single Cycle of Flow Process Takes 15-45 Seconds.
When Cycle Started Initial 2-5 Second Pipe is not Fully Filled With Water, After That Water Flow Full Pipe For 10-40 Second and At-last 2-5 Second Pipe is Not Fully Filled.
Approximate Volume Pass Through Pipe During 15-45 Seconds is 1 Liter To 6 liter.
After One Filling is Complete Customer Takes That Meter to Another Barrel in Factory and Do Filling Process as Above Again.

After Seeing Demo of TI with Audiowell Pipe we want to Go on That Way.

But I have Below Doubts Request You to Clarify on This:
- Can we Achieve Our Goal Using MSP430FR6047?
- What Accuracy Achieved with This Setup (Flow Rate is not Important to Us But We Need Volume Accuracy)?
- If Customer Takes Meter to Another Barrel Then Is It Require to Calibrate Meter Every Time? OR Only Once when it Produce?

If someone Has Better Solution For This Application Using MSP430FR6047 Then Also Suggest.

I have Attached Image of What we Want to Achieve.

If Possible Then I Specially Need Answer From "Eddie LaCost (TI Employee)", Because i Have Read All Answers From Him In This Forum Regarding MSP430FR6047 and He Looks Me Master In This Topic.

Hope For Help.
Thanks All

MSP432E401Y: Check and Clearing Break Errors W/ Simplelink’s UART Driver

$
0
0

Part Number:MSP432E401Y

I working on my first Simplelink and TI MCU project, with a MSP432E401Y. I’m reading DMX(lighting control over rs485) data though a UART. I need to detect a part break to determine the start of the DMX frame. 

I’ve attempted a few things while I’ve been studying the User Guide, Datasheet, SDK code, etc.. 

  1. Tried to assign an error function to the pointer in uartMSP432E4HWAttrs: 

extern void u2Err(); 

const UARTMSP432E4_HWAttrs uartMSP432E4HWAttrs[MSP_EXP432E401Y_UARTCOUNT] = { 

{

        .baseAddr = UART2_BASE,            

... 

                 .errorFxn = u2Err 

         } 

This catches the first few then everything will freeze. 

 

  1. I tried to use DriverLib on of top Simplelink UART driver. Between reads I can check the error with success. However, using driverlib to clear the error fails with another freeze. 

  

  1. I’ve considered direct register access, tried to find the right headers, but can’t find UARTSR/UARTECR just reference to their bit fileds, etc. I think I would get the same result as using DriverLib’s clear error function, so didn’t look too hard...

4. I’ve considered modifying the UART driver and add get/clear error to control. As I have other threads and uarts using the driver and I’m very happy with the current implementation. If I’m not mistaken, I remember reading you can’t mix. One thread using driverlib for uart and another using the uart driver. 

 

    5. I’ve considered implementing all uart using driverlib. 

 

I’m sure if I keep at it I will get over the learning curve hump and find the right solution. Can anyone suggest the best path and save me a day or two as I'm still getting my feet wet? I’m thinking redoing everything with DriverLib but would hate to do this if there is an more Stright forward solution. Thanks. 

MSP432E401Y: UART Connection with XBee not working

$
0
0

Part Number:MSP432E401Y

Hi all,

I'm attempting to transmit between a computer and the MSP432 with UART, using two XBee Pro S3Bs for wireless communication. I'm first trying to make sure that I can actually transmit, and using the uart_echo example from the SDK. From what I can tell, the computer should transmit to its Xbee, which wirelessly transmits to the next Xbee, which transmits to the uC. Then, the uC should just send the same characters back. I have PA0, U0Rx connected to the XBee's DOUT, and PA1, U0Tx, connected to the XBee's DIN. 

Currently, the Xbee connected to the uC will receive wirelessly, a red LED will turn on for a few seconds, and then turn off. I'm assuming this is because the UART characters are going into the buffer and waiting for the uC to get them, but since the uC isn't, it just expires and the LED turns off.

If anyone has any suggestions for what to try, I'd appreciate it.

MSP432E401Y: Error -1170 @ 0x0

$
0
0

Part Number:MSP432E401Y

 When attempting to flash a new custom board implementing an MSP432e401y, using an XDS110 USB Debug probe on a separate launchpad, I get the following Error  

Error connecting to the target:
(Error -1170 @ 0x0)
Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK).
(Emulation package 8.0.903.2)

When I test the connection with the JTAG tester it passes the IR and DR integrity tests. 

I have already reset, and power cycled the device, and tried using a lower clock (100kHz).  Where do I go from here?

MSP430F6733A: internal REFO specification at 3.3V

$
0
0

Part Number:MSP430F6733A

Hi Experts,

REFO spec is defined as below.

We want to use MSP430F67x at 3.3V while the spec is defined at 3.0V. Can we consider even at VCC = 3.3 V, fREFO max is +-1.5%?

And if they use the temperature range from -20 to 80, the dfREFO becomes 1% = 0.01 * (80 – (-20)). Can we consider that the total +-2.5%(=1.5+1.0) is the tolerance for fREFO?

Regards,

Uchikoshi

MSP430FR6989: Delay functions for JTAG timing sequences

$
0
0

Part Number:MSP430FR6989

Hi,

I need to connect two MSP430's(MSP430FR6989) in my application and I want to read, write flash memory and download a program into the Slave MSP via Master MSP using JTAG connection. I am using the MSP430 JTAG Programming guide (www.ti.com/.../slau320ad.pdf).  Now that I found out microsecond(usDealy) and millisecond(MsDelay is not at all working) delay functions are not accurate and for SBW_DELAY I can't seem to figure out how many _NOP cycles I need to add. The document says 5 _NOP cycles for 18MHz but my MCU is different than the example they have provided. Please refer to this thread  

void MsDelay(int milliseconds)

{

????

}

void usDelay(int microseconds)

{

????

}


Linux/MSP432E401Y: BSL Scripter invalid TFTP Read Request in the packet received

$
0
0

Part Number:MSP432E401Y

Tool/software: Linux

I am having the same problem as another forum user when trying to use the ethernet bootloader example on the MSP432E4. Specifically, BSL scripter on Debian Linux identifies the BOOTP request received from the client microcontroller, and the IP addresses and MAC addresses appear to be correct, but I still get this error message:

MODE Ethernet E4xx MAC=70:ff:76:1c:b9:2d IPClient=128.168.127.2 IPServer=128.168.127.1
Local IP Address is given in the parameter
Local IP Address of Host: 128.168.127.1
Waiting for BOOTP request!
Waiting for BOOTP request!
Waiting for BOOTP request!
BOOTP request received!
Send BOOTP reply!
Ready to receive the Tftp read request!
Client IP address: 128.168.127.2
[ERROR_MESSAGE]There is invalid TFTP Read Request in the packet received!
Waiting for TFTP read request!

Any thoughts? Unfortunately verbose mode is not any more help; it could at least tell me what is wrong with the packet in verbose mode. I do have several ethernet interfaces, but I don't think that should be an issue if the BSL scripter is implemented correctly: since I'm able to receive the BOOTP request and send the response, I should also be able to receive the TFTP Read Request on the same interface.

MSP430FR6047: What is the unit of the Y axis of ADC capture window?

$
0
0

Part Number:MSP430FR6047

Hello,

The ADC capture window shows the ADC amplitude count. How is this ADC count calculated and is there a table which gives the relation between the set "gain value" the "voltage" and the "ADC count"?

Regards,

Jadhav

MSP430F5438A: MSP430x5xx User Guide: Description error RTC-module(s)

$
0
0

Part Number:MSP430F5438A

Hi to the user guide writers:

Descriptions for RTCPS0CTL and RTCPS1CTL at least for RTC-A have errors for RT0PSDIV, RT0IP and RT1PSDIV, and RT1IP, respectively: Each of those parts has three bits but the descriptions only show two bits.

MSP430F6736: MSP430F6736 I2C

$
0
0

Part Number:MSP430F6736

Hi All,

My requirement is two I2C in single MSP430 microcontroller. I have MSP430F6736 development board. Is it possible to use both normal I2C and Extended I2C simultaneously as two I2C in this board? 

If is it possible please suggest the solution.

Regards,

Rajesh

CCS/MSP-TS430DA38: MSP430F2252

$
0
0

Part Number:MSP-TS430DA38

Tool/software: Code Composer Studio

hiii,

i am used i2c sample code(MSP430f2252) from TI Resource explorer using interrupt... Its possible for without interrupt in I2C? using msp430f2252. if possible ????

thanking you

CCS/MSP430FR5969: Multi Slave Communication

$
0
0

Part Number:MSP430FR5969

Tool/software: Code Composer Studio

hi this is harikrishna...

Now i am working with SPI Protocols, my Question is like in MSP430FR596 P1.6, P1.5 are MOSI MISO..Now in Design two slaves one is Flash memory and another one is accelerometer both are working with SPI communication.. MISO and MOSI lines of both Slaves are connected to Single MISO ,MOSI of MSP internally..when i want to communicate with any of the slave I am making CHIP_SELECT pin as LOW so that i am working both Slaves one after one...the Problem is like if i write the data into flash memory continuously for 30 seconds in between this time Accelerometer motion will detect then what will happened.....i lost my writing data to the Flash ? or Motion will not work?.... 

thanks..

MSP432E401Y: JTAG Termination

$
0
0

Part Number:MSP432E401Y

The MSP432E data sheet specifies internal pull-ups on TDO, TDI, TMS and TCK. Normally I would recommend using external pull-ups as well. Yet the Using SimpleLink™ MSP432E4 microcontrollers over the JTAG interface (Rev. A) application note suggests adding an external pull-down on TDO. That seems a little strange considering the internal pull-up.  I'm curious on why?

MSP432P401R, MSP432P401M Mixed-Signal Microcontrollers datasheet (Rev. E)

Using SimpleLink™ MSP432E4 microcontrollers over the JTAG interface (Rev. A)

Thanks,
Mark


MSP430FR2633: MSP430FR2633 Bootloader

$
0
0

Part Number:MSP430FR2633

Hello,

I am using MSP430FR2633 for my application.

I would appreciate if you could guide me how to setup the bootloader in this device in order to update firmware application.

 

Thanks in advance!

CCS/MSP430F5529: Can not create own CCS project with DriverLib

$
0
0

Part Number:MSP430F5529

Tool/software: Code Composer Studio

Hello TI and Users,

I just installed CCS V8.3 an liked to create my own project for MSP430F5529 using Driver Library (like I did on previous versions) but failed. CCS does not offer on new projects a chapter "MSP430 DriverLib" and therefore no selection "Empty Project with DriverLib Source". Also adding the DriverLib on existing projects does not work as the selection in Project Templates is empty.

The DriverLib Usere's Guide states: "... CCS must have discovered the driver library RTSC product. For more information refer to the installation steps of the release notes." But where to find these?

I can download DriverLib examples and build them but not creating my own project. Please help.

Regards

Guenther

CCS/MSP432P4111: Main memory based bootloader for MSP432P4111

$
0
0

Part Number:MSP432P4111

Tool/software: Code Composer Studio

Following with my last question, I want to make a summary here.

1. Because the flash size in the flash information memory is limited, so I implemented a main memory-based bootloder for msp432 mcu.

2. When erase/program the flash secotors, rom-based flash erase/program functions from driverlib are called.

3. about jump to application from my bootloader

                    // Disable all interrupt sources and pending interrupts
                    // this is necessary!!!!!
                    ROM_Interrupt_disableMaster();
                    NVIC->ICER[0] = 0xFFFF;
                    NVIC->ICPR[0] = 0xFFFF;
                    NVIC->ICER[1] = 0xFFFF;
                    NVIC->ICPR[1] = 0xFFFF;

                    // vector table address for application  
                    SCB->VTOR = 0x10000;

                    //
                    // Load the stack pointer from the application's vector
                    // table.
                    //
                    __asm("    ldr     r1, [r0, #0]\n"
                          "    mov     sp, r1\n");

                    //
                    // Load the initial PC from the application's vector table
                    // and branch to the application's entry point.
                    //
                    __asm("    ldr     r0, [r0, #4]\n"
                          "    blx      r0\n");


I have another problem here. After I loaded the program in CCS, it can run correctly. Because PC is set correctly at this time.

But it can not boot up after power cycle or pressing reset button.

When the bootloader is running correctly, to call ROM_SysCtl_A_rebootDevice will not make it boot up correctly. But to call ROM_ResetCtl_initiateHardReset will make it boot up again.

When it can not running into the my bootloader code, halt it, PC is 0x02001C0A, SCB->VTOR is 0x20000000. PC address is from driverlib rom table.

Does it stay in boot code? I have make a factory reset with uniflash before.

Thank you

TSS721A: Implementing a M-Bus slave device

$
0
0

Part Number:TSS721A

Hi,

I am new to M-Bus(meter bus) standard. I have the following requirement:

1. I have a 3-phase electric meter from Aidon which acts as a M-Bus master device and communicates data to the external world via the M-Bus protocol.

2. So, I need to implement a M-Bus slave device which could decode the M-Bus data packets coming from the electric meter via the M-Bus protocol.

3. So, I am planning to use the TSS721A for implementing the M-Bus slave device. But I have never done it before and so I have questions on how to implement it.

Will the TSS721A decode the received M-Bus data packets and communicate those data packets to me via UART. If this is the case then I can interface a micro-controller to TSS721A and read the decoded M-Bus data packets.

What is the exact function of the TSS721A M-Bus transreceiver. Will it receive the M-Bus data packets from the master(in my case it will be the electric meter) and decode them also. If not, then I need to write a library to decode the M-Bus data packets which is a hectic job. So, please help me in knowing the exact function that TSS721A offers.

Please help me asap.

Thanks and Regards,

Sritam Paltasingh.

MSP430F4784: 16-bit sigma-delta ADC question

$
0
0

Part Number:MSP430F4784

Can someone tell me if the 16-bit sigma-delta ADC block on the MSP430F4784 has a notch filter for 50/60Hz rejection? 

Thanks in advance.

Viewing all 22733 articles
Browse latest View live


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