Quantcast
Channel: Forums - Recent Threads
Viewing all 262198 articles
Browse latest View live

How to write the Final Report - Webinar Series


How to disable output of CLC001 driver?

$
0
0

I am researching a circuit to sense a single-ended signal and drive a differential 90-Ohm cable at 480Mbps, ground referenced. I discovered this nice device CLC001. I understand that it has current-source drivers set by Rref resitor to ground. What if I disconnect this resistor? I am thinking of using a open drain logic or a n-FET. Did anyone try to disable the current-source output of CLC001 this way? Thanks.

MSP430 horner method for divide and multiply operation

$
0
0

Hello Champs!

I got the information for more efficient calculation of multiplication and division which called Horner and Horner+CSD method from SLAA329 document.
Here's the link.
http://www.ti.com/mcu/docs/litabsmultiplefilelist.tsp?sectionId=96&tabId=1502&literatureNumber=slaa329&docCategoryId=1&familyId=342
http://www.ti.com/lit/an/slaa329/slaa329.pdf
http://www.ti.com/litv/zip/slaa329

What I want to know of these source code is as below.

  • In case of div_int.c they just use one parameter in the horner function.
    ie) result3 = div_horner_int(input)
  • I think two parameters should be needed in the parameter(input and divisor), but there's no documents represented this in the web site. 
  • And I tested with changing input and divisor value, but the result show wrong value.

  • So if you have any modified functions(Horner, Horner+CSD) regarding slaa329 document, please let me know.
Thank you.

------------------------------------------------

cf) Here's the test source code in slaa329

#include <stdio.h>
#include <msp430xG43x.h>
int div_c_int(int,int);
int div_horner_int(register int);
int div_csd_int(register int);
int div_hamacher(register int, register int);
int input=9280;         // If we change this variable, some result show wrong answer.
int divisor=41;          //  If we change this variable, some result show wrong answer.
int result1,result2,result3,result4;

int div_c(int x, int y) // C routine for division
{
return(x/y);
}

main()
{
WDTCTL = WDTPW + WDTHOLD; // Stop WDT.
FLL_CTL0 |= XCAP18PF; // Configure load caps.
result1=div_c(input,divisor); // C routine called for division

result2=div_hamacher(input,divisor);
result3=div_horner_int(input);                // I think this code should have two parameters for calculating divide operation.
result4=div_csd_int(input);                     // I think this code should have two parameters for calculating divide operation.

__no_operation(); // for breakpoint
while(1);
}

is lm3s811 evaluation board bricked

$
0
0
Hello.

I have problem with Stellaris EKC-LM3S811 evaluation kit. I can't download programs nor erase LM3S811 after I've downloaded my program.
Before this I could download demo programs. I have tried to unlock with Debug Port Unlock in LM Flash
Programmer(build 1154).
No success - error message:
"**ERROR**:Invalid IDCODE!"
If I try to erase, blank check or upload:
"**ERROR**: Unable to initialize target!"
I have also tryed this board as ICDI programmer to program LM3S6B95 chip, it worked OK, so hardware JTAG interface is not broken.
Any suggestions how to unlock the deveice, please?

LM3S6965 issue

$
0
0

Hi,      We are using LM3s6965 in many of the our product.

Once the LM3s6965 is mounted on the main circuit board. The complete instrument/circuit works fine at initial stage. But if any testing or repair is attempt, in many ICs,  current drain increases and getting heated up. Mainly Ethernet communication gets failed.

 

Some time some of the port does not work.

 

Recently we programmed 17 ICs in circuit, with J-tag and tested the Circuit function. All were working. But when the Ckt.  board subjected to cleaning with thinner and then rechecked, all ICs found in Erase Status. When those were reprogrammed, the all ckts started functioning well.

Regards   Atul Bhakay

 

Hence we request your support to over come above problems.

Where to start? TM4C129 based ethernet enabled industrial sensor

$
0
0

Hi Folks,

We are working on an industrial sensor that reports it's values to a MySQL database server via ethernet. We have a prototype on a RasPi with Linux, but for a production version this seems like overkill. 

I am now looking for a Microcontroller and software to achieve the same. Is there a good place to start looking? Might the DevKit actually already provide a software framework? From the documentation I can't tell.

Our "spec":

