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

TINA/Spice/INA114: Irregular Circuit Error

$
0
0

Part Number:INA114

Tool/software:TINA-TI or Spice Models

Hello

I'm getting an irregular circuit error when I want to do a transient analysis and AC analysis.  It shows a floating pin error at my capacitors but I connected it to the voltage generator, not sure why it would be floating.  I want to find the frequency response of the circuit.  Please see the image below for my circuit.

Thanks!


TINA/Spice/INA114: Irregular Circuit Error

$
0
0

Part Number:INA114

Tool/software:TINA-TI or Spice Models

Hello

I'm getting an irregular circuit error when I want to do a transient analysis and AC analysis.  It shows a floating pin error at my capacitors but I connected it to the voltage generator, not sure why it would be floating.  I want to find the frequency response of the circuit.  Please see the image below for my circuit.

Thanks!

TINA/Spice/ina114: Irregular Circuit Error

$
0
0

Part Number:ina114

Tool/software:TINA-TI or Spice Models

Hello

I'm getting an irregular circuit error when I want to do a transient analysis and AC analysis.  It shows a floating pin error at my capacitors but I connected it to the voltage generator, not sure why it would be floating.  I want to find the frequency response of the circuit.  Please see the image below for my circuit.

Thanks!

DIX4192: Having issues locking on to audio signal

$
0
0

Part Number:DIX4192

Hi!

I'm looking to use the DIX4192 to do audio equalization and MUXing for a startup project. I purchased a couple for testing but I can't seem to get the chip to lock on to the digital audio signal I am sending it. I've reviewed the document a few times and I've run out of ideas on what I could be doing wrong. It could be possible that I accidentally damaged the chip while playing with it but I would like to see if anyone could spot flaws in my setup.

For the digital audio input I followed this image found in the DIX4192 document:

I'm using the optical receiver found here https://www.digikey.com/product-detail/en/everlight-electronics-co-ltd/PLR135-T/1080-1431-ND/2693959.


Here is an image of the output going directly into RX1+. RX1- is grounded with the series capacitor like in the doc image:

I'm using this 24.576MHz oscillator https://www.digikey.com/product-detail/en/abracon-llc/ASTX-H11-24.576MHZ-T/535-12038-1-ND/3906609 

Here is the image of my oscillator output when connected to the DIX4192:

Using Code Composer Studio v7 I am able to read and write to the registers using the I2C interface. When I connect the oscillator output to the RCKLI pin and set the registers 0x0D-0x11 it shows that I have successfully written to the registers but the Lock pin does not go low.
On the otherhand, if I connect the oscillator to the MCLK pin and try to read the registers they all return a value of 0xFF as if there is some kind of error.


Any help of suggestions would be greatly appreciated!

CC2640: GATT Service name change ?

$
0
0

Part Number:CC2640

I am using the TI "BLE Device Monitor" to connect with CC2640 device.

In the BLE Service Characteristic, it shows "Simple Profile Service", 

is there a way to change this name in CC2640 firmware ?

Compiler/TM4C123GH6PM: Library Error

CCS/TMS320VC5507: What does this error mean?

$
0
0

Part Number:TMS320VC5507

Tool/software: Code Composer Studio

Hi

I'm trying to write my first assembly program for TMS320VC5507 DSP. 

What does the problem attached to this post mean? And How could I solve it?

The emulator is XDS100V2

This is my simple code:

	.global	_start
_start 
	MOV	  #0x1234 , AC0 ;
	MOV   #0x4567 , AC1 ;
Wait
	B	Wait;

Thanks

TXB0108: txb0108 power up

$
0
0

Part Number:TXB0108

I have a question about a TI level translator PN: TXB0108RGYR I want to use in my design

 

I am working in an application where it is important to keep all A and B outputs of the part in Hi-Z until VCCA and VCCB are up and stable

 

I have an active low signal that will remain low until both voltages are stable and it is connected to the OE pin. Also have a pulldown resistor on OE pin.

 

 

 

The Data sheet indicates that  VCCA <= VCCB during normal operation after power up.

 

During Power up the order of turn on for VCCA and VCCB is not critical(so VCCA<VCCB if VCCB=0V) since there is a sensing circuit that keeps all outputs in HiZ as long as the OE pin is held low.

 

I cut and paste section 10 of the data sheet that appears to support these assumptions:

 

 

