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

AM5718: USB compliance test not working

$
0
0

Part Number:AM5718

Hi everybody ,

Our board has an AM5718 processor with one USB host and one USB device (see attached image), we need to implement USB 2.0 "test packet" compliance test for the host. To accomplish this task a fixture has been plugged with an oscilloscope at its other end so to measure the "eye diagram".

We followed the procedure showed in

http://processors.wiki.ti.com/index.php/Linux_Core_DWC3_User's_Guide

with no apparent error,

"/sys/kernel/debug/48890000.usb/testmode" value is "test_packet" as commanded but nothing appears on the oscilloscope.

DCW3 seems not to respond to the sent command, our kernel is 4.9.45-rt23, is there any possible reason why the test is not working ?

(Please visit the site to view this file)egards

Carlo


CCS/MSP430F5438A: Switched to CCS 8.0.0.00016 -> no local variables displayed when debugging.

$
0
0

Part Number:MSP430F5438A

Tool/software: Code Composer Studio

Need a little help...

Just switched from CCS v6.3 to

Optimization is set to "None."

Debug info is "On."

Command line in CCS Tool Settings: "${CG_TOOL_GCC}" -c

All Options line in CCS Tool Settings: -mmcu=msp430f5438a -I"C:/ti/ccsv8/ccs_base/msp430/include_gcc" -I"C:/Users/jtaylor/HgWorkspace/TestLocals" -I"C:/ti/ccsv8/tools/compiler/msp430-gcc-6.4.0.32_win32/msp430-elf/include" -O0 -g -gdwarf-3 -gstrict-dwarf -Wall -mlarge -mhwmult=f5series -mcode-region=none -mdata-region=none

Same project working fine in v6.3.

The following code exhibits the same problem and was created in v8.0.0.00016 as a GNU compiler project.

#include <msp430.h> 
#include <stdint.h>

void test(void);

int main(void)
{
  int i     = 0;
  uint8_t k = 255;
  int j, m;

    WDTCTL = WDTPW | WDTHOLD;    // stop watchdog timer
    
    for(i = 0; i < 25; i++)
    {
      k++;
      j = k;
      j++;
      m = j;
      m++;
    }

  test();

    return 0;
}

void test(void)
{
  int i     = 0;
  uint8_t k = 255;
  int j, m;

  WDTCTL = WDTPW | WDTHOLD; // stop watchdog timer

  for(i = 0; i < 25; i++)
  {
    k++;
    j = k;
    j++;
    m = j;
    m++;
  }
}

CC3100: Chip select edge detected

$
0
0

Part Number:CC3100

Hello,

Is the chip select an edge detected signal for the CC3100? I am curious if non-monotonic edging will have adverse effects with the CC3100 in SPI host interface. 

TSW16DX370EVM: Labview errors when opening configuration gui

$
0
0

Part Number:TSW16DX370EVM

When I open the TSW16DX370EVM configuration gui, I receive a number of pop-up errors:

LabVIEW: Resource not found.

An error occurred loading VI 'NI_Gmath.lvlib:Sine Integral.vi'. LabVIEW load error code 3: Could not load front panel.

 

LabVIEW: Resource not found.

An error occurred loading VI 'NI_Gmath.lvlib:Cosine Integral.vi'. LabVIEW load error code 3: Could not load front panel.

 

LabVIEW: Resource not found.

An error occurred loading VI 'NI_Gmath.lvlib:Gamma Function.vi'. LabVIEW load error code 3: Could not load front panel.

 

LabVIEW: Resource not found.

An error occurred loading VI 'NI_Gmath.lvlib:Incomplete Gamma Function.vi'. LabVIEW load error code 3: Could not load front panel.

 

Missing subVI NI_Gmath.lvlib:Incomplete Gamma Function.vi in VI NI_Gmath.lvlib:(Incomplete) Gamma Function (obs).vi.

Missing subVI NI_Gmath.lvlib:Gamma Function.vi in VI NI_Gmath.lvlib:(Incomplete) Gamma Function (obs).vi.

Missing subVI NI_Gmath.lvlib:Cosine Integral.vi in VI NI_Gmath.lvlib:Three Register Calculation.VI.

Missing subVI NI_Gmath.lvlib:Sine Integral.vi in VI NI_Gmath.lvlib:Three Register Calculation.VI.

 

The gui opens, but in simulation mode only, and "Reconnect FTDI" has no effect.  I suspect that there is a Labview requirement I am not meeting, but am not sure which one.  Could you please clarify the Labview requirements to run this GUI?  Or, of course any other suggestions are appreciated too :)

