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

CCS/BQ76PL455EVM: Cell Voltage measurement BQ76PL455-TMS570LS0432 Not working

$
0
0

Part Number:BQ76PL455EVM

Tool/software: Code Composer Studio

Hi,

I am using 6 lithium ion cells in series in BQ76PL455EVM. TMS570 launchpad is used as micro controller. I want to read all the cell voltages and the total module voltage on Registers in the controller.

The following code snippet is attached below:

// Send sample request to single board to sample and send results (section 4.2)
 //     nDev_ID = 0;
        nSent = WriteReg(0, 2, 0x00, 1, FRMWRT_SGL_NR); // send sync sample command
        delayms(100);
        nSent = WriteReg(0, 2, 0x20, 1, FRMWRT_SGL_R); // send sync sample command

        nSent = WaitRespFrame(bFrame, 27, 0); // 24 bytes data + packet header + CRC, 0ms timeout

When watching in bFrame array, Only few bytes get updated and not all. Also, the value that I deduce after converting to Voltage, It is incorrect.

Can anyone help me out?

thanks

Ritul Shah


WEBENCH® Tools/TPS43061: LDRV side MOSFER was burned of TPS43061

$
0
0

Part Number:TPS43061

Tool/software: WEBENCH® Design Tools

Dears,

     I used the chip of TPS43061 as NOTE 1 of the datasheet ,but the MOSFET  of QL was always burned.

     VIN is 12V and VOUT is 15V,current is 2A, the VDS of burned was 30V.

     If I changed the QH to Diode,then QL was not burned,why?

SN65LVCP402: Request for IBIS model

$
0
0

Part Number:SN65LVCP402

Dear Technical Support Team,

Could you provide IBIS model for SN65LVCP402?

I couldn't find it on TI web site.

Best Regards,

ttd

MC33063A: Calculation of PWM frequency

$
0
0

Part Number:MC33063A

Hello,

Regarding to PWM frequency on MC33063A, my customer is asking some question.

According to datasheet(page4), PWM frequency is a following on Ct=1nF.

 


 

(Question)

(1)Due to calculation of PWM frequency, they refered Figure1(page6) and 9.2.2.2 Detailed Design Procedure of step-up (page14).

But they couldn’t calculate it from above these information.

Could you please tell me how to calculation of PWM frequency from Ct(Timing Capacitor) in detail?

 


 


 

(2) About Figure1(page6),

For example, when Ct=1nF, ton time is approximately 20us.

This is meaning that ton time need to set more than 20us at Ct=1nF.

My understanding is correct?

 

(3) According to datasheet, PWM frequency is up to 100kHz.

I’m understanding that PWM maximum frequency as specification.

If so, could you please tell me how to lead about it with Figure1(page6)?

 

Regards,

Tao2199

AFE4404: How to determine values to use for PROG_TG_STC and PROG_TG_ENDC?

$
0
0

Part Number:AFE4404

I need to adjust the ADC_RDY period to be 62.5 us instead of the current value of .25 us. This is because I need the Sensor Controller found on the TI C2650 to sample the AFE. How do I set the  PROG_TG_STC and PROG_TG_ENDC registers? I know they allow you to have a custom ADC_RDY signal but I don't understand how to calculate the numbers. The datasheet does not say either. I tried using the AFE4404EVM software but I don't see an option for calculating those registers. Would really appreciate it if someone can point me in the right direction. Thanks.

CCS/UCD3138064A: What is update rate of filter YN read value?

$
0
0

Part Number:UCD3138064A

Tool/software: Code Composer Studio

Hi TI guys,

I have some question about FILTERYNREAD register update rate.

I have made fast interrupt routine using FILTERYNREAD information. In fast interrupt routine, after comparing FILTERYNREAD, determine whether to do or not to do.

There is no problem when event period of fast interrupt routine is larger than 3msec.

But, when event frequency is faster than 2msec, fast interrupt miss event. 

below code is in fast isr routine.