10 Power Supply Recommendations
During operation, ensure that VCCA ≤ VCCB at all times. During power-up sequencing, VCCA ≥ VCCB does not
damage the device, so any power supply can be ramped up first. The TXB0108 has circuitry that disables all
output ports when either VCC is switched off (VCCA/B = 0 V).
The output-enable (OE) input circuit is designed so that it is supplied by VCCA and when the (OE) input is low, all
outputs are placed in the high-impedance state. To ensure the high-impedance state of the outputs during
power-up or power-down, the OE input pin must be tied to GND through a pulldown resistor and must not be
enabled until VCCA and VCCB are fully ramped and stable. The minimum value of the pulldown resistor to ground
is determined by the current-sourcing capability of the driver.

 

 

Question???

 

1. Will the A-B I/O remain in HIZ through states 1-5???

2. According to the datasheet, the outputs are supposed to be in tristate as long as VCCA or VCCB are at ground or OE = logic 0. 

Assuming that OE is pulled high, At what voltage level for VCCA, VCCB during turn on do the outputs leave tristate?

 

State 1:  VCCA = 0V      VCCB = 0V           OE =LOGIC 0      A-B OUTPUTS = HIZ

State 2:  VCCA = 0V      VCCB = RAMP     OE =LOGIC 0      A-B OUTPUTS = HIZ

State 3:  VCCA = 0V      VCCB = 3,3V        OE =LOGIC 0      A-B OUTPUTS = HIZ

State 4:  VCCA =RAMP  VCCB = 3.3V       OE =LOGIC 0      A-B OUTPUTS = HIZ

State 5:  VCCA = 1.8V    VCCB = 3.3V       OE =LOGIC 0      A-B OUTPUTS = HIZ

State 6: VCCA = 1.8V     VCCB=  3.3V       OE =LOGIC 1      A-B OUTPUTS = LOGIC LEVEL 


IWR1443: How do I place antennas/what material do I use?

$
0
0

Part Number:IWR1443

Hello all!

First I just want to apologize for being so poorly informed on the topic.

We are trying to make a device that uses the IWR1443 sensor. We have the EVM board and the SDK with which we can achieve our purpose.

Obviously, however, we want to integrate the IWR sensor into our own PCB, and I wasn't able to find much documentation regarding how the place antennas in a custom design / how do they work (does the antenna "see" from the point where it ends?, sorry again for being so misinformed).

My question is basically, are there any design rules we need to follow when designing a trace on our PCB that will act as an antenna/ is it possible to extend the antenna to a different location (like have the PCB in one part of our device and run the antenna to measure from a different part of our device).

