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

CC2530: Timer 2 and TIMAC

$
0
0

Part Number:CC2530

Hello guys,

I am running the TIMAC solution with a CC2530 in my new project and I intend to create a real time clock using the 32kHz crystal as a source for it.

I know that I should use Timer 2 in order to make the 32kHz crystal work, but I think TIMAC already uses this timer. How should I set up that?

Thank you,

Tasso Barbosa


LMC555: Generate a voltage-controlled pulse width once triggered and need to be synchronized with other signals

$
0
0

Part Number:LMC555

Hi Expert of LMC555,

I have a design in my mind using LMC55 and I would like to hear your opinion on whether it works or not,

 

Goal: Given S1&S2, S3&S4, generate S32&42_COM and S12&12_COM using analog circuitry, as shown in Figure 1.

  • Pulse width of Scom can change based on a voltage reference (200 ns to 1 us).
  • The falling edge of S12&12_COM are aligned with and the rising edge of S3&4.

Based on your recommendation, I plan to use two LMC555 to realize the variable pulse generation. I need to add an intermediate pulse in purple, as shown in Figure 2. This pulse is triggered by the falling edge of S1. Its pulse width is between 200 ns and 600 ns and it is controlled by the pin 5 voltage of LMC555.

The first LMC555’s output falling edge triggers the second pulse, SCOM.  I may set the pulse width to be large enough such that it remains high until the rising edge of S3 reset it.

 

 

Do you think it works? My main concern is the pulse width accuracy of the 555 timer. With 200 ns pulse width, the R and C can be 200 pF and 1.8 kOhm. Are those values too small? Around 20 to 30 ns of accuracy is good enough for my application.

Also, I am wondering my trigger signal stay at low for most of the time and only jumps to HI maybe 500 ns before the next falling edge trigger event. Will it work? I am asking because of the following statement in the datasheet: 

"During the timing cycle when the output is high, the further application of a trigger pulse will not affect the circuit so long as the trigger input is returned high at least 10 µs before the end of the timing interval.  " 

Thanks for your help!

Chengcheng

 

MSP430F5437: MSP430F5437 / CC2520 - OSAL - NV issue

$
0
0

Part Number:MSP430F5437

Are there any known issues relating to OSAL NV element write reliability? I am seeing an issue with data corruption (not just random bit flips) but it looks like the data ended up in the wrong physical location in flash. It looks like in osal_nv_write (osal_nv.c) that if the data for an element is changed it moves the location in physical memory with an update with the new value. It looks like a simple wear leveling algorithm. I suspect an issue there (possibly if there is a power cut in the middle of that function) . 

This is a problem not easily reproduced (only one time in the lab). There are a number of failures in the field, but it is not reproducible very often. Still working on finding the right procedure to make the problem happen repeatedly in the lab.

The revision date for the OSAL_Nv.c is 2010-08-19, revision : 23457 from the file. Where can I find the source tree for this so I can see what has changed since the version we have?

TINA/Spice/TPS54620: TINA-TI simulation issue with TPS54620

$
0
0

Part Number:TPS54620

Tool/software:TINA-TI or Spice Models

I am receiving a convergence error when I try to run the transient analysis on the enclosed design. Can someone tell me what I'm doing wrong.

Thank you,(Please visit the site to view this file)

CC3220MOD: C3220MOD

$
0
0

Part Number:CC3220MOD

I want to use C3220MOD as a slave controller which would communicate using SPI to a master controller. But I have another device AS8510 which has to send the data to C3220MOD and it supports SPI communication. Can the microcontroller C3220MOD act as a slave (for the master controller) and master (for AS8510) as there is only 1 SPI available using C3220MOD?

CC2650: Using SPI instead of UART for the Simple Network Processor Sample application

$
0
0

Part Number:CC2650

Hi,

I have runout of space for my code on a single CC2650 so I have decided to use two instead. However, I am already using UART for another peripheral so I'd like to use SPI to communicate between the NP and the AP. I am currently trying to use the Simple Network Processor for the sample application for the launchpad. I have changed the predefined symbol NPI_USE_UART to NPI_USE_SPI and included all files in the build so this change can take effect. The errors I'm currently facing are "unresolved symbol NPITLSPI_handleRemRdyEvent", "NPITLSPI_openTransport", "NPITLSPI_stopTransfer", and "NPITLSPI_writeTransport. If I follow the equivalent UART definitions they are found in "npi_tl_uart_m_cc26xx.c", unfortunately there I can't the spi equivalent to this file. Does this equivalent exist? Am I able to use SPI for this application?

Thanks for the help,

Ian

RTOS/LAUNCHXL-CC2650: ADXL345 - Some problem with I2C transaction

$
0
0

Part Number:LAUNCHXL-CC2650

Tool/software:TI-RTOS

Hello everyone,

I'm having a very similar issue like in this post (https://e2e.ti.com/support/embedded/tirtos/f/355/t/538836) except that I'm using CC2650 connects with ADXL345 via I2C interface. My first read/write transaction always fails and I have to send a dummy transaction as a work-around. After my first transaction, my other transactions that write/read to registers works properly. Unfortunately, that post is pretty old, so I don't know if the OP finds out the solution for this or not. Does anyone experience with the same issue or know what cause this?