if (((fiq_data.fault_status_raw & DCOMP2_INT_STATUS_MASK)|(fiq_data.fault_status & DCOMP2_INT_STATUS_MASK))
&&(Filter0Regs.FILTERYNREAD.bit.YN < 1000000)) {

....

}

TMS320F28335: F28335 would be hang when accessing to SRAM via XINTF

$
0
0

Part Number:TMS320F28335

Hi Champs,

My customer is F28335 in their servo system. They found when accessing external SRAM via XINTF, MCU would be hang occasionally. The clock setting is as follows.

SYSCLKOUT = 64MHz,

XTIMCLK = 32MHz,

XCLKOUT=16MHz.

Using this setting, MCU would be hang occasionally. 

If doubling the frequency of XCLKOUT to 32MHz, the hang would be disappeared. The setting is:

SYSCLKOUT = 64MHz,

XTIMCLK = 32MHz,

XCLKOUT = 32MHz.

And the initializing code is as follows.

Thanks,

BR,

Young

TPS54160: TPS54160 Question

$
0
0

Part Number:TPS54160

I used TPS54160 design a power supply, input voltage AC12-24V, rectifier filter DC voltage of about 40V (consider the grid voltage fluctuations + 20%), the output voltage of 5.4V, the output current of 0.1-0.3A.


Question 1: The chip of PIN3 with enable and undervoltage lockout function, because the output power range is wide, the divider resistor is not good, in order to simplify the circuit, so the pin is floating, Is this application risky?


Question 2: TPS54160 Switching frequency adjustment to 1.1MHz, inductance L1 election 10uH (power inductor MS127-100MT 5.4A (Isat) -0.0216Ω), filter capacitor selection 470uF electrolytic capacitor and 22uF ceramic capacitors. The Chip PIN4 and PIN8 of the parameters of this election appropriate? Such as the below SCH R3, C7, C6, C4, R2.

 

I have three questions about power stability, please help me check it.
1) Is the chip margin greater than 45 °?

2) Is the bandwidth gain less than 110Mhz?

3) Is the gain margin less than -10dB?


RTOS/TI-RTOS: TSK_setPri problem

$
0
0

Part Number:TI-RTOS

Tool/software:TI-RTOS

I have ported existing project from DSP/BIOS into SYS/BIOS and I experience triggering of assert in stackchecking in Task_schedule() in Task.c module. Problem is that newTask handle is invalid pointer. Pointer value is one from 'ti_sysbios_knl_Task_Module_State_0_readyQ__A' but it is not address of any task in system.

After examining situation I found out that I can get round the problem if I dont use Task_setPri() function. Project is running stable without using Task_setPri function. (does not meet our timing requirements though)

I also tried to understand Task_schedule() method and placed the following procedure at the end:

static void taskTest()
{
    // todo
    UInt32 curSet;
    void * readyQ;
    void *curQ;
    void *maxQ;
    UInt maxbit;
    UInt ptrSize;
    UInt handleSize;
    int i;

     for (i = 0; i < 7; ++i) {
            if (Task_module->curSet & (1 << i)) {
                curSet = Task_module->curSet;
                readyQ = Task_module->readyQ;
                maxbit = Intrinsics_maxbit(Task_module->curSet);
                maxQ = (Queue_Handle)((UInt8 *)(Task_module->readyQ) + (UInt)(i*(2*sizeof(Ptr))));
                curQ = Task_module->curQ;
                Assert_isTrue(!Queue_empty(maxQ), Task_A_badTimeout);
            }
    }

}



This new additional assert is triggered before assert for stacks.

System configuration:
CPU: 28377S
Compiler: 6.2.6
SYS/BIOS: v6.42.03.35
CGT: 3.30.6.67

Please give some advice what I could check.

DS90UB954-Q1 : interface to R-CAR H3

$
0
0

Hello all,

I’m looking for to communicate between Deserializer DS90UB954-Q1 (TI) to R-CAR H3(Renesas), Is there any compatible interface available between DS90UB954-Q1 to R-CAR H3 ? or

can we connect directly ?

Thanks in advance

Regards

Sivakrishna