CC3220: OOB example - Where is code for LED control?

$
0
0

Part Number:CC3220

Hi,

I am trying to work with the OOB example, and I see that I am able to control the CC3220's LED from my phone. I wanted to know where the code for this LED control is. I'd appreciate any help.

CCS/AM4378: Periodic Timer Causes Debug Halt

$
0
0

Part Number:AM4378

Tool/software: Code Composer Studio

I am using the EVM board with SDK 4.3.0.5 on linux using CCS7.4. i am a linux newbie coming from RTOS so i am still using CCS for now.

i want to run a periodic timer every 10ms.

looking at these sources:

i ended up with this code:

(inlcuded library rt)

#include <time.h>

#include <sys/signal.h>
#include <sys/errno.h>

#define CLOCKID CLOCK_REALTIME
#define SIG SIGRTMIN

#define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \
} while (0)

timer_t CodecAudioTimerid;

void Handler(int sig, siginfo_t *si, void *uc);

void CreateCodecTimer(void)
{
struct sigevent sev;
struct itimerspec its;
sigset_t mask;
struct sigaction sa;

/* Establish handler for timer signal */
//printf("Establishing handler for signal %d\n", SIG);
sa.sa_flags = 0;//SA_SIGINFO;
sa.sa_sigaction = Handler;
sigemptyset(&sa.sa_mask);
if (sigaction(SIG, &sa, NULL) == -1)
{
errExit("sigaction");
}

/* Block timer signal temporarily */
//printf("Blocking signal %d\n", SIG);
/*sigemptyset(&mask);
sigaddset(&mask, SIG);
if (sigprocmask(SIG_SETMASK, &mask, NULL) == -1)
errExit("sigprocmask");*/

/* Create the timer */
sev.sigev_notify = SIGEV_SIGNAL;
sev.sigev_signo = SIG;
sev.sigev_value.sival_ptr = CodecAudioTimerid;
if (timer_create(CLOCKID, &sev, &CodecAudioTimerid) == -1)
{
errExit("timer_create");
}

/* Start the timer */
its.it_value.tv_sec = 0;
its.it_value.tv_nsec = 10000000;
its.it_interval.tv_sec = its.it_value.tv_sec;
its.it_interval.tv_nsec = its.it_value.tv_nsec;

if (timer_settime(CodecAudioTimerid, 0, &its, NULL) == -1)
{
errExit("timer_settime");
}

/* Unlock the timer signal, so that timer notification
can be delivered */
//printf("Unblocking signal %d\n", SIG);
/*if (sigprocmask(SIG_UNBLOCK, &mask, NULL) == -1)
errExit("sigprocmask");*/
}

void Handler(int sig, siginfo_t *si, void *uc)
{
//stuff

}

when i run debug in code composer every single time the timer expires my system halts with the message:

Program received signal SIG34, Real-time event 34.
0xb6faf476 in read () at ../sysdeps/unix/syscall-template.S:84
84 in ../sysdeps/unix/syscall-template.S

i do hit my handler breakpoints so it is going to the right place but i can't do anything while debugging in this way.