* ping - able
* http server (simple HTML showing device values)
* DHCP client
* SNMP GET/SET/TRAP 
* NTP client
* TCP/IP communication with MySQL database server (like: https://launchpad.net/mysql-arduino)
* Firmware updates via ethernet
Looking forward to your input!

M430F5529 on the Launchpad intermittently cannot power up upon external 3.3V attachment when SBW_RST is connected

$
0
0

Hi,

I've made a booster pack that applies the external 3.3V voltage to the MSP430F5529 LaunchPad - simply it exports this 3.3V on the Connector 1 Pin 1. According to the LP docs (http://www.ti.com/lit/ug/slau533a/slau533a.pdf) pg. 22 I disconnected the 3V3 jumper so that tis voltage does not go to emulation part of the LaunchPad.

BUT, the microcontroller has intermittent problems with startup when I do not disconnect the SBW_RST jumper and apply the external voltage. The doc says that it must be opened when the microcontroller is supplied with anything different than 3.3V while I have exactly 3.301V on Vcc (come on, it's 3.3V really ;-) ).

I've checked that if I apply this ext. voltage for a moment, then detach it for ~0.5s and then attach again, the mcu starts ok. I suppose this is some capacitor that must charge to stabilize the RST line.

With the SBW_RST jumper opened the mcu starts with no issues every time the ext. voltage is applied.

Does anyone happen to know what may be wrong? Of course I can take this jumper off but it's disturbing in case I need to reprogram or debug the mcu - I have to apply the jumper and then take it off. I'd expect with 3.3V this should work ok.

Best Regards,
tml

EQUn: What is it an Acronym for?

$
0
0

In the Timer A block diagrams, there is an internal EQUn signal, where the letter 'n' denotes the block context.

  1. Is it an acronym?
  2. What does it stand for?


DLPC350 PM_CS_0 pad

$
0
0

Hello,
There is PM_CS_0 pad on the DLPC350 datasheet Table2(dlps029b).
But, I can not understand the place of its pad.

Where is the PM_CS_0 pad on the package?

Although I checked the all pads on DLPC300, there is no place for PM_CS_0.
Is it mistake of datasheet?

Best regards, RY

CC2540 and Bluetooth 4.1

$
0
0

Will existing CC254x devices be upgradeable to the 4.1 spec?  Is there any timeline for this or is it too soon?

Data generation TSW3100 and DAC34H84EVM

$
0
0

Hello,

I have a test setup with a TSW3100 and a DAC34H84EVM.

Can sombody  explane  to me how i can generate/define 4 seperate datapaterns for each of the dac in the DAC34H84.

At the moment i am able the generate a vectorfile with 2 signal paterns but the the signal out of DAC_C is equal to DAC_A and DAC_D = DAC_B.

Thanks in advance for any response/solution

Ronald Dekker

Data generation TSW3100(1400) and two TSW3085EVM

$
0
0

I want to know TSW1400(or TSW3100) can generate each different 16bit-DDR LVDS data.

I have two TSW3085 EVMs.

TSW1400(or TSW3100 ) can generate two different 16bit LVDS data for two TSW3085 EVMs simultaneously?

New Custom AM1802 Board Boot from SD Card

$
0
0

We are about to bring up a new board and just realized that booting from a SD Card isn't quite as straight forward as we thought. We didn't design in SPI Flash but have a uSD card connected to MMCSD0 and for production we plan on booting from a 8-bit NAND connected to EMA_D[0-7].

If I'm reading the correct pages it seems that new silicon should support booting from an SD Card but I'm a little confused on the procedures to make a card that has U-Boot, Linux Kernel, and File System on the card. Is there a pre-made image available that I can download and test? It certainly would be nice to eliminate 1 variable when bringing up the brand new board.

Need explanation for some assembly lines in the filter function

$
0
0

Hello,

I want to understand the working of Low pass filter(as attached here  (Please visit the site to view this file))  contained in the associated files of this link here http://www.ti.com/mcu/docs/litabsmultiplefilelist.tsp?sectionId=96&tabId=1502&literatureNumber=slaa357&docCategoryId=1&familyId=1615.

I don't understand the working of assembly code in each stage in the function as here 

;Stage 0

			mov.w &input_delay0,R12
			mov.w R12,R13
			rra.w R13
			rra.w R13
			add.w R12,R13
			rra.w R13
			rra.w R13
			rra.w R13
			rra.w R13
			rra.w R13
			rra.w R13
			rra.w R13
			rra.w R13
			rra.w R13
			rra.w R13
			rra.w R13
			rra.w R13
			mov.w R13,R14
			add.w R14,&output

Can someone explain if a input is given, how the input will be processed by these lines to give the output.

And also if possible why the different stages used(like form stage 0 to stage 20).

Thanks.

Some functions explained

$
0
0

Hi Chris,

The ID process works great. your recommendations worked.Now, since my motor reaches only half of the rated speed, then starts making strange "squeaking" noises, I would like to understand a couple of things.

1. While running in CTRL_runOnLine_User , I see that the reference for Id is the following:

          refValue = TRAJ_getIntValue(obj->trajHandle_Id) + CTRL_getId_ref_pu(handle);

 can you please explain what does the trajectory is doing there and how it is related to controlling the Id current ? I saw that you're running some trajectory at the end of the ISR, in CTRL_setup.

2. Where do you run the trajectory for the speed (I tired searching for trajHandle_spd , but seems no one is updating it, only reading from it...)

3. What are you compensating for in CTRL_angleDelayComp ? why are you considering the sign in that function, if the angle is between 0..1 ?

4. I tried running the control with floating point enabled. I started form lab 2d, and actually observed different behavior than in lab 2c. In the transition between rated-flux state and Ls, there were some speed oscillations, which did not exist in lab 2c...

5. Trying for investigate further on the floating point, I saw that you're using optimization level 2. This thing I don't really like, since I'm not a compiler expert, and I expect my code to run as I write it... Changing the optimization to "none", suddenly I realized that the code is running much much slower, about half the speed (instead of about 20us, it takes about 45  us for the ISR), which is a lot ! I've tested this with a scope and GPIO toggling.

However, the speed oscillations in the ID process stopped !

Could it be that the optimization does something to floating point code ?


Error connecting to target

$
0
0

Hi, 

I know it's been asked before. I'm getting "error connecting to target. Frequency is out of range"  on Lab 2 , the one that blinds the led. This is the first I tried to  communicate with the Tiva using Code Composer Studio 5.5.0) 

 http://processors.wiki.ti.com/index.php/Getting_Started_with_the_TIVA%E2%84%A2_C_Series_TM4C123G_LaunchPad  

The program that can loaded to the Tiva works fine. I can communicate with Hyper Terminal to Tiva. So, i know the usb driver is working. 

Any help would be great.

Thanks

Timer A Interrupts not reached

$
0
0

I am working with an MSP430F2274 and I am having issues with the Timer A interrupt vectors. I want to use two interrupts to generate 2 frequencies using continuous up mode as shown in Figure 12-6 of the MSP430x2xx Family User Guide. One will have a variable length based and the other I want to be be as fast as possible with given clock settings. My interrupts never seem to be called however as any break points in them are not reached, my outputs have a constant high voltage on a Volt meter and when viewed on a oscilloscope the outputs are flat.

Here is my code:

#include <msp430.h>
#include "stdbool.h"

unsigned int PWMCount;

void initializeMaxFrequencyIO(){
    P2DIR = 0xFF;
    P3DIR = 0xFF;
    P4DIR = 0xFF;
}

void main(){
    PWMCount = 1024;
    WDTCTL = WDTPW | WDTHOLD;

    BCSCTL1 = CALBC1_16MHZ; // Set range
    DCOCTL = CALDCO_16MHZ;

    P1DIR |= BIT2; // P1.2 to output for PWM

    initializeMaxFrequencyIO();

    P2OUT ^= 0xFF;  // I stepped over these to make sure my outputs are working normally using a Volt meter
    P3OUT ^= 0xFF;
    P4OUT ^= 0xFF;

    P2OUT ^= 0xFF;
    P3OUT ^= 0xFF;
    P4OUT ^= 0xFF;

    TACCR0 = 1;
    TACCR1 = PWMCount;

    TACCTL0 = CCIE;
    TACCTL1 = CCIE;

    TACTL = TASSEL_2 + MC_2 + TAIE;

    // Do stuff with PWMCount, not written yet
}

//#pragma vector=TIMER0_A1_VECTOR
#pragma vector=TIMERA1_VECTOR
__interrupt void CCR1Reached (void)
{
    TACCR1 += PWMCount; // Increase CCR1 by the PWM length;
    P1OUT ^= BIT2; // Toggle PWM Bit.
}
//#pragma vector=TIMER0_A0_VECTOR
#pragma vector=TIMERA0_VECTOR
__interrupt void CCR0Reached (void)
{
    P2OUT ^= 0xFF; // Breakpoints here are never reached.
    P3OUT ^= 0xFF;
    P4OUT ^= 0xFF;
    TACCR0 = TAR+1; // I am concerned this may be an improper way to do this but I should hit the interrupt the first time if it is wrong.
}

ti.sysbios.family.arm.lm4.Timer: bad inline assembly under gcc [CROSS POST]

$
0
0

Please see this thread on the Tiva C for a report (cross posting to this forum as directed):

http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/313785.aspx

LM2901D Supply rail limits

$
0
0

What are the supply voltage limits on LM2901D ? The datasheet says it is tested for 30V. The parameter table on TI website says Max Vs as 30V. But, I read some where else as 36v or +/- 18V.

I am interested to know, whether I can use it with dual +/- 15V supply rails allowing 10% tolerance on both supply rails ?

TFP501 HDCP ROM

$
0
0
Hi, Please advice me on how to progam HDCP Key data for TFP501?
 
Q1. Are there any PC resident software which mapps the HDCP key data
      in ROM space and  creates HEX file for ROM programmer?
 
Q2. If so, does who provide such software. Does TI or HDC LLC?
 
Q3. IF not, how you can generate the fuse data which includes HDCP key data?
 
Q4. How are the EDIT data stored?
     Are the EDIT data are progrmmed into the same ROM as HDCP key data?
 
Q5. If the ROM is progrmmed with test key (Open key and/or secret key),
      can TFP501 receve datar from any souce devcies or nay restricted devcies?
 
I appriciate it if you can give me feedback with in tomorrow?
 
Mita
Viewing all 262198 articles
Browse latest View live


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