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

Linux/TMS320DM8148: How to use BLINDAREACONFIG to draw a line

$
0
0

Part Number:TMS320DM8148

Tool/software: Linux

Hi,

I am working on video analytics and I would like to draw line between two points with using VCAP_BLINDAREACONFIG on Arm side. I am using DVR_RDK.

How I can draw a line using VCAP_BLINDAREACONFIG?


LM3435: About RIREFx

$
0
0

Part Number:LM3435

Hello Team,

My customers are planning to set ILEDx at 0.5A or less.
Is there RIREFx test data when ILEDx is set to 0.5A or less?
It is not necessary to be guaranteed data.

According to the data sheet, I think that it becomes the following formula, but the measured value and the following formula were different at 0.5A or less.

 ・ILEDx(A) = 24.75/Riref(Ω) x 10^3

Best regards,
Kato

RTOS/AM5728: PCIE bar memory mapping

$
0
0

Part Number:AM5728

Tool/software:TI-RTOS

Hi,

The PCIE Endpoint is expecting 2GB memory when bar0 is read. I have programmed 0xA0000000 as bar address as part of enumeration.

Now I have to do outbound address translation for the same.

In the PCIE example code I see outbound address translation is done with OB size 1MB. In my case as the BAR memory requirement is 2GB, how should i do the OB address translation.

Please let me know.

In AM5728 TRM its mentioned that the outbound window for PCIE transations starts at 0x20000000. as per the example code I want to map 0x21000000 to 0xA0000000(which is bar address i have configured as per 2GB requirement). but in the example code the OBSIZE is 1MB. In my case what OBSIZE I should configure?

SN74AHCT1G14: Question about IOH/IOL conditions.

$
0
0

Part Number:SN74AHCT1G14

 Hello guys,

 One of our customers found two conditions may be error discription in electrical characteristics on page 3 in SN74AHCT1G14 datasheet (SCLS322P).

 The datasheet says the curent vaiue conditions for VOH/VOL are -50mA/+50mA.  Are these current condition correct?

 The customer thinks +/-50uA is correct. Which value is correct?

 Your reply would be appreciated.

 Best regards,

 Kazuya Nakai.

   

HDC1080: Humidity correction

$
0
0

Part Number:HDC1080

Hi Teaam,

If the place where the HDC 1080 is mounted is about 2℃ lower than the outside air temperature, will the humidity also shift?

The amount of water vapor that can be contained in the air varies with temperature, so if you want to correct humidity, is it OK to consider the following?

    P: Saturation vapor pressure (hPa) = 6.1078 × 10 ^ (7.5 t / 237.3 + t)

 Saturated steam amount = 0.62198 × P / (1013.25-P)

 Weight absolute humidity = Saturated steam amount × relative humidity

 Calculate relative humidity using weight absolute humidity and outside air temperature.

Best Regards,

Kenji

Linux/DS90UB929-Q1: linux version is 4.1.15

TPS65982: OVP function

$
0
0

Part Number:TPS65982

Hi Team,

My customer wants to know the details how the OVP funtion behaves. Could you follow the 4 questions below?

1. Does TPS65982 also watch VBUS pins for OVP even in source side operation?

2. Are the OVP function's settings also valid even in Non-PD operation?

3. Which register determines OVP threshold for Source side in both PD and Non-PD case?

4. Are there any registers to set spesific OVP voltage level like 0x28[bit 21:16, OvpTripPoint] for each PDOs?

Regards,

Takashi Onawa

Compiler: Extern "C" with function having function pointer as a parameter

$
0
0

Tool/software: TI C/C++ Compiler

Hello!

Noticed the following on both 16.9.6.TLS and 18.1.1.LTS, when compiling

extern "C" int test(int (*)(int));

int test(int (*f)(int)) { return 0; }

The result will be the decorated function "_Z4testPFiiE", not "test", as expected, and result later in a link error.  Working around, passing the function in a structure will work, but makes the call syntax awkward from C:

struct test_arg { int (*f)(int); }