FYI i followed this webpage for setting up debugging on CCS7.4 (with some tweaks since it's not CCS5):

http://processors.wiki.ti.com/index.php/Linux_Debug_in_CCSv5

TUSB4041PAPEVM: Were can I get the Microsoft Windows based EEPROM utility and Windows drivers for the TUSB4041 EEPROM Programming interface (with VID 0451 and PID 80FF)?

$
0
0

Part Number:TUSB4041PAPEVM

Hello,

I am also trying to program an EEPROM for the TUSB4041IPAP. Could the windows drivers and required utilities please be sent to  me?

Thank you,

Alex

Linux/AM5728: Connecting to C66x using JTAG while Linux is running.

$
0
0

Part Number:AM5728

Tool/software: Linux

Hi,

I am using AM572x EVM and have problem connecting to C66x using JTAG. I am able to connect and load the code to all cores with JTAG. But when I have Linux running on A15, when I tried to connect to C66 cores, JTAG always complains that 'the core is held in reset'. I am using the standard image for SD card created by Linux SDK. And I believe there are codes for both C66s that are loaded into the C66 by the boot loader.

Here is my question: How can I connect ONLY to C66 using JTAG while Linux is running on A15?

Thanks


LMK04832: Using multiple devices!

$
0
0

Part Number:LMK04832

Support, I need to use multiple devices in my design as I need more clock pairs. Can I just use one VCXO and supply DCLK to the 2nd device to phase lock the 2nd device?

TUSB8041EVM: TUSB8041 USB-HUB Layout files

SN74LVC2G125: Pin marking and Logic Level

$
0
0

Part Number:SN74LVC2G125

Hi,

 Need to know how to identify pin1 of the device. I am using SN74LVC2G125DCUR - VSSOP (8 pin package).

 I see white line marking on one side whereas in the datasheet the index area is marked on one quadrant. Help me identify the pin1. Attaching image of layout for reference.

I need to have pin 1 near the white dot. Is this layout correct.

Also as per the datasheet when _OE is Low i.e 0V, the Output should be same as input. But in my device I am seeing it in reverse fashion. Why is it so?

Thanks and Regards

Arjun P Raj

LM5170-Q1: ISET PWM frequency MAX value allowed?

$
0
0

Part Number:LM5170-Q1

Dear Team,

 

My customer is evaluating DC-DC converter LM5170-Q1.

In the ds pag.7 the recommended maximum value for F_ISETD is F_ISETD = 100KHz.

 In the following pag.19 of ds another example is given in which a magnitude greater than F_ISETD is also indicated.

 Customer should have a low T_delay_ISETD, So Can 100KHz limit could be exceeded? And if so how much?

 

Many Thanks,

 

FAX

CCS/TMS320C6655: Where is TMS320C6400 defined

$
0
0

Part Number:TMS320C6655

Tool/software: Code Composer Studio

We have a project that the device selection is Family:C6000, Variant: TMS320c6655. It's found that both predefine symbols _TMS320C6600 and _TMS320C6400 are defined for the project. I assume that _TMS320C6600 is defined by the device selection TMS320c6655.  Is _TMS320C6400 also defined when c66xx device is select?

ADS1299-6: Is it possible to use SRB2 and SRB1 as an equivalent to the absent TESTP and TESTN?

$
0
0

Part Number:ADS1299-6

Hi,

 

With ADS1299-6, is it possible to use SRB2 and SRB1 as an equivalent to the absent TESTP and TESTN? From figure 18 in the specification (sbas499c.pdf) it looks like SRB2 can't be routed to PGAP, without also connecting it to INxP.

 

Best Regards

 

BQ28Z610: Gauge BQ28Z610

$
0
0

Part Number:BQ28Z610

Hi sir,

        Recently, we ues the gauge bq28z610, and want to know the something about it, as follows:

        1. Is Shutdown mode the same to Ship mode?  (Ship mode for Battery shipping!)

        2. If we want to set mode from Normal to shutdown mode, how to set the register and configure it?

        3. How to wake up the Battery from shutdown mode to Normal mode? for example: configure the register or others way.

BR,

Jingle


TPA3121D2: TPA3121D2

$
0
0

Part Number:TPA3121D2

I am using TPA3121D2 in single ended configuration with 8 Ohm load.

 I am facing issue if interference of oscillator switching frequency with output signal.

Query 1: Without giving any input at Lin pin, Output at Lout is always showing 1.76V@288kHz switching frequency.

Query 2: When input is given, at that time proper amplification is happening wrt voltage level but still switching frequency noise has been observed on top of output signal.

Please suggest proper filtering elements.

As of now, we have checked with EVM board in that 33uH Inductor and 220nF capacitor is used as output filter.

PFA waveforms for reference(Please visit the site to view this file).

TUSB4041I: TUSB4041I EEPROM Utility and Drivers

$
0
0

Part Number:TUSB4041I

Hello, 

I am trying to program a TUSB4041I EEPROM and configure it to work on windows. Where can I find the required drivers and software needed to do this?

Thank you,

Alex

TPS43061: Unit failing which has this switcher in RE102

$
0
0

Part Number:TPS43061

Need someone to review the schematic to make sure all the components used for the TPS43061RTER IC are correct value as we are failing at RE102 radiation testing. We had the other circuits disabled and only this circuit enabled and we are failing pointing to the fact that the switcher circuit is adding noise.(Please visit the site to view this file)

CC2640R2F: BT 5.0 Long Range Advertising again

$
0
0

Part Number:CC2640R2F

Hello,

Is the Long Range Advertising supported by the latest BLE SDK already? If not, when do you think it will be supported? Will it be ever supported?

Thank you in advance!

Bence

TIDA-01093: Where can I find the firmware in MSP430G2955?

Viewing all 262198 articles
Browse latest View live


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