CC2650MODA: Layout verification - Traces within the landing pattern

$
0
0

Part Number:CC2650MODA

Fellows,

We have previously successfully applied a CC2650MODA on a very clean design, and following all the guidelines from the datasheet - so there's some experience there already.

On a new project, there are a few space constrains, which made me route the #RST JTAG line going from the pad inwards, and then exiting on the border (image below). Also the TCK and TDO lines run on layer #4, under the pads (ideally I'd run them out of the module limits).

These signals are used only during programming, and should not cause any problems. The antenna region is pristine as per the specs. But better safe than sorry, I'd appreciate to hear confirmation that such won't be an issue (all DRC rules are properly checked and safe clearances are respected).

Regards

Bruno

AM3359: PRU 9-bit UART

$
0
0

Part Number:AM3359

Hi all,

I'm investigating ways to interface a AM335x with a 9-bit serial protocol. 

I knew that the AM335x doesn't support  9-bit data through the UART hardware and PRU-ICSS's UART.

However, when I read the thread below I seem to be able to do with PRU-ICSS. 

https://e2e.ti.com/support/arm/sitara_arm/f/791/t/280382

Please teach me whether I can realize it.

Best regards,

Sasaki

Compiler: AM5728 how to use gstream to play ts files?

$
0
0

Tool/software: TI C/C++ Compiler

Hello:

I will save a test.ts file locally and use the following gstream command to display it properly.

gst-launch-1.0 -v filesrc location=test.ts ! queue ! tsdemux ! h264parse ! ducatih264dec ! waylandsink 

I try to use C language to write,The image is not displayed when compiling execution.

Here is my source code:

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/time.h>
#include <unistd.h>
#include <gst/gst.h>
int main(int argc, char *argv[])
{
    GstElement *pipeline, *filesrc, *queue, *tsdemux, *h264parse, *ducatih264dec, *waylandsink;
    static GMainLoop *loop;
    gst_init(&argc, &argv);
    loop = g_main_loop_new(NULL, FALSE);
    pipeline = gst_pipeline_new("pipeline");
    if (!pipeline) {
        g_printerr("%d gst_pipeline_new error \n", __LINE__);
        return -1;
    }
    filesrc = gst_element_factory_make("filesrc", "filesrc0");
    if (!filesrc) {
        g_printerr("%d gst_element_factory_make error \n", __LINE__);
    }
    queue = gst_element_factory_make("queue", "queue0");
    if (!queue) {
        g_printerr("%d gst_element_factory_make error \n", __LINE__);
    }
    tsdemux = gst_element_factory_make("tsdemux", "tsdemux0");
    if (!tsdemux) {
        g_printerr("%d gst_element_factory_make error \n", __LINE__);
    }
    h264parse = gst_element_factory_make("h264parse", "h264parse0");
    if (!h264parse) {
        g_printerr("%d gst_element_factory_make error \n", __LINE__);
    }
    ducatih264dec = gst_element_factory_make("ducatih264dec", "ducatih264dec0");
    if (!ducatih264dec) {
        g_printerr("%d gst_element_factory_make error \n", __LINE__);
    }
    waylandsink = gst_element_factory_make("waylandsink", "waylandsink0");
    if (!waylandsink) {
        g_printerr("%d gst_element_factory_make error \n", __LINE__);
    }
    g_object_set(G_OBJECT(filesrc), "location", "test.ts", NULL);
    gst_bin_add_many(GST_BIN(pipeline), filesrc, queue, tsdemux, h264parse, ducatih264dec, waylandsink, NULL);
    gst_element_link_many(filesrc, queue, tsdemux, h264parse, ducatih264dec, waylandsink, NULL);
    gst_element_set_state(pipeline, GST_STATE_PLAYING);
    g_main_loop_run(loop);
    g_main_loop_unref(loop);
    return 0;
}

I try to add the "--gst-debug = 4" parameter when executing, and the red section has an error message

