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

TMS570LC4357: Cortex-R5 Core Fatal Bus Error on ESM for TMS570LC43x causing nError pin to become active

$
0
0

Part Number:TMS570LC4357

Hi,

when my system boots up I am getting Cortex-R5 Core Fatal Bus Error (Group 2 channel 3 from the datasheet)  and which is causing my nError pin to become active. 

When I get the error, ESM register are

Stat2  = 0x00000008

 ErrPinStat  = 0x00000000

IntOffstHgh = 0x00000024

I am getting the error when my TI_Fee_init() function accesses Fee_BlockConfiguration[u16LoopIndex].FeeBlockNumber (where u16LoopIndex is 5).

I also get the error when I access Fee_BlockConfiguration memory block using memory browser. 

So it seems like accessing memory address 0x00074d80 is resulting in the the error that I am getting. 

But other that that, my application is running fine. But I need nError pin to work fine in order to implement TPS65381 nError pin monitoring for safety purposes. 

I have tried solutions mentioned in previous threads regarding this error with no success. 

I am using code composer studio 6.1.2 with Compiler TI v16.9.4. LTS 

on my Flash settings under Debug, Auto ECC Generation and Align program segments to 64-bit memory regions is checked off. and I am using "verify" for Flash verification settings.

Any help regarding this would be appreciated! 

Thanks,

 Swapnil 


RTOS/LAUNCHXL-CC1310: SPI communication between master and slave

$
0
0

Part Number:LAUNCHXL-CC1310

Tool/software:TI-RTOS

Dear community,

for my project I need to implement a SPI communication between a Master and some Slaves.

I started with some basic examples from here.

Master: Should send "Hello World" every 3 seconds.

    Debugging: The status is "SPI_TRANSFER_COMPLETED", every time.

    GPIO_init();
    SPI_init();

    SPI_Handle handle;
    SPI_Params params;
    SPI_Transaction transaction;
    uint8_t txBuf[] = "Hello World";    // Transmit buffer
    uint8_t rxBuf[11];                  // Receive buffer

    // Init SPI and specify non-default parameters
    SPI_Params_init(&params);
    params.bitRate     = 1000000;
    params.frameFormat = SPI_POL1_PHA1;
    params.mode        = SPI_MASTER;

    // Configure the transaction
    transaction.count = sizeof(txBuf);
    transaction.txBuf = txBuf;
    transaction.rxBuf = rxBuf;

    // Open the SPI and perform the transfer
    handle = SPI_open(Board_SPI0, &params);
    if (handle == NULL) {
        /* Error opening SPI */
    }

    while (1) {
        sleep(3);
        GPIO_toggle(Board_GPIO_LED0);

        SPI_transfer(handle, &transaction);
        transaction.txBuf = txBuf;
    }

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

Slave: Should receive the data and compares it

           Debugging: SPI_transfer() never leaves its blocking mode.

    GPIO_init();
    SPI_init();

    SPI_Handle handle;
    SPI_Params params;
    SPI_Transaction transaction;
    uint8_t rxBuf[100];     // Receive buffer
    uint8_t *s;

    // Init SPI and specify non-default parameters
    SPI_Params_init(&params);
    params.bitRate     = 1000000;
    params.frameFormat = SPI_POL1_PHA1;
    params.mode        = SPI_SLAVE;

    // Configure the transaction
    transaction.count = 100;
    transaction.txBuf = NULL;
    transaction.rxBuf = rxBuf;

    // Open the SPI and perform the transfer
    handle = SPI_open(Board_SPI0, &params);
    if (handle == NULL) {
        /* Error opening SPI */
    }

    while (1) {
         SPI_transfer(handle, &transaction);

         s = strstr(rxBuf, "Hello World");      // search for string "Hello World" in buff
         if (s != NULL)                     // if successful then s now points at "Hello World"
         {
             GPIO_write(Board_GPIO_LED1, Board_GPIO_LED_ON);
         }                                  // index of "Hello World" in buff can be found by pointer subtraction

    }

The launchpads were wired as seen below.

As I have seen in the CC1310_LAUNCHXL.h (line 131), the chip select (SPI CS, DIO 11) is unassigned.

Is an assignment required? And if so, how should it be implemented? Do I have to use the SPI_control() function with

SPICC26XXDMA_SET_CSN_PIN? If yes how is it called correctly?

TMS320F28069M: ACIM motor operation

$
0
0

Part Number:TMS320F28069M

In a lift application I use lab 12b for ACIM operation. I cannot use TI identification routine, because it could not determine the parameters of the motors we use in the market. So I wrote my own routine to identfy the parameters.