extern "C" int test2(struct test_arg f);

int test2(struct test_arg f) { return 0; }

This will correctly link correctly (the name is "test2")


CCS/am5728: Try to use pc trace on ccs6.2 always heap low mem

$
0
0

Part Number:am5728

Tool/software: Code Composer Studio

hi,

I found linux pc trace need a lot of memory.

But ccstudio.ini can't set to very big for example xms2048m, it'll crash.

Now I just set it to Xms256m

Xmx1024m

RTOS/LAUNCHXL-CC2640R2: Power Saving

$
0
0

Part Number:LAUNCHXL-CC2640R2

Tool/software:TI-RTOS

Hello,

I have developed a firmware by talking project zero as reference,

And I was measuring the current consumption of my device it is showing as 750 micro amperes in Idle state that when the device (CC2640R2-LAUNCH XL) is just in advertising mode,

So i was willing to save more power, and as i was going the power management document i have seen a standby mode where power consumption is less,

So can i use the mode in my device in Idle State where in i can reduce power consumption,

Please help me with steps to use the standby mode or any other mode where i can save power while the device is just advertising

I have gone through Power Management user guide but not able use the power Policy in my code 

Please help me with this 

Thank You 

Utkarash

TS3L110: Communictate with Multiple PHY with a single ethernet port

$
0
0

Part Number:TS3L110

I plan to Have a setup as shown in figure

My aim is have one single external RJ45 Ethernet port communication with 2 different boards as decided by the user. Is this a feasible configuration?? Any known issues??

Also i would like to know the physical length of signal lines allowed between TS3L110 and PHY??

DS90UH948-Q1: 949-948:Connection

$
0
0

Part Number:DS90UH948-Q1

Dear support team;

Our customer wants the following connection.

Can we use this connection?

And,how should unused pins be?

Best Regards,

 Masaaki Sugiyama

Linux/PROCESSOR-SDK-AM437X: PRU usage question

$
0
0

Part Number:PROCESSOR-SDK-AM437X

Tool/software: Linux

Team,

I am trying to toggle couple of GPIO on PRU0. I am using the latest SDK. Following are the configuration:

DTS:

AM4372_IOPAD(0x9d0, PIN_OUTPUT | MUX_MODE3) /* cam1_data8 mode 3 PRU*/

AM4372_IOPAD(0x9f0, PIN_OUTPUT | MUX_MODE4) /* cam1_data2 mode 4  PRU  */

 AM4372_IOPAD(0x9f4, PIN_OUTPUT | MUX_MODE4)  /* cam1_data3 mode 4 PRU */

PRU0_1 Firmware:

#define HOST_INT                        ((uint32_t) 1 << 31)
#define OUT_S                        (1 << 0)                         /* (AD24) cam1_data8.pr0_pru1_gpo[0] */
#define OUT_D                        (1 << 11)                       /*AE22 (cam1_data3, pr0_pru1_gpo11, MOde 0x4)*/

#define OUT_C                         (1 << 10)                      /* AD21 (cam1_data2,pr0_pru1_gpo10, Mode 0x4)*/

#define PRU_OUT_SET(x)                { __R30 |= (x); }
#define PRU_OUT_CLR(x)                { __R30 &= ~(x); }
#define PRU_IN(x)                    (__R31 & (x))


#define TO_ARM_HOST                     18
#define FROM_ARM_HOST                   19

/*
 * Using the name 'rpmsg-pru' will probe the rpmsg_pru driver found
 * at linux-x.y.z/drivers/rpmsg/rpmsg_pru.c
 */
#define CHAN_NAME                       "rpmsg-pru"
#define CHAN_DESC                       "Channel 31"
#define CHAN_PORT                       31