GST_ELEMENT_PADS ../../gstreamer-1.2.3/gst/gstelement.c:894:gst_element_get_static_pad: no such pad 'sink' in element "filesrc0"
0:00:02.207006671  1091   0x13d8f0 INFO               GST_EVENT ../../gstreamer-1.2.3/gst/gstevent.c:709:gst_event_new_segment: creating segment event bytes segment start=0, stop=-1, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0, base=0, position 0, duration 1875968
0:00:02.207197967  1091   0x13d8f0 INFO                 basesrc ../../../../gstreamer-1.2.3/libs/gst/base/gstbasesrc.c:2772:gst_base_src_loop:<filesrc0> marking pending DISCONT
0:00:02.207344855  1091   0x13d8c0 INFO        mpegtspacketizer ../../../git/gst/mpegtsdemux/mpegtspacketizer.c:770:mpegts_try_discover_packet_size: have packetsize detected: 188 bytes
0:00:02.207464578  1091   0x13d8c0 INFO              mpegtsbase ../../../git/gst/mpegtsdemux/mpegtsbase.c:726:mpegts_base_apply_pat:<tsdemux0> PAT
0:00:02.207720941  1091   0x13d8c0 INFO        GST_ELEMENT_PADS ../../gstreamer-1.2.3/gst/gstelement.c:897:gst_element_get_static_pad: found pad tsdemux0:sink
0:00:02.207803413  1091   0x13d8c0 INFO               GST_EVENT ../../gstreamer-1.2.3/gst/gstevent.c:628:gst_event_new_caps: creating caps event video/x-h264, stream-format=(string)byte-stream, alignment=(string)nal
0:00:02.208967130  1091   0x13d8c0 INFO        GST_ELEMENT_PADS ../../gstreamer-1.2.3/gst/gstelement.c:646:gst_element_add_pad:<tsdemux0> adding pad 'video_0041'
0:00:02.209020485  1091   0x13d8c0 INFO               GST_EVENT ../../gstreamer-1.2.3/gst/gstevent.c:709:gst_event_new_segment: creating segment event time segment start=0:00:00.125000000, stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0:00:00.125000000, base=0:00:00.000000000, position 0:00:00.125000000, duration 99:99:99.999999999
0:00:02.209187869  1091   0x13d8c0 INFO                    task ../../gstreamer-1.2.3/gst/gsttask.c:300:gst_task_func:<queue0:src> Task going to paused
0:00:02.209288559  1091   0x13d8f0 INFO                 basesrc ../../../../gstreamer-1.2.3/libs/gst/base/gstbasesrc.c:2785:gst_base_src_loop:<filesrc0> pausing after gst_pad_push() = not-linked
0:00:02.209340125  1091   0x13d8f0 WARN                 basesrc ../../../../gstreamer-1.2.3/libs/gst/base/gstbasesrc.c:2865:gst_base_src_loop:<filesrc0> error: Internal data flow error.
0:00:02.209373797  1091   0x13d8f0 WARN                 basesrc ../../../../gstreamer-1.2.3/libs/gst/base/gstbasesrc.c:2865:gst_base_src_loop:<filesrc0> error: streaming task paused, reason not-linked (-1)
0:00:02.209429266  1091   0x13d8f0 INFO        GST_ERROR_SYSTEM ../../gstreamer-1.2.3/gst/gstelement.c:1835:gst_element_message_full:<filesrc0> posting message: Internal data flow error.
0:00:02.209511250  1091   0x13d8f0 INFO        GST_ERROR_SYSTEM ../../gstreamer-1.2.3/gst/gstelement.c:1858:gst_element_message_full:<filesrc0> posted error message: Internal data flow error.
0:00:02.562908161  1091   0x13d8f0 INFO                    task ../../gstreamer-1.2.3/gst/gsttask.c:300:gst_task_func:<filesrc0:src> Task going to paused
Please help me where I am wrong?

LP8758-E0: VIN_Bx,SW_Bx,FB_Bx

$
0
0

Part Number:LP8758-E0

Hi,

Our customer plan to use LP8758-E0 with channel.

How should the VIN_Bx, SW_Bx and FB_Bx pins be processed in the circuit if not using 1 channel?