at lower speeds up to 50% motor runs very well. But after this level motor starts to vibrate and it draws too much current from my driver. By changing the bandwidth of the speed controller I can reduce the vibration a bit, but it is not enough to overcome the whole problem. I think maybe the current controller can be the problem if I identify motor parameters wrong. But in that case I think it cannot work also at speed until 50% of rated speed. Is it true? 

I do not have chance to identify inertia and friction at that application. So I put some values that I guess. Can it be the reason? Motor manufacturers give inertia as kgm2, but Instaspin requires it as Aperkrpm. How can I convert it to Aperkrpm?

TMS320C6657: using both cores from one program image

$
0
0

Part Number:TMS320C6657

Dear team,

is it possible to use both C6657 cores from one program image? That would help us to run auto-generated code concurrently on two cores.

Thanks,

Peter

TLV320AIC3254: TLV320AIC3254 mixer function

$
0
0

Part Number:TLV320AIC3254

Hello.

I have a question about TLV320AIC3254 mixer function. Can I mixer Digital Mic(Pin 8 and Pin 11) and LINE-IN(IN2 Pin 15 and Pin16) to I2S out.

If Yes. Please kindly provide the Register for our reference. Thanks for Help.~

CC2650: GPRS connectivity

$
0
0

Part Number:CC2650

Can CC2650 have GPRS interface for cloud communication. Is there any other better solution available.

CC1310: Read analog value from specific PIN in sensor example

$
0
0

Part Number:CC1310

Hi,

my software is based on the sensor example from the Simplelink SDK 1.50. Now I want to transmit the battery voltage to the collector. The battery is connected to PIN 30.

My problem is, that I couldn't find where I can specify what PIN should be read during ADC.

Can anyone give me an example?

OPT3006: How to test OPT3006


TMDSCNCD28379D: connector information

$
0
0

Part Number:TMDSCNCD28379D

Hello

I am looking to use this control card on our pcb.

I have some trouble figuring the connector layout and its reference.

First for layout there is no definition on distance between two slots.

Then for reference if i look on distributor website i dont know which one to select :

60 contacts

Line No.

Manufacturer / Description

Order Code

Manufacturer Part Number

 

 

 

 

1

Connector, HSEC8-DV Series, Card Edge, 60 Contacts, Receptacle, 0.8 mm, Surface Mount

2731728

HSEC8-130-01-L-DV-A-WT-K

3

Connector, HSEC8-DV Series, Card Edge, 60 Contacts, Receptacle, 0.8 mm, Surface Mount

2731725

HSEC8-130-01-L-DV-A-K

6

Connector, HSEC8-DV Series, Card Edge, 60 Contacts, Receptacle, 0.8 mm, Surface Mount

2731758

HSEC8-130-03-L-DV-A-WT

8

Connector, HSEC8-DV Series, Card Edge, 60 Contacts, Receptacle, 0.8 mm, Surface Mount

2731757

HSEC8-130-03-L-DV-A-K-TR

10

Connector, HSEC8-DV Series, Card Edge, 60 Contacts, Receptacle, 0.8 mm, Surface Mount

2731729

HSEC8-130-01-L-DV-A-WT-K-TR

12

Connector, HSEC8-DV Series, Card Edge, 60 Contacts, Receptacle, 0.8 mm, Surface Mount

2731727

HSEC8-130-01-L-DV-A-WT

13

Connector, HSEC8-DV Series, Card Edge, 60 Contacts, Receptacle, 0.8 mm, Surface Mount

2731756

HSEC8-130-03-L-DV-A-K

15

Connector, HSEC8-DV Series, Card Edge, 60 Contacts, Receptacle, 0.8 mm, Surface Mount

2731726

HSEC8-130-01-L-DV-A-K-TR

120 contacts

Line No.

Manufacturer / Description

Order Code

Manufacturer Part Number

 

 

 

 

1

Connector, HSEC8-DV Series, Card Edge, 120 Contacts, Receptacle, 0.8 mm, Surface Mount

2731869

HSEC8-160-01-L-DV-A-BL-K-TR

2

Connector, HSEC8-DV Series, Card Edge, 120 Contacts, Receptacle, 0.8 mm, Surface Mount

2731867

HSEC8-160-01-L-DV-A-BL

3

Connector, HSEC8-DV Series, Card Edge, 120 Contacts, Receptacle, 0.8 mm, Surface Mount

2731868

HSEC8-160-01-L-DV-A-BL-K