main (){

........

......

     pru_rpmsg_init(&transport, &resourceTable.rpmsg_vring0, &resourceTable.rpmsg_vring1, TO_ARM_HOST, FROM_ARM_HOST);                                                                                    

        /* Create the RPMsg channel between the PRU and ARM user space using the transport structure. */
        while (pru_rpmsg_channel(RPMSG_NS_CREATE, &transport, CHAN_NAME, CHAN_DESC, CHAN_PORT) != PRU_RPMSG_SUCCESS);                                                                                        
        while (1) {
                /* Check bit 30 of register R31 to see if the ARM has kicked us */                                                                                                                           
                if (__R31 & HOST_INT) {                
                        /* Clear the event status */   
                        CT_INTC.SICR_bit.STATUS_CLR_INDEX = FROM_ARM_HOST;
                        /* Receive all available messages, multiple messages can be sent per kick */
                        while (pru_rpmsg_receive(&transport, &src, &dst, payload, &len) == PRU_RPMSG_SUCCESS) {
                                /* Echo the message back to the same address from which we just received */
                       //         pru_rpmsg_send(&transport, dst, src, payload, len);                                                                                                                        
  
    
                        for (i = 0 ; i < len ; i++){           
                                if (payload[i] == 's' || payload[i] == 'S'){
                                PRU_OUT_SET(OUT_S);
                                pru_rpmsg_send(&transport, dst, src, payload, len);                                                                                                                          
                                }                              
                                else if (payload[i] == 'd' || payload[i] == 'D'){
                                        PRU_OUT_SET(OUT_D);
                                        pru_rpmsg_send(&transport, dst, src, payload, len);                                                                                                                  
                                        }                      
                                else if (payload[i] == 'c' || payload[i] == 'C'){
                                        PRU_OUT_SET(OUT_C);  
                                        pru_rpmsg_send(&transport, dst, src, payload, len);                                                                                                                  
                                        }              
                        }   

}

resource configuration:

struct ch_map pru_intc_map[] = { {18, 3},
                                 {19, 1},
};

struct my_resource_table resourceTable = {

......................

...........................

        {
                TYPE_CUSTOM, TYPE_PRU_INTS,
                sizeof(struct fw_rsc_custom_ints),
                { /* PRU_INTS version */
                        0x0000,
                        /* Channel-to-host mapping, 255 for unused
                        *  Mapping Channel-0 to Host-0 (PRU0/1 R31 bit 30)
                        */
                        HOST_UNUSED, 1, HOST_UNUSED, 3, HOST_UNUSED,
                        HOST_UNUSED, HOST_UNUSED, HOST_UNUSED, HOST_UNUSED, HOST_UNUSED,
                        /* Number of evts being mapped to channels */
                        (sizeof(pru_intc_map) / sizeof(struct ch_map)),
                        /* Pointer to the structure containing mapped events */
                        pru_intc_map,
                },

........

........

Trying to send commands s,c,d from the linux user space (via /dev/rpmsg_31). I am able to send each command (and can read it back as well in linux) but the lines are not getting toggled. Am I missing something ?

Best Regards,

Shiv

CC1310: Problems programming the Chip with srfprog via cJTAG

$
0
0

Part Number:CC1310

Hello to all,

For a new product we made in our company, we need to implement a way to program each device easily during our production line. Unfortunately we face the problem that with the help of srfprog (cmd line tool of SmartRf Flash Programmer 2 Version 1.7.5) we cannot assure a fluent way of programming. First of all an overview of what we do have here:

  • We are using the Chips version with 128kByte Flash
  • We use the secondary mac address as Interface address for our proprietary communication interface for each device unique
  • We use several properties for each devices that are individually  by the device itself
  • We do have four lines available for programming the chip: Vcc, Gnd, TMSC and TCKC  --> cJTAG
  • The programmer used for programming is a Olimex TMS320-XDS100-V3
  • for mass production we use the console tool srfprog only

As mentioned in the list we do have several data that needs to be written onto Flash. We had to find out that it is not possible to program Flash as well as secondary MAC address in "one step" although documentation says to is possible. Therefore we made to writing cycles of it. Last but not least we added another third cycle to change/write the unique properties to one Flash area only.

Our problems we couldn't solve up to now are:

1.) Once the Chip was programmed completely for once it is impossible to directly rewrite again; the Tools (including the GUI of Smart RF Flash Programmer) indicate that the programming interface is blocked

--> We solved this by Forcing a mass erase of the Chip each time it has to be programmed

2.) Depending on the sequence of programming areas, we sometimes can program all areas sometimes only a mass erase will assure to have a try again

a.) Mass erase

b.) Write CCFG

c.) Write Device properties 