I know this is probably a pretty vague question, but I would hugely appreciate if anyone can point me to some documentation or publications that could help us understand (I've already read the EVM user guide).

Thanks!

-Saurav Shroff

LP55231: Intermittent blinking glitches (I2C control)

$
0
0

Part Number:LP55231

We are using the LP55231 to blink eight white LEDs in different patterns at moderate frequencies (~100 Hz). The surrounding circuitry is identical to the example layout illustrated under "Typical Application" on page 1 of the datasheet (CLK is tied to ground). We are using an nRF52 to control the LEDs via I2C. Due to restrictions in our application we cannot use the built-in program engine.

Unfortunately, we can see with the naked eye that something is not right. Take the following sequence of events, for example:

  1. Set PWM for D1 to 0xFF
  2. Wait 5 ms
  3. Set PWM for D1 to 0x00
  4. Wait 5 ms

One would expect this to result in a smooth PWM signal on the LED, but we are observing random events where the LED remains on or off for a fraction of a second. In other words, it looks like the duty cycle is more like 80 % for one cycle every once in a while. Observing the I2C bus with a logic analyzer reveals that all communication happens flawlessly without interruption. We are also able to read the "D1 PWM" register after writing to it to confirm that the correct value has been written. We loaded up the program engine with a simple program to perform the same sequence of actions, and it works perfectly.

Do you know why we might be seeing this effect? If not, do you have tips on how we can investigate this futher?

I am happy to provide further information, please do not hesitate to ask.

Consulting some questions about ADC application

$
0
0

Hi,

As below,there are some questions about ADC application.

1.What's the relationship between accuracy and resolution?

2.Using an op to drive an ADC,how to choose the operational amplifier?What parameters should be considered?

Would you please give me some examples and advices?

Thanks!

TLC59116: I'm able to program it and read the memory but nothing happens

$
0
0

Part Number:TLC59116

Hello,

I'm using an Arduino UNO for programming the TLC59116 and I'm able to configure the component and read the configuration but I can't see any efect happening on the LEDs. Here is the configuration I have:

START
C0 Control Byte: Slave Address 60 Write
ACK
80
ACK
0
ACK
20
ACK
FF
ACK
FF
ACK
FF
ACK
FF
ACK
FF
ACK
FF
ACK
FF
ACK
FF
ACK
FF
ACK
FF
ACK
FF
ACK
FF
ACK
FF
ACK
FF
ACK
FF
ACK
FF
ACK
FF
ACK
0
ACK
10
ACK
10
ACK
10
ACK
10
ACK

STOP

I'm reading it using a USBee Sx and this is what it decode it from SDA.

This is the code I'm executing:

// Transmit to the TLC59116
Wire.beginTransmission(ADDRESS);
// Send the control register. All registers will be written to, starting at register 0
Wire.write(byte(AUTO_INCREMENT_ALL_REGISTERS));
// Set MODE1: no sub-addressing
Wire.write(byte(0));
// Set MODE2: dimming
Wire.write(byte(0x20));
// Set individual brightness control to maximum
for (int i=0; i< 16; i++)
Wire.write(byte(0xff)); //0XFF
// Set GRPPWM: Full brightness
Wire.write(byte(0xff)); //0XFF
// Set GRPFREQ: Not blinking, must be 0
Wire.write(byte(0));
// Set LEDs off for now
for (int i=0; i< 4; i++)
Wire.write(byte(0x10));
// Set the I2C all-call and sub addresses (if needed)
Wire.endTransmission();

delay(100);

Regards,

Pascal

TMS320F2810: Is HFI lib file support to TMS320f2810?

$
0
0

Part Number:TMS320F2810

Hi  TI team,
Thanks for support on HFI lib file. Recently i had worked and got good results with "eSMO" lib file,but i found below issue with HFI lib file. when i inlcude the "HFI Lib" file in my project (DSP- TMS320F2810).
and i called a init function "HPF_INIT " then it gives me error as below
undefined first referenced
symbol in file
--------- ----------------
_EPwm1Regs E:\bpn\working_project\UniversalFrmVer010_01\Lib\HFI.lib<hfi.obj>
_EPwm2Regs E:\bpn\working_project\UniversalFrmVer010_01\Lib\HFI.lib<hfi.obj>
_EPwm3Regs E:\bpn\working_project\UniversalFrmVer010_01\Lib\HFI.lib<hfi.obj>
_EPwm4Regs E:\bpn\working_project\UniversalFrmVer010_01\Lib\HFI.lib<hfi.obj>
_EPwm5Regs E:\bpn\working_project\UniversalFrmVer010_01\Lib\HFI.lib<hfi.obj>
_EPwm6Regs E:\bpn\working_project\UniversalFrmVer010_01\Lib\HFI.lib<hfi.obj>
_EPwm7Regs E:\bpn\working_project\UniversalFrmVer010_01\Lib\HFI.lib<hfi.obj>

As per my understanding lib files are target independent Is this HFI lib file supports to "TMS320F2810"- DSP.?  please suggest how i recover from this issue 

Regards,

Bipin

CCS / TMS320C6657:Kalman filter caused out of memory

$
0
0

Part Number:TMS320C6657

Tool/software: Code Composer Studio

I applied Kalman filter on the C6657. But I do not know how to initialize it, I can not find the routine. I refer to a blog following the definition and initialization, but it always prompts me L1 / L2 cache memory fault. I use sysbios. I guess it may be out of memory. But I do not know how to solve this problem. My input picture size is 704 * 576. I do not know if this is related to the size of the picture I typed in. I hope someone can help me.

Below is the error content

=0x0
B30=0x0 B31=0x108dc690
NTSR=0x1820f
ITSR=0x20d
IRP=0x108d3ba8
SSR=0x0
AMR=0x0
RILC=0x5
ILC=0x0
Exception at 0x108c8f98
EFR=0x40000002 NRP=0x108c8f98
Internal exception: IERR=0x11
Instruction fetch exception
Resource conflict exception
DMC Exception MPFAR=0x10038 MPFSR=0x120
Security violation, Local L1/L2 cache memory Fault
Supervisor Read violation, Fault ID=0x0
ti.sysbios.family.c64p.Exception: line 256: E_exceptionMax: pc = 0x108c8f98, sp = 0x80003f08.
xdc.runtime.Error.raise: terminating execution

I use Kalman filter like this:

void kalman2x4_initialize(VLIB_kalmanFilter_2x4 *KFtest)

 {

 memset(KFtest->transition, 0, sD_2x4*sD_2x4*sizeof(short));

 memset(KFtest->errorCov, 0, sD_2x4*sD_2x4*sizeof(short));

 memset(KFtest->predictedErrorCov, 0, sD_2x4*sD_2x4*sizeof(short));

 memset(KFtest->processNoiseCov, 0, sD_2x4*sD_2x4*sizeof(short));

 memset(KFtest->measurementNoiseCov, 0, mD_2x4*mD_2x4*sizeof(short));

 memset(KFtest->measurement, 0, sD_2x4*mD_2x4*sizeof(short));

 memset(KFtest->state, 0, sD_2x4*sizeof(short));

 memset(KFtest->predictedState, 0, sD_2x4*sizeof(short));

 memset(KFtest->kalmanGain, 0, sD_2x4*mD_2x4*sizeof(short));

 memset(KFtest->temp1, 0, sD_2x4*sD_2x4*sizeof(short));

 memset(KFtest->temp2, 0, sD_1x2*sD_2x4*sizeof(short));

 memset(KFtest->temp3, 0, sD_1x2*sD_2x4*sizeof(short));



 memcpy(KFtest->transition,transition,sD_2x4*sD_2x4*sizeof(short));
 memcpy(KFtest->errorCov,errorCov,sD_2x4*sD_2x4*sizeof(short));
 memcpy(KFtest->processNoiseCov,processNoiseCov,sD_2x4*sD_2x4*sizeof(short));
 memcpy(KFtest->measurement,measurement,mD_2x4*sD_2x4*sizeof(short));
 memcpy(KFtest->measurementNoiseCov,measurementNoiseCov,mD_2x4*mD_2x4*sizeof(short));

 }
void image_detect(VLIB_kalmanFilter_2x4 *kf ,uint16_t x ,uint16_t y)
 {
	 uint16_t* measure = (uint16_t*) malloc(2);
	 measure[0] = x;
	 measure[1] = y;
	 uint16_t*Residual=(uint16_t*) malloc(4);
	 VLIB_kalmanFilter_2x4_Predict   (kf);
	 VLIB_kalmanFilter_2x4_Correct  (kf,measure,Residual);
	 free(measure);
	 free(Residual);
 }
//initialization
	if(result->falg ==0)
				{
					kalman2x4_initialize(kf);
					kf->state[0]=measure_x;
					kf->state[2]=measure_y;
				}
//application
      image_detect(kf ,measure_x ,measure_y);

AM3358: Recommended PHY for RMII mode

$
0
0

Part Number:AM3358

Is there a recommended RMII PHY for the AM3358?  I've read some threads on incompatibility issues.  Will the KSZ8081 work (will supply a 50MHz clock on RMII1_REFCLK)?


Linux/TMDXEVM8148: Clarification on DM8148 EVM capture_encode demo - M3 firmware

$
0
0

Part Number:TMDXEVM8148

Tool/software: Linux

Hello,

Searching through the e2e forums, i found this thread to be matching my requirement.

e2e.ti.com/.../563071

So, based upon my understanding from this thread, i would like to clarify few more questions. Kindly provide your thoughts on my questions below at the earliest 

1. To which processor does Cortex M3 refer to? I confused on this as i couldn't find anything like this in the Mistral HW documentation. I see only DM8184's Core A8. Where is M3 chip present in the DM8148 EVM board?

2.In order to make this capture_encode demo to work for a component input capture apart from 1080p and 720p or a different input source like VGA/S-Video/Composite/DVI/HDMI, we need modification to the M3 firmware and OMX Captue_Encode Example code(The current command line args doesn't provide the facility to choose input source)? 

3.Does TI provide M3 firmware? From the thread i see "TI is not planning to release source code of M3 firmware binary" as reply in 2011. However, i would like to double confirm this now.

4.If TI doesnt provide M3 firmware, the only option to do video capture for different inputs is to go with v4l2 driver?

DRV8870: Motor does not work with external capacitor at OUT1 and OUT2

$
0
0

Part Number:DRV8870

Hello support team,


My customer is going to use DRV8870 with external capacitor 1uF or 0.1uF at between OUT1 and OUT2 for noise filtering purpose. (Actually, this capacitor had existed since they used another motor driver IC in their system.) In this case, the DC moter sometimes does not work. But, the motor is no problem when the external capacitor is removed from OUT1 and OUT2.

1. Is there any restriction for the external capacitor at OUT1-OUT2 in this device?
2. If so, could you explain the mechanism of failure? Is the OCP deglitch time related?


Thank you for your support.


Regards,
Kaizawa

AWR1642BOOST: Can I get real-time data with TSW1400+AWR1642 with Radar Studio?

$
0
0

Part Number:AWR1642BOOST

Hi, 

I got the adc_data successfully with TSW1400 and AWR1642. You know that each time we get data will hit  button "TSW1400 ARM" and "Trigger frame" sequencelly.

Now, I want to get the real-time data so as to process by my matlab or python program to plot the range-doppler figure.

I don't know how to get the real-time data by Radar Studio, Can you help me?

Thanks!

Jinjun

AM4376: GPMC configuration

$
0
0

Part Number:AM4376

Hello All,

Our company developed a board that use AM4376BZDN100 processor and Altera FPGA.

Those modules connected through GPMC.

On the hardware side those modules will use two configurations, one for receiving  large amounts of data, and the second is for commands(read write to registers).

1. NOR flash type Synchronous Burst Read 16X16 bits based on chip select Csn0.
2. NOR flash type asynchronous Read and Write single word based on chip select Csn1 for access to internal register.

Lets suppose that the hardware is working perfectly.

1.On the Linux side (on AM4376), where should i start from?

2.How do i configure the GPMC?

3.clocks? 

4.manual on GPMC functions/API?

I will very appreciate any help here (a lot of links that i found doesn't work nay more).

Best Regards,

Alexey

CCS/CC2640R2F-Q1: Unable to rebuild project after project name change.

$
0
0

Part Number:CC2640R2F-Q1

Tool/software: Code Composer Studio

I created workspace 100-Empty and follow tutorial, I then copy the workspace folder to 100_Empty_1B and rename project via CCS Empty1B

When I comply, it gave error because something within CCS did not update the setup variable to 100_Empty_1B : within F:\009-ADT-MyGIT\050-CC2640R2\100_Empty\

I checked the project properties which confirm correctly to the renamed folders, but <workspace_loc> variable is Eclipsed defined, I could not figure out how to check this or override this.

Suggestion?

"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 8 all -O
'Building file: ../empty.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/bin/armcl" -mv7M3 --code_state=16 --float_support=vfplib -me --include_path="F:/009-ADT-MyGIT/050-CC2640R2/100_Empty_1B/Empty_1B" --include_path="C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/kernel/tirtos/packages/ti/sysbios/posix" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include" --define=DeviceFamily_CC26X0R2 -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="empty.d_raw" --cmd_file="F:/009-ADT-MyGIT/050-CC2640R2/100_Empty_1B/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/Debug/configPkg/compiler.opt" "../empty.c"
'Finished building: ../empty.c'
' '
'Building target: Empty_1B.out'
'Invoking: ARM Linker'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/bin/armcl" -mv7M3 --code_state=16 --float_support=vfplib -me --define=DeviceFamily_CC26X0R2 -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on -z -m"Empty_1B.map" -i"F:/009-ADT-MyGIT/050-CC2640R2/100_Empty_1B/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/lib" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="Empty_1B_linkInfo.xml" --rom_model -o "Empty_1B.out" "./CC2640R2_LAUNCHXL.obj" "./ccfg.obj" "./empty.obj" "./main_tirtos.obj" "../CC2640R2_LAUNCHXL_TIRTOS.cmd" -l"F:/009-ADT-MyGIT/050-CC2640R2/100_Empty_1B/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/Debug/configPkg/linker.cmd" -l"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/display/lib/display.aem3" -l"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/mw/lcd/lib/lcd.aem3" -l"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/grlib/lib/grlib.aem3" -l"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/drivers/rf/lib/rf_multiMode_cc26x0r2.aem3" -l"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/drivers/lib/drivers_cc26x0r2.aem3" -l"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/drivers/pdm/lib/pdm_cc26x0r2.aem3" -l"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/kernel/tirtos/packages/ti/dpl/lib/dpl_cc26x0r2.aem3" -l"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/devices/cc26x0r2/driverlib/bin/ccs/driverlib.lib" -llibc.a
<Linking>
error #10008-D: cannot find file "F:\009-ADT-MyGIT\050-CC2640R2\100_Empty\tirtos_builds_CC2640R2_LAUNCHXL_release_ccs\Debug\configPkg\package\cfg\release_pem3.oem3"
error #10008-D: cannot find file "F:\009-ADT-MyGIT\050-CC2640R2\100_Empty\tirtos_builds_CC2640R2_LAUNCHXL_release_ccs\src\sysbios\rom_sysbios.aem3"

Viewing all 262198 articles
Browse latest View live


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