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

WEBENCH® Tools: iPad WEBENCH Error

$
0
0

Tool/software: WEBENCH® Design Tools

Hello,

In order to avoid the requirement for Flash I am using the iPad version of Webench. However, recently I have encountered an error when trying to use the website. When trying to create a new design the page alternates 2 or 3 times a second between this:

Loading

and this:

Looking at the developer console it appears that during the transition between the two there is an error: "sitesearch-header-min.js?versionNumber=1.2:762 Uncaught ReferenceError: linkSearch is not defined at sitesearch-header-min.js?versionNumber=1.2:762"

I've tried different browsers, different computers, etc and it doesn't seem to work on any of them.

Any ideas on what's going on / how I can fix it?

Thanks,

Kyle Goodrick


RTOS/66AK2G12: McASP: Run McASP as RX only with no TX clocks

$
0
0

Part Number:66AK2G12

Tool/software: TI-RTOS

Hello,

I am trying to run McASP1 on the K2G as a receiver only.  I have a clock going to the RX clock and frame sync, but no connection to the TX clock lines.  I've made significant progress on this, but I'm not seeing any repeated traffic on the port. My application is based upon the McASP example projects.

I also have McASP0 set up passing audio without issue.  The hope is to run McASP0 with 4 serializers in RX, 12 in TX, and McASP1 with 8 serializers in RX for a total of 12 input pins and 12 output pins.

In order to run the McASP RX State machine off of the RX clock pins, I had to set the ASYNC bit (which is located in the TX State machine registers).  In order to set the ASYNC bit, I had to start up the TX state machine.  In order to start the TX state machine, I had to set up an extra serializer as TX and set up the TX clocks using the internal clock.  In order to prevent TX underrun, I had to delete the TX channel before I start the transfers.  So, now everything compiles and starts up.  The LPSCs are on, the clocks are running, and I'm just curious what else I might need to check.  

It's worth noting that I have Linux running on the other core.  I have set aside the EDMA channels in the device tree, but I am not confident in my setup on the DSP end for the DMA.  I have the structures to reserve the channels, but I am not sure what shadow region corresponds to which core.  So it's possible that the callback is not getting called because the EDMA event is not making it through.  I'll be looking into that next week, but I just thought I'd ask you all to see if anyone had any ideas (or knows if this is even possible).

Cheers,

Jeff

DRV2605L: Haptics Effect Recommendation

$
0
0

Part Number:DRV2605L

Hi,

My customer purchased a DRV2605L to evaluate our haptics solution.  Below is their feedback:

The feel of the feedback that is on the Iphone 10 and Apple Watch ( sharp , strong , short~100-200ms) is  what we like to try and replicate.

The eval. board does not appear to have a example close enough to this. The eval. board LRA device is what we would like to use to mimic this effect.

Any recommendations/support you could give us to accomplish this?

Is there a particular built-in effect that may mimic their requirement?  Or is there another device or EVM you'd recommend?

Thanks,

Chuchen

The feel of the feedback that is on the Iphone 10 and Apple Watch ( sharp , strong , short~100-200ms) is  what we like to try and replicate.

 

The eval. board does not appear to have a example close enough to this. 

 

The eval. board LRA device is what we would like to use to mimic this effect. Any recommendations/support you could give us to accomplish this?

BQ40Z50-R1: Gas gauge is asserting the pin for cell over voltage events that do not occur.

$
0
0

Part Number:BQ40Z50-R1

I have some 4S packs that seem to exhibit the same issue as described in the original thread of this title. I took one sample and physically measured the cell voltages with a DMM and all four were approx. 3.57V. However, the cell voltages reported by the bq40z50-R1 were: Vcell1 2534 mV, Vcell2 4615 mV, Vcell3 3571 mV, and Vcell4 3572 mV.

In each of the 3 packs, Vcell1 is reported as unusually low voltage (such as 2.5V), Vcell2 is reported as unusually high voltage (as high as 5.5V), and Vcell3 & 4 are reported as reasonable voltage values. This pattern looks suspicious.

Could you please tell me the outcome of the original poster's issue? (it is not shown in this thread.) It may save me a tremendous amount of time in analyzing my problem. Thank you.

-Joe

DP83849I: Link up, Link down swing

$
0
0

Part Number:DP83849I

Hello,