d.) Write Firmware

It took us hell a lot of time to make it working that stable (our rate now is around 50% maybe 70% :( ). Is there any other tool or way of easier programming this ARM controller? Do you have further documents that show up improvements for programming CC1310F128?

It is really a pity, almost all work is done, the chip once it has got its firmware and specific data runs stable, but there is no easy way for mass producing devices now. Really unsatisfactory. Any help is highly appreciated.

Kind regards

Markus

LM3644: DSBGA package Problem

$
0
0

Part Number:LM3644

Dear TI,

I am doing now an Eagle layout with LM3644 IC which is only in DSBGA12 package available. I have no idea how

to connect 2 pads which are in middle (STROBE and HWEN).

Could you please give me some tips or possibilities?


DAC101C081: output of dac101C081 getting loaded

$
0
0

Part Number:DAC101C081

I'm using DAC101C081 to drive a LED. a led in series with a resistor is connected to the dac output. the dac is getting loaded when all ones are written to its data register, with all ones in dac data register, dac is supposed to give output 3.3V and 4.8mA. because of loading dac is able to source 3.6mA at 3.1V. need help on this..

LMX2594 - what is the use of Vtune pin.

$
0
0

I'm planning to use this chip, before that have to see the simulation results.

I can get simulation TINA simulation model for this IC?

CCS/TPS65982-EVM: I2C communication with TPS65982

$
0
0

Part Number:TPS65982-EVM

Tool/software: Code Composer Studio

Hello,

I have question regarding I2C communication with TPS65982 Evaluation module. I'm trying to read some information like available PD profiles using I2C interface. I conected my stm32f0 discovery board with TPS65982 EVM but I2C communication won't work. Library on stm for i2c is reliable because I used it without any problems with other IC, but on TPS65982 I can't makie it work. On my logic analyzer I see data that I'm sending but there is no ACK from TPS, and also no back data. Could anyone help me with some ideas what I might do wrong here ?

To reduce possible questions, below are some basic information about my set up:
- connection to I2C1 on pin 18 and 20
- I2C Clock speed: 100kHz
- Address: 0x38
- TPS65982 is sourced by some PD Charger using USB Type C connection (12V)

Thanks in advance,
Karol Mika

TLV61046A: Inductor selection and maximum current

$
0
0

Part Number:TLV61046A

Hi,

My application is really simple. The DC/DC converter is only used for less than one second to charge a 440uF capacitor @20V.  

The input is 2XAAA so minimum voltage around 2.1V. Output 20V. Charging current is limited by a P-chanel Mosfet circuit or a simple power resistor to 200mA. 

With 10uH inductor, by applying the equation in the datasheet, I have iL(DC) = 2.27A and iL(P) = 2.34A.

In the datasshet, I don't understand the following reference " Normally, it is advisable to work with an inductor peak-to-peak current of less than 40% of the average inductor current for maximum output current. "

How to choose my inductor regarding my case? Do you have any recommandation? Should I need a saturation of more than 3A? I need a small package in my case because it's for a portable device.

Thank you for your support. 

Linux/CC1350: BBB processor-sdk-linux-AM335x

$
0
0

Part Number:CC1350

Tool/software: Linux

I am completing the reference design :Sub-1 GHz Sensor to Cloud Industrial Internet of Things (IoT) Gateway Reference Design.  I download the prebuilt TI Linux processor SDK SD card image am335x-evm-linux-04.02.00.09.img.zip.But when I creating the SD card using this image, I can't boot the BeagleBone Black from the SD Card.The problem is connection timed out.Is there anyone konw the reason?

Viewing all 262198 articles
Browse latest View live


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