I ran a couple tests to make sure that my CC2650 and ADXL345 can communicate properly, including a 'read' transaction to get the device id, and it returns the value of 0xE5 (correct as stated in the data sheet).

At this moment, I'm trying to find the solution as I mentioned above and also implement a function to read raw input data of 3 axis x, y ,z and converts it to g,

void ADXL345_GetGxyz(float* x,
             float* y,
             float* z)
{
    System_printf("\t%s IS CALLED\n", __FUNCTION__); System_flush();
    unsigned short xData = 0;  // X-axis's output data.
    unsigned short yData = 0;  // Y-axis's output data.
    unsigned short zData = 0;  // Z-axis's output data.

    ADXL345_GetXyz(&xData, &yData, &zData);
    *x = (float)(fullResolutionSet ? (xData * ADXL345_SCALE_FACTOR) :
            (xData * ADXL345_SCALE_FACTOR * (selectedRange >> 1)));
    *y = (float)(fullResolutionSet ? (yData * ADXL345_SCALE_FACTOR) :
            (yData * ADXL345_SCALE_FACTOR * (selectedRange >> 1)));
    *z = (float)(fullResolutionSet ? (zData * ADXL345_SCALE_FACTOR) :
            (zData * ADXL345_SCALE_FACTOR * (selectedRange >> 1)));
}

void ADXL345_GetXyz(unsigned short* x,
            unsigned short* y,
            unsigned short* z)
{
    System_printf("\t%s IS CALLED\n", __FUNCTION__); System_flush();
    *x = ADXL345_GetRegisterValue(ADXL345_DATAX1) << 8;
    *x += ADXL345_GetRegisterValue(ADXL345_DATAX0);
    *y = ADXL345_GetRegisterValue(ADXL345_DATAY1) << 8;
    *y += ADXL345_GetRegisterValue(ADXL345_DATAY0);
    *z = ADXL345_GetRegisterValue(ADXL345_DATAZ1) << 8;
    *z += ADXL345_GetRegisterValue(ADXL345_DATAZ0);
}

But calling ADXL_GetGxyz only give me the same value of X Y Z: c083 9d8b 1759 although I tried to move the accelerometer with different positions? What did I possibly do wrong?

Any help would be greatly appreciated. Thanks,

Henry

AWR1642BOOST: Where is the digital frequency shifter mentioned in the TI white paper?

$
0
0

Part Number:AWR1642BOOST

Hello everyone

In this white paper. it said that "TI’s radar chip includes a built-in digital frequency shifter to frequency-shift the samples, perform image-reject filtering and send out the complex baseband output at the reduced interface rate (similar to a real-only implementation)." Is the frequency shifter mentioned in this white paper represented as the two high-pass filter on the chip?

Thanks

Xining


ADS1148: Wrong calibration with SELFOCAL (and SYSGCAL)

$
0
0

Part Number:ADS1148

Hi

Are there some preconditions before executing the SELFOCAL command? I noticed when I am using an external reference and IDAC current, if the sensor (RTD in this case) is not connected, the calibration seems to fail, possibly because the reference is floating. When it happens, OFC registers get wrong values and internal temperature and voltage measurement (system monitor) is way off anything even remotely possible.

So do I need to set MUXCAL to 0b001 before sending the SELFOCAL command? Do I need to change REFSELT to use the internal reference?

And what about SYSGCAL? I don't have inputs supplying a full-scale input. But would setting MUXCAL to 0b010 be enough? Or I can't perform gain calibration at all in my setup?

For now I disabled calibration, since default values give acceptable results, but I would like extra precision if possible.

I should also add that I am used to the ADS1256 SELFCAL command, with which I never had any trouble.
I understand on the ADS1148 I need two commands to perform calibration, and that the gain calibration is not a "self" calibration command but is there any other difference?

thanks

How to measure electro-mechanical coupling of a piezo-ceramic transducer under a tank?

$
0
0

Hello,