I have several boards that are showing 'link-up -100Mbps/Full - flow control off', link-down' swings. The device repeats this continuously.

This happens after the boards have been used for some time. I will leave it connected over the weekend and when I come back I see the behavior. 

This is unrecoverable on reset, other boards with the same hardware are fine on the same network connection. 

Replacing the phy resolves the issues.(Will need to confirm.) 

I am seeing signal on the RX lines, and I occasionally see data on the TX lines. I'm also seeing some <1us pulses on the TX lines, which seems way too fast to be the FLP.

This is all on A, the other port does not  seem to be affected. The signal levels look OK. 

What would you look at first? What do you recommend as first steps in debugging/ finding root cause?

CC2530 PWM Settings Part2

$
0
0

Hi Guys.

I working to finish my dimmer device I´m using the (Zigbee Z-Stack Home 1.2.2a.44539 Home Automation / SampleLight) as example.

Mr Y.K. told me, in another post here, to use a Z-Stack Lighting /SampleApp for example to change my code, mainly in PWM setup definitions over hal_board_cfg.h , I made some changes as him advised me. But during those changes I observed, during debugger in my c. file, that part of my code is not reached which is preventing to go a way to finish my hal_board_cfg definitios.

In my C. file has #if (defined HAL_BOARD_ZLIGHT) || (defined HAL_PWM) before important functions necessary to call another files to working PWM as I need.

>>>>> static void zclTTa0003_AdjustLightLevel( void )

#if (defined HAL_BOARD_ZLIGHT) || (defined HAL_PWM) >>>>>>>>>>>> this prevents it from reaching the next level

zclTTa0003_UpdateLampLevel(zclTTa0003_LevelCurrentLevel);

>>>>> void zclTTa0003_UpdateLampLevel( uint8 level )

uint16 gammaCorrectedLevel;

// gamma correct the level

gammaCorrectedLevel = (uint16) ( pow( ( (float)level / LEVEL_MAX ), (float)GAMMA_VALUE ) * (float)LEVEL_MAX);

halTimer1SetChannelDuty(RED_LED, (uint16)(((uint32)gammaCorrectedLevel*PWM_FULL_DUTY_CYCLE)/LEVEL_MAX) );

OBS. All those parameters used above I kept as default value.

I tried to setup  HAL_PWM in a different option on compiler options (HAL_PWM, HAL_PWM=TRUE, HAL_PWM=1) and is not woring.

I tried also to find an specific setup definition that have correlation ship with HAL_PWM in Zstack user guide didnt have a success. 

When I used HAL_PMW in different combination above the IAR compiler appear errors:

Error[e46]: Undefined external "HalTimer1Init::?relay" referred in zcl_TTa0003 ( C:\Texas Instruments\Z-Stack Home 1.2.2a.44539\Projects\zstack\HomeAutomation\
TEHA0003\CC2530DB\RouterEB\Obj\zcl_TTa0003.r51 )
Error[e46]: Undefined external "halTimer1SetChannelDuty::?relay" referred in zcl_TTa0003 ( C:\Texas Instruments\Z-Stack Home 1.2.2a.44539\Projects\zstack\
HomeAutomation\TEHA0003\CC2530DB\RouterEB\Obj\zcl_TTa0003.r51 )

Somebody can help me how to fix this initial issue. Please?

BR

Alex

 

TPS53355: Why the output is 0v

$
0
0

Part Number:TPS53355

Hi there,

We have multiple boards with TPS53355 on them. The part is working well on all boards except one. I was wondering if you can help me debug this issue. Here is the schematics:

The en is 4v, input is 12v, vreg and vbst are 5v. output is 0v. When disable the part by putting a jumper on JP19, the vreg goes down to 0v.

There is a chance that on this board the 12v ATX goes unstable for a while. If it caused the part to be dead, I was wondering if there is a way to confirm that?

Thanks,

Amin

LM3409: LM3409 Shunt FET Topology Inductor Selection for TOF

$
0
0

Part Number:LM3409

Hi,

I'm trying to to design a high powered LED driver for a TOF sensor. I will be driving 4 high powered LEDs in series at 2Amps and modulating them at frequencies up to 20MHz. I'm planning on using the LM3409 with a shunt FET topology. The voltage input range is 18V-20V and the voltage across the 4 LEDs is 14.8V (3.7V x 4).

First off, is the LM3409 suitable for this application? Is there a better suited driver?