Is it OK to open them?

Best Regards,

Yuto Sakai

MSP-EXP430G2: Can't read the nfc tag through the docklight

$
0
0

Part Number:MSP-EXP430G2

Hello,

I have the msp-exp430g2 ( Revision 1.5) and DLP-7970ABP.

I have programmed the mcu ( msp430g2553) via Uniflash with the TRF7970ABP_RFID_Reader_Demo.out file.

I cant read the data through the docklight in spite of doing the right parameters in the com's. ( Like Flow control Hardware, Baud Rate 9600..)

I have tried to connect the mcu with an external usb to uart and i can get data.

What i have to do to get the same data with the on board usb in the launchpad?


AWR1642: One questions about Warm reset

CCS: TMS320C6747

$
0
0

Tool/software: Code Composer Studio

I'm using 'D.Module2.C6747' and 'ADDA500K16' assembled in 'D.Module2.Base-P' and Code Composer Studio 5.3.0.00090v.

I want to operate without using CCS, when i push 'RESET' or 'SETUP' button which is moundted 'D.Module2.Base-P'.

But i don't know how to modify CCS settings. So, if i want to above operate mode, is it just modify CCS settings or another setting?

I hope your prompt reply.

Thanks, Shion.

TIDM-WLMOTORMONITOR: TechBasic source code - Graphing FFT

$
0
0

Part Number:TIDM-WLMOTORMONITOR

Hi All,

I was wondering if anyone knows where is the ipad source code located for the TechBasic platform the design guide referring to. (tidu886.pdf, page 13, section 5.2.2) 

Regards,

Tibor

BQ24232: bq24232 / Large pulse charge current during supplement mode to charging

$
0
0

Part Number:BQ24232

Hi,

My customer found that the large pulse charge current is occurred when the operation is changed from supplement mode to charging. This may not be issue for battery because the duration of this pulse current is very short, but this may be issue when the system load will be change periodically and high frequency. Actually they tested with continuous pulse load as attached and then they could see over charge protection at by protection at battery. I believe that this pulse current is occurred at Deglitch time between supplement mode to charging, so I'd like to know how to reduce the peak of this pulse current to the battery.

I took this waveform by using EVM. I just changed ILIM to 200mA and ISET to 30mA. And then connect pulse load by electrical load from Vout.

Best Regards,

Satoshi / Japan Disty

CCS/MSP430FR5994: Can someone please provide the vector redirection file for MSP430FR5994.

$
0
0

Part Number:MSP430FR5994

Tool/software: Code Composer Studio

Hi,

I am making custom bootloader on main memory with the help of MSP430FRBoot_1_00_00_00 provided by TI.

But I couldn't find out the file TI_MSPBoot_VecRed_FR5xx.c 

Previously I have worked on main memory bootloader for MSP430F5247 and the vector redirection table at that time was provided in the source code of MSP_Boot itself.

I was trying the modify the file available for other MCU but due to 37 interrupts available in MSP430FR5994, the mapping is taking too much size. As size available for MSP430FR5994 interrupt vectors is 0x6E.

Below I have shared the file which I am modified. But the switching from main app and bootloader is not happening.

/*
* \file TI_MSPBoot_VecRed_FR5969.c
*
* \brief Vector redirection table for FR5969

#include "msp430.h"
#include "TI_MSPBoot_Common.h"
#include "TI_MSPBoot_AppMgr.h"

//
// External variables from linker file
//
extern uint16_t _Appl_Proxy_Vector_Start[]; /* App proxy table address */
//
// Macros and definitions
//
/* Value written to unused vectors */
#define RESERVED (0x3FFF)
/*! Macro used to calculate address of vector in Application Proxy Table */
#define APP_PROXY_VECTOR(x) ((uint16_t)&_Appl_Proxy_Vector_Start[x*2])