I have mounted a piezo-ceramic ultrasonic transducer (MODEL # SMD10T2R111WL, Vendor Website: PIEZO CERAMIC DISC 10X2MM R 215 KHZ WIRE LEADS) under a plastic tank using epoxy. Please see the below picture.

Is there a way to measure the electro-mechanical coupling of the transducer under the tank?

From the specs of the transducer, the electro-mechanical coupling coefficient is >= 60%. What is the meaning of it? Is there a way to measure it?

I know one way is to use TDC1000-TDC7200 EVM board and perform fluid level sensing. I am wondering is there any easier way to test the coupling?

Thanks in advance for your help.

Best,

Niloy.

TINA/Spice/TPS92690-Q1: TP92690 PSPICE Model

$
0
0

Part Number:TPS92690-Q1

Tool/software:TINA-TI or Spice Models

Dear Sir,

I'm designing the cuk converter with TPS92690-Q1 and want to simulate the operation by Tina simulator. I can build the cuk converter model and want to use TPS92690-Q1 PSPICE model and would like to know how to use this PSPICE model. Can you give me step by step process how to do it?

Thanks,

Mark

Linux/TMS320DM8148: Send YUV422I to SW Mosaic Link

$
0
0

Part Number:TMS320DM8148

Tool/software: Linux

I'm using DVR RDK 4.0.  Is the following use case possible?

Read YUV422I -> ipcframesouthost -> ipcframesinvpss -> swMs -> display

It does not work if I set ipcFramesOutHostPrm.inQueInfo.chInfo[i].dataFormat = SYSTEM_DF_YUV422I_YUYV

CC2564: AMP Alternate MAC/PHY

$
0
0

Part Number:CC2564

CC2564 team,


Does the TI Dual Mode Bluetooth stack support Alternate MAC/PHY (AMP), for example like this:

Thanks,

Darren

LM4875: Troubles with LM4875

$
0
0

Part Number:LM4875

I am having an issue with applying the LM4875 in my design.  I using the standard application schematic and am noticing

that with NO input drive and the gain control (external DAC driving pin 4) set to about 3V (positive gain), the part is drawing around 280 mA. 

The Headphone sense line is pulled low through a 100 ohm resistor so the part is set for bridged mode.   The decoupling is shown

and although it could be improved upon, I am wondering if these parts are sensitive to self oscillation. So, is this is normal

behavior or have I damaged the part.  Any advice would be appreciated.

Thanks

Jim

BQ20Z95: Issue with Charge Counter Not Starting When Current Is Applied

$
0
0

Part Number:BQ20Z95

In one of our batteries using the bq20z95 chipset, we have a few batteries that end up with low or high RSOC after being cycled. After doing some digging, I found that on these batteries the remaining capacity doesn't start changing until 10 to 20 minutes after a charge or discharge current is applied. I've compared the .gg file from a failure to a .gg file from a properly functioning battery and found no strange setting variations. What else can I look at? I've attached a quick and dirty plot of voltage, current and RM vs time from one of the defective batteries.


TLV320AIC3204: Minimum AGC attack/delay time calculations

$
0
0

Part Number:TLV320AIC3204

Hi, I'm having troubles interpreting a calculation from the TLV320AIC3204 Application Reference Guide (SLAA557). 

The document outlines a few registers that can be used to control the attack and decay times of each each channel's AGC:

  • Page 0 / Register 89: Left Channel Attack Time
  • Page 0 / Register 90: Left Channel Decay Time
  • Page 0 / Register 97: Right Channel Attack Time
  • Page 0 / Register 98: Right Channel Decay Time

For these registers, the upper 5 bits specify the times as follows:

Attack Time = [1,63] * 32 ADC Word Clocks

Decay Time = [1,63] * 512 ADC Word Clocks

This is clear enough, but I'm unclear on the 3 LSBs of these registers, which specify the Scale Factor. I don't see any other references to this value in the document, so I'm unclear on what it does exactly. Are the attack times above multiplied by this factor? Are they divided by it? Is there some other calculation that uses this factor?

Thanks

CC2541: a quick guide to start with CC2541

$
0
0

Part Number:CC2541

Hi

I am new in bluetooth chips. as CC2541 is one of the famous chips in the market, we decided to have our own bluetooth module (on our specific PCB) since non other type like HM-10, works fine.

here I have a simple question:

would you please provide me some documents in order to have all information about bluetooth and its necessary parameters.

what software do we need to setup and program the chip.

in our project we have an atmel microcontroller and we should send its data to a smart phone (IOS). we need a bluetooth to act as a wireless serial port to send all data to IOS.

would you please help me to deal with this. I found lots of information on internet but they are all vague. I could not find a strait forward document to explain the bluetooth parameters and the way that

it should be programmed to be connected to an IOS device.

I wish I could find some help in this frum as  everybody recommended me.

thank you in advance 

Can XDS110 Debug Emulator be used to debug TMS320F2806xU controller?

$
0
0

Hi,

I am planning to purchase XDS 110 debug Emulator for TMS320F2806xU, but it is not clear to me, whether it can be used to debug TMS320F2806xU controller or not?

Thanks for your reply in advance.

Best,

Farrukh

DRV425: DRV425EVM doesn't match datasheet- which is right?

$
0
0

Part Number:DRV425

Champs, this has to have been answered before but I couldn't find it- what gives with the DRV425EVM?  It shows DRV2 and AINP connected together; whereas all the datasheet examples show DRV1 and AINP connected.  The datasheet results in a much cleaner layout; but am curious to know why they are different?

ISO3088: Termination resistor for half duplex mode

$
0
0

Part Number:ISO3088

I am planning to use ISO3088 isolation transceiver in a half duplex design. The reference design does not show any termination resistors. between the A and B pair. The device datasheet woth the IO diagram shows an Open Collector configuration, so how does the signal get driven?

Viewing all 262198 articles
Browse latest View live


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