If you could give us these informations.

Best Regards

AM3358: Internal signal delays

$
0
0

Part Number:AM3358

Hello. 

Processor AM3358: it is necessary to know the delay or length of the signal propagation from input pins within the crystal to their outputs to align the differential pairs
Please report the available information on this issue

Can't find it in doc's/

Thank you

TDA3: QSPI Event to trigger DMA Request in EDMA3 Controller

$
0
0

Part Number:TDA3

Hello,

The write speed of the QSPI interface is very slow, because the transfer is managed by the M4 CPU. To speed this up we are working on a transfer with chained EDMA instead of CPU.

The Transfer:

  1. EDMA writes data to the QSPI interface (QSPI_SPI_DATA_REG)
  2. EDMA triggers the transfer by writing to the QSPI interface (QSPI_SPI_CMD_REG)
  3. QSPI interface issues a interrupt to IRQ_XBAR
  4. The interrupt from QSPI should trigger the next EDMA transfer

I can't see a event to bind the QSPI interrupt to the DMA_CROSSBAR in the TRM.

Is there a solution to trigger the EDMA with the QSPI interrupt?

Am I missing something?

Why is the event missing?

 

Regards,

Simon

WL1835MOD: WPA/WPA2 Vulnerabilities

$
0
0

Part Number:WL1835MOD

HI TI,

Glad to know you are working on the WPA/WPA2 issue disclosed on Oct 16th 2017. I am following 

We're mainly using the WL1835MOD for our products, I want to know if it is going to be wpa_supplicant only fix or Wilink driver would also be updated in order to fix this issue?

Thanks,

Divyeshkumar M

CCS/CCSTUDIO: CCS/F28M35H52C/TMDSHV1PHINVKIT: PWM Stops

$
0
0

Part Number:CCSTUDIO

Tool/software: Code Composer Studio

Dear community members,

i have bought a TMDSHV1PHINVKIT solar inverter kit with the concerto card stated in the thread title. I am testing this setup before going to higher voltages by using a 30 V DC input and 40 Ohms of resistive load in the output. The code is generated through Simulink and loaded into CCS. What i do is that i send the PWM pulses to PWM1 and PWM2 and i allocate the sensed voltage and current at the output to some memories in order to close the loop later. However, even if my output current and voltage waveforms at the oscilloscope seem perfect and i also read these values in CCS in a good quality, 4-5 mins after starting operating PWM stops and the voltage at the output goes to a negative steady values. This happens every time. Does anyone know something about this issue? Has anyone faced this issue before?

Kind regards,

Alex

TPS562200: TPS562200/TPS562209

$
0
0

Part Number:TPS562200

Hi

What are the main differences between these two converters?

TMS320F28377S: Lost Interrupts

$
0
0

Part Number:TMS320F28377S

Hello all,

i have a question concerning the handling of multiple Interrupts:

How does the processor handles the case when more than one interrupt is triggered - without nesting?

im having multiple interrupts that are beeing triggered roughly at the same time. It doesn't really matter in which order that they are serviced, but it is important that all of them get executed.

When a interrupt is triggered, the others are beeing disabled. Does this mean that interrupts beeing triggered during another interrupt go unserviced, or do they just wait until the current routine is finished? Does it matter if they are in the same/different group?

Thanks a lot!

Dominik


CCS/MSP430F2011: Counting number of pulses in determined period

$
0
0

Part Number:MSP430F2011

Tool/software: Code Composer Studio

Dears,

I try to count the number of occasional occuring pulses (low active) within a specific time lapse @ P2.6. Preferably I want to trigger on a voltage level of approx 0.25Vcc. The pulse period is 20ms. When a certain number of pulses is reached in the timelapse (e.g. 200ms) an interrupt  need be set.

I haven't got a clue where to start off with. Anyone can help?

Thanks,

Arnold

RTOS/PROCESSOR-SDK-AM335X: Two IDENTICAL projects... One failed to build... until...?

$
0
0

Part Number:PROCESSOR-SDK-AM335X

Tool/software:TI-RTOS

(All this, in an effort to try to debug "SysDeplay" in the StarterWare libraries)

Start with a "Project | New | Sys/Bios  Typical" project...

BeagleBone Black, GNU compiler 6.3.1, XDC 3.32.1.22, only "Sys/Bios 6.46.5.55" checked.  It builds.

Add GPIO functions from from "StarterWare 2.0.1.1", like this:

Void taskFxn(UArg a0, UArg a1)
{
    DMTimer7ModuleClkConfig();
    SysDelayTimerSetup();   /*  Sets up TMR7, and sets the ISR to it's handler */
    while (1) {
        Sysdelay(1000);

        GPIOPinWrite(SOC_GPIO_1_REGS,21,1);
        GPIOPinWrite(SOC_GPIO_1_REGS,22,1);
        GPIOPinWrite(SOC_GPIO_1_REGS,23,1);
        GPIOPinWrite(SOC_GPIO_1_REGS,24,1);
        Sysdelay(1000);

        GPIOPinWrite(SOC_GPIO_1_REGS,21,0);
        GPIOPinWrite(SOC_GPIO_1_REGS,22,0);
        GPIOPinWrite(SOC_GPIO_1_REGS,23,0);
        GPIOPinWrite(SOC_GPIO_1_REGS,24,0);


    }
}

Add the three libs needed for StarterWare to the project, such as

${BIOS_LIBRARIES}
gcc
m
nosys
"c"
c
driver
platform
system

And of course the necessary search paths to the compiler and linker....  Try to build it, and get this:

makefile:149: recipe for target 'BasicGnuSleep.out' failed
C:\Users\scott\workspace_v7\BasicGnuSleep\src\sysbios\sysbios.aa8fg(gnu_ReentSupport.o): 
In function `ti_sysbios_rts_gnu_ReentSupport_Module_startup__E':
C:/ti/bios_6_46_05_55/packages/ti/sysbios/rts/gnu/ReentSupport.c:83: 
undefined reference to `ti_sysbios_rts_gnu_ReentSupport_checkIfCorrectLibrary'
collect2.exe: error: ld returned 1 exit status
gmake[1]: *** [BasicGnuSleep.out] Error 1

After spending a full day trying to figure out what is wrong, the best I can find is a WiKi entry that says make sure you are linking to the correct C libs.  Well I am. They were automatically included by the "wizard"  (And why does the default, automatically generated project include the c lib twice??  Once in quotes, and once without??) 

processors.wiki.ti.com/.../Processor_SDK_RTOS_FAQ

(And for that matter, why are ALL the WiKi support docs telling me to modify my linker command this way or that, while the CCS environment does NOT let you make those changes???  It's all done hidden for you by dialog boxes and XDC??)

Next, since I've been fighting with this for a day, I create a new project, just to have a clean one that I can demonstrate the issue.  Repeat all the steps above.  It builds...

So, I get to spend another day trying to find the difference.  Comparing the CFG file, the search paths, linker order...  All while staring at the message box every time I try to "clean" the project... It says it's done, but the box just sits there for about 2 minutes.

Suddenly I see this:

"${xdc_find:gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu:${ProjName}}"

in the linker search path.  It has nothing to do with libraries, it only is a search path...  but it caused the link stage to succeed.

What is it??  And why is it the difference between the linker succeeding and failing?  I want to know... so the next time I can save 12 hours to trying to figure out why things won't build.

(I would also blame the "New Project" step for including it once, and not in the other one, but after spending 12 hours days altering and retrying settings, I can no longer be sure what it originally did)

LM27342MYEVAL: About supporting to adjustable output

$
0
0

Part Number:LM27342MYEVAL

Hello,


Regarding to LM27342MY(LM27342 EVM), my customer is asking some question.

Due to adjustable output, they replaced to variable resistor at FB resistor(R1,R2).

But when the setting(sweep) range of variable resistor is wide, the device is broken (burned).

(Maybe over current or over voltage.)

(Question)

(1) Can this device support to adjustable output?

If so, how solution is possible? Replacing to variable resistor, is there any problem or concern?

(2) Could you please give us comment or opinion about cause of broken (burned) device at this time?

(I think that it might cause by overshoot (1or2-order delay)of feedback control.)

 

Regards,

Tao2199


DP83867E: Is RX_CLK behaviour in SGMII mode

$
0
0

Part Number:DP83867E

Question,

When the device is in SGMII functional mode, is the RX_CLK of the RGMII still alive?

If not, is the SGMII_CO synchronous to the received clock in Slave mode of operation?

Background of the question, I'm looking for a suitable clock to implement SyncE. I could use the CLK_OUT and set it to output one of the received clocks in 1000Base-T mode of operation, but I would like to keep that output for diagnostics.

Roel

TPS54200: TPS54200 PWM Limitation

$
0
0

Part Number:TPS54200

Hi Team,

May I know TPS54200 PWM into IC limitation? what condition can decide PWM maximum and minimum frequency ?

Viewing all 262198 articles
Browse latest View live


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