I've reviewed the TI resources: SBAA209A document and the 3D Time of Flight Sensors TI Training, but I am having trouble figuring out what inductor I need to use. I am slightly confused because I am not sure if I need to be following the LM3409 datasheet, the TI Time of Flight resources, or both... 

Video #2.6 in the Time of Flight Sensors TI training states the inductor should meet the following requirements:

  1. The ripple current should usually be kept to less than 10% of Imax. (Since my Imax=2A, ripple current should be < 200mA)
  2. Self resonance frequency should be greater than the modulation frequency (20MHz in this case)
  3. Saturation should be ~40% greater than Imax (So rated for >2.8A in my case).

Info from the LM3409 datasheet:

  1. The ripple current should be greater than 24mV/Rsns. So if Rsns ~0.1Ohm then ripple current should be >240mA (This seems to conflict with requirement #1 above, which one do I follow?)
  2. Using the datasheet equations and playing with the variables I always calculate an Inductor between 10uH or more which is quite a bit larger than the 510nH inductor used in the shunt FET topology Time of Flight evaluation. 

Are these requirements are for the same inductor? I am assuming there is only one inductor used in the LM3409 with a shunt FET topology, not two. Should I be trying to find an inductor that satisfies all these conditions? Any help in pointing me in the right direction would be appreciated. Thanks!

Ben


OV10640_IMI sensor FPS setting for TDA3x

$
0
0

Hi,

We have TDA3x Starter Kit along with OV10640_IMI camera sensor. How can we set the frame rate of the sensor to 20 FPS. Right now it is running at 30 FPS in the below usecase

UseCase: chains_issIspSimcop_NetworkTx

IssCapture -> IssM2mIsp -> IssM2mSimcop -> Dup -> Display_Video

IssM2mIsp -> Alg_IssAewb

IssM2mIsp -> IssM2mResizer

IssM2mResizer -> Display_VideoRszB

Dup -> Null (IPU1_1)

GrpxSrc -> Display_Grpx


Thanks,
Keerthi

BQ27531-G1: temperature measurement with different NTC thermistor

$
0
0

Part Number:BQ27531-G1

I'm using the bq27531-g1 + bq24192 solution to manage the battery .

 

In the user's guide,it requires to use an external NTC 103AT-type(10KΩ) thermistor to measure the temperature of battery.

(the temp measure via on-chip temp sensor is out of consideration, because the temp might be different between chip and battery)

However, I'm using a battery with an NTC thermistor of 47KΩ, is there a solution that I can mersure the temperature without replacing the NTC thermistor?

 

Linux/AM4377: USB Device issue in U-boot

$
0
0

Part Number:AM4377

Tool/software: Linux

I'm using am4377 processor with sdk version 04.03.00.05 and encoutered a usb device recogntion issue.

The custom board cannot recognize usb when starting from qspi flash but can recognize usb when starting from sd card in the U-Boot stage.

The following information is printed after issuing 'usb start' command.

U-Boot 2017.01-00458-gccd1c34-dirty (Jun 23 2018 - 10:44:35 +0800)

CPU  : AM437X-GP rev 1.2
I2C:   ready
DRAM:  1 GiB
PMIC:  TPS65218
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
SF: Detected mx25l51235f with page size 256 Bytes, erase size 64 KiB, total 64 MiB, mapped at 30000000
*** Warning - bad CRC, using default environment

Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot:  0
=>
=> usb start
starting USB...
USB0:   Register 2000440 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... Device not responding to set address.

      USB device not accepting new address (error=80000000)
1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
=>

 

soc: am4377
sdk: 04.03.00.05
nor flash: MX25L51245GMI
u-boot defconfig: am437x-evm-qspiboot_defconfig
device tree source:  am437x-sk-evm.dts

Can someone help me to solve the issue, thanks.

 

RTOS/TMS320C6657: SPI NOR boot failure from SPI CS1 (SPISCS1)

$
0
0

Part Number:TMS320C6657

Tool/software: TI-RTOS

Dear All,

I designed custom board using TMS320C6657. And I succeed to boot with test code image (GPIO LED test code) from SPI NOR Flash with DDR initialization.

I connected SPI NOR Flash to SPISCS0 (SPI CS0). 

When I succeed to boot, I set "csel = 2" in nysh.spi.map, and set boot mode pin BOOTMODE [8:7] to "10".

I succeed to boot and I have a correct SPI CS0 pin interface.

I followed SPIboot_with_DDR_UserGuide from below link.

http://processors.wiki.ti.com/index.php/KeystoneI_Bootloader_Resources_and_FAQ#Direct_Boot_Examples_.28without_IBL.29

But I change SPI NOR chip select signal from SPISCS0 (SPI CS0) to SPISCS1 (SPI CS1).  

Also I modifies nysh.spi.map like below and re-run spiboot.bat: 

section {

...

csel = 1 /* for SPI CS1 */

...

}

And I set boot mode pin BOOTMODE [8:7] to "01". But there is no SPI CS1 after power on or reset.

Isn't it possible to boot from SPI CS1?

Thank you and best regards.

CC2530: Problem when using Z-Stack 3.0

$
0
0

Part Number:CC2530

I have used Z-Stack 3.0 for CC2530.  I want to ask which event is called in Coordinator device when 1 End Device disconnect? Because I need to know from Coordinator which End Device is in network, which End Device is not. Thanks for your help!

Linux/AM3358: U-boot configuration

$
0
0

Part Number:AM3358

Tool/software: Linux

HI,

I have uboot and zimage files for AM3354ZCZ720. Now I want to upgrade the processor to AM3358ZCZ100. Same u boot and zimage can be used or i need to change any register values in uboot or zimage for clocks and timing. I am using LCD with LVDS and VGA interface in two applications. Is any changes to be done in LCD related files regarding timing. pls suggest.

MSP430G2553: Interfacing VL6180x time of flight sensor with msp430g2553

$
0
0

Part Number:MSP430G2553

Hi,

I am trying to interface VL6180x time of flight sensor  with msp430g2553.

Its an I2C sensor, I have connected SCL and SDA of sensor to P1.6 and P1.7 of msp430 respectively.

I am using energia IDE, Wire library and Vl6180x pololu library for communication.

Above are the setup, but I am not getting data from sensor to msp.

I have used this same library in energia to interface and test with CC3200, it works good. So the sensor and library are ok.

Pullup resistors for I2C are placed in sensor board itself.

Below is my energia code, the code compiles and dumps into msp without any error.

#include <Wire.h>
#include <VL6180X.h>

VL6180X sensor;

#define GLED P1_0///P2_2
#define RLED P2_1

void setup()
{
  Serial.begin(115200);
  Wire.begin();
  pinMode(GLED,OUTPUT);
  pinMode(RLED,OUTPUT);
  digitalWrite(GLED,LOW);
  digitalWrite(RLED,LOW);
 
  digitalWrite(GLED,HIGH);
  delay(1000);
  digitalWrite(GLED,LOW);

  sensor.init();
  sensor.configureDefault();

  // Reduce range max convergence time and ALS integration
  // time to 30 ms and 50 ms, respectively, to allow 10 Hz
  // operation (as suggested by Table 6 ("Interleaved mode
  // limits (10 Hz operation)") in the datasheet).
  sensor.writeReg(VL6180X::SYSRANGE__MAX_CONVERGENCE_TIME, 30);
  sensor.writeReg16Bit(VL6180X::SYSALS__INTEGRATION_PERIOD, 50);

  sensor.setTimeout(500);

   // stop continuous mode if already active
  sensor.stopContinuous();
  // in case stopContinuous() triggered a single-shot
  // measurement, wait for it to complete
  delay(300);
  // start interleaved continuous mode with period of 100 ms
  sensor.startInterleavedContinuous(100);

}

void loop()
{
  Serial.print("Ambient: ");
  Serial.print(sensor.readAmbientContinuous());
  if (sensor.timeoutOccurred()) { Serial.print(" TIMEOUT"); }

  Serial.print("\tRange: ");
  Serial.print(sensor.readRangeContinuousMillimeters());
  if (sensor.timeoutOccurred()) { Serial.print(" TIMEOUT"); }
  if(sensor.readRangeContinuousMillimeters()>50){
    digitalWrite(RLED,HIGH);
    digitalWrite(GLED,LOW);
  }else{
    digitalWrite(RLED,LOW);
    digitalWrite(GLED,HIGH);    
  }

  Serial.println();
}


MSP430I2041: Question about SPI communcation

$
0
0

Part Number:MSP430I2041

What could be the reason of MISO below? It does not answer.

I checked the probe operations are normal.

And the conditions are as below.

MSP430I2041 firmware : Smart Plug Reference Design (tidc791\MSP430i2040_Source\AFEmetrology\emeter-ng\Debug\Exe\EVM_i2040)

Schematic :

Powre Source : Temporarily forced DC 20V and confirmed that the voltage between V1+/- is 60mV.

Main MCU : ESP 32 BT/WiFi module (powered by USB)

LMR14006: IC IS LV2842,WANT TO CHECK THE DIODIE

$
0
0

Part Number:LMR14006

Due to the problem of procurement,NEED change the DIODIE from the ic1 to ic2.I want to confirm whether there is a problem

IC1 RB160M-60 CD长电(Please visit the site to view this file)

IC2 RB160M-60 LC领晨(Please visit the site to view this file)

We tested the reverse leakage current. The reverse leakage current of IC2 is 13 uA, and the reverse leakage current  of IC1 is 1.4 uA. Whether it has an impact on your LV2842 and LV2862. There is also a question to ask, if the impedance of the MOS tube of the DC/DC chip is 700 milliohms, will it affect the performance of the whole DC/DC? If it does, what are the main impacts? Thank you!

how to tell which TZ pin tripped an ePWM TZ

$
0
0

Hi,

 I'm using TRIP ZONE of DSP 28335. I connect all 6 TZ signals(TZ1,TZ2...TZ6) to every 6 epwm modules(because I need to output 12 pwm). So, in my case, when  an ePWM TZ is tripped,how to tell which TZ pin or pins tripped this epwm tz?

thanks a lot!

LED WIFI smart bulb.

$
0
0

Hi All,

I want to design a WiFi operated Smart LED Bulb with Standard AC input and Also need to control dimming via micro controller as well as will drive WiFi module also.

Can anyone suggest me any solution for these requirement.

Can you suggest me IC that can help in building these design as well as any such reference design please share me.

Below is simple basic block diagram.

Waiting for some feedback.

CCS/LAUNCHXL-CC1352R1: Modifying Project Zero - Crashes when app enters sensor view

$
0
0

Part Number:LAUNCHXL-CC1352R1

Tool/software: Code Composer Studio

I'm trying to modify the project zero for BLE to include the DMM (dual mode manager). I am able to view the services using the LightBlue app, or the TI starter app (via service explorer). But when I try and go to Sensor View, the launchpad crashes with the following printed to the console:

[Cortex_M4_0] sFault: IMPRECISERR: Delayed Bus Fault, exact addr unknown, address: e000ed38
Exception occurred in background thread at PC = 0x00028780.
Core 0: Exception occurred in ThreadType_Task.
Task name: {unknown-instance-name}, handle: 0x20002a08.
Task stack base: 0x20002a70.
Task stack size: 0x1000.
R0 = 0x00000000  R8  = 0x00000000
R1 = 0x00000008  R9  = 0x00000000
R2 = 0x00000006  R10 = 0x00008000
R3 = 0x0000ffff  R11 = 0x200026d8
R4 = 0x00000001  R12 = 0x00022b2d
R5 = 0x00000001  SP(R13) = 0x20003948
R6 = 0x00000000  LR(R14) = 0x00028773
R7 = 0x20003970  PC(R15) = 0x00028780
PSR = 0x61005000
ICSR = 0x00400803
MMFSR = 0x00
BFSR = 0x04
UFSR = 0x0000
HFSR = 0x40000000
DFSR = 0x00000001
MMAR = 0xe000ed34
BFAR = 0xe000ed38
AFSR = 0x00000000
Terminating execution...

In the dmm_wsnnode_ble5_sp example, I see SimplePeripheral_bleFastStateUpdateCb() in simple_peripheral.c, but I cant find my way through the maze of linked and obscured path'ed files to figure out how that is being set. I suspect I am not properly updating the DMM stack state when the app enters "sensor view", and this callback seems to do just that, but as best I can tell, that callback is not set in that example. I found a reference to it in "C:\ti\simplelink_cc13x2_sdk_2_10_00_48\examples\rtos\CC1352R1_LAUNCHXL\dmm\dmm_wsnnode_ble_sp\source\ble_sp\sp_ble_user_config.c" but that doesn't appear anywhere in the example project.

Viewing all 262198 articles
Browse latest View live


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