//
// Constant table
//
/*! MSPBoot Vector Table: It's fixed since it can't be erased and modified.
* Points to a proxy vector table in Application area*/
# ifdef __IAR_SYSTEMS_ICC__
# pragma location="BOOT_VECTOR_TABLE"
__root const uint16_t Vector_Table[] =
# elif defined (__TI_COMPILER_VERSION__)
# pragma DATA_SECTION(Vector_Table, ".BOOT_VECTOR_TABLE")
# pragma RETAIN(Vector_Table)
const uint16_t Vector_Table[] =
# endif
{

RESERVED,
RESERVED,
RESERVED,
RESERVED,
RESERVED,
RESERVED,
RESERVED,
RESERVED,
RESERVED,
RESERVED,
RESERVED,
RESERVED,
RESERVED,
RESERVED,
RESERVED,
RESERVED,
RESERVED,
RESERVED,
APP_PROXY_VECTOR(0), // FFB4 = LEA_VECTOR
APP_PROXY_VECTOR(1), // FFB6 = PORT8_VECTOR
APP_PROXY_VECTOR(2), // FFB8 = PORT7_VECTOR
APP_PROXY_VECTOR(3), // FFBA = EUSCI_B3_VECTOR
APP_PROXY_VECTOR(4), // FFBC = EUSCI_B2_VECTOR
APP_PROXY_VECTOR(5), // FFBE = EUSCI_B1_VECTOR
APP_PROXY_VECTOR(6), // FFC0 = EUSCI_A3_VECTOR
APP_PROXY_VECTOR(7), // FFC2 = EUSCI_A2_VECTOR
APP_PROXY_VECTOR(8), // FFC4 = PORT6_VECTOR
APP_PROXY_VECTOR(9), // FFC6 = PORT5_VECTOR
APP_PROXY_VECTOR(10), // FFC8 = TIMER4_A1_VECTOR
APP_PROXY_VECTOR(11), // FFCA = TIMER4_A0_VECTOR
APP_PROXY_VECTOR(12), // FFCC = AES256_VECTOR
APP_PROXY_VECTOR(13), // FFCE = RTC_C_VECTOR
APP_PROXY_VECTOR(14), // FFD0 = PORT4_VECTOR
APP_PROXY_VECTOR(15), // FFD2 = PORT3_VECTOR
APP_PROXY_VECTOR(16), // FFD4 = Timer3_A2 CC1, TA
APP_PROXY_VECTOR(17), // FFD6 = Timer3_A2 CC0
APP_PROXY_VECTOR(18), // FFD8 = P2
APP_PROXY_VECTOR(19), // FFDA = TIMER2_A1_VECTOR
APP_PROXY_VECTOR(20), // FFDC = TIMER2_A0_VECTOR
APP_PROXY_VECTOR(21), // FFDE = PORT1_VECTOR
APP_PROXY_VECTOR(22), // FFE0 = TIMER1_A1_VECTOR
APP_PROXY_VECTOR(23), // FFE2 = TIMER1_A0_VECTOR
APP_PROXY_VECTOR(24), // FFE4 = DMA_VECTOR
APP_PROXY_VECTOR(25), // FFE6 = EUSCI_A1_VECTOR
APP_PROXY_VECTOR(26), // FFE8 = TIMER0_A1_VECTOR
APP_PROXY_VECTOR(27), // FFEA = TIMER0_A0_VECTOR
APP_PROXY_VECTOR(28), // FFEC = ADC12_B_VECTOR
APP_PROXY_VECTOR(29), // FFEE = EUSCI_B0_VECTOR
APP_PROXY_VECTOR(30), // FFF0 = EUSCI_A0_VECTOR
APP_PROXY_VECTOR(31), // FFF2 = WDT_VECTOR
APP_PROXY_VECTOR(32), // FFF4 = TIMER0_B1_VECTOR
APP_PROXY_VECTOR(33), // FFF6 = TIMER0_B0_VECTOR
APP_PROXY_VECTOR(34), // FFF8 = COMP_E_VECTOR
APP_PROXY_VECTOR(35), // FFFA = UNMI_VECTOR
APP_PROXY_VECTOR(36) // FFFC = SYSNMI_VECTOR
};

Viewing all 262198 articles
Browse latest View live


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