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

TDA2SX: How to use shared memory in other process

$
0
0

Part Number: TDA2SX

Hello,

We use OSA_memAllocSR function to allocate shared memory, In the other process we use physical address:get from function OSA_memVirt2Phys,but it will report  "Segmentation fault".

1. One process in A15 allocate SR1 memory, code below:

for (id = 0; id < pOutObj->numFrames; id++)
    {

        UInt32 imgSize = pObj->outChnInfo.pitch[0]*pObj->outChnInfo.height;
        System_Buffer *pSysBuf    = &pOutObj->buffers[id];
        System_VideoFrameBuffer *pSysVidBuf = &pOutObj->videoFrames[id];
        pSysVidBuf->bufAddr[0] = OSA_memAllocSR(
                                           OSA_HEAPID_DDR_CACHED_SR1,
                                           imgSize,SYSTEM_BUFFER_ALIGNMENT);

        OSA_assert(pSysVidBuf->bufAddr[0] != NULL);

        System_exportDmaBuf(pSysVidBuf->bufAddr[0],
                            imgSize,
                            &pSysVidBuf->dmaFd[0]);
         
         pSysBuf->payload      = pSysVidBuf;
         pSysBuf->payloadSize  = sizeof(System_VideoFrameBuffer);
         pSysBuf->chNum        = 0;
         pSysBuf->bufType      = SYSTEM_BUFFER_TYPE_VIDEO_FRAME;
         pSysBuf->srcTimestamp = OSA_getCurGlobalTimeInUsec();
         pSysBuf->frameId      = 0;
         pSysBuf->linkLocalTimestamp = pSysBuf->srcTimestamp;
         for (planes = 1; planes < SYSTEM_MAX_PLANES; planes++)
         {
            pSysVidBuf->bufAddr[planes] = pSysVidBuf->bufAddr[0];
         }
         pOutObj->pBufVirAddr[id] = (unsigned char*)pSysVidBuf->bufAddr[0];
         pOutObj->pBufPhyAddr[id] = (unsigned char*)OSA_memVirt2Phys((unsigned int)pSysVidBuf->bufAddr[0], OSA_MEM_REGION_TYPE_SR1);

}

2. another process in A15,use physical address, code below:

memcpy(multiRenderBufInfo.bufInfo[putBufIdx].pVirtualAddr, sCarData.pPicData, DISPLAYW*DISPLAYH*4);

when  call this function it will report  "Segmentation fault", if it can't support physical address between two process, how can I share memory between two process?


TMP1075: about address

$
0
0

Part Number: TMP1075

Hi dear expert,

May I know TMP1075 address detection is only done after power up or is detected for each bus communication?

I see below description in datasheet: 

The state of pins A0, A1, and A2 is sampled on every bus communication and must be set prior to any activity on the interface.

Does it mean TMP1075 address will be captured for each bus communication?

Thanks a lot for your reply.

BR,

Joyce

CC2564C: Loss connection between CC2564C and handset/headset device

$
0
0

Part Number: CC2564C

Hello,

 

Recently we are facing loss connection issue between CC2564C BT chip and handset/headset device. It is hard for us to find the root cause after checking the application layer code.

Then I captured TI debug log trace. So we need your help to check the trace and provide us support.

 

I scanned the trace and marked the frame where issue began to occur that could be helpful as below.

 

headsetLossConnection.lgr #371256 based on Linux platform

Reallost8088android.lgr #19450 based on android platform

 

Thanks very much.

(Please visit the site to view this file)(Please visit the site to view this file)

PROCESSOR-SDK-AM65X: RTOS examples

$
0
0

Part Number: PROCESSOR-SDK-AM65X

 

Hi Sitara support Team,

 

I have tested sample programs in PROCESSOR-SDK-RTOS-AM65X 05_03_00_07.

Some programs are working without probles, but "udma_baremetal_dru_testapp"

and "udma_baremetal_dru_direct_tr_testapp" are working with the following error,

 

[Version Info.]

-CCS 8.3.0

-SDK AM65x 5.03.00.07

-PDK AM65x 1.0.4

-Run on Cortex-A53

 

"udma_baremetal_dru_testapp"

UDMA DRU application started...

[Error] RM PSIL read failed!!!

[Error] PSI UTC destination thread enable failed!!!

[Error] TR Response not completed!!

[Error] UDMA App memcpy test failed!!

[Error] RM PSIL write failed!!!

[Error] PSIL write teardown failed!!

[Error] UDMA UTC disable failed!!

[Error] UDMA channel disable failed!!

[Error] UDMA event unregister failed!!

[Error] RM PSIL read failed!!!

[Error] PSI UTC destination thread RT disable failed!!!

[Error] RM PSIL read failed!!!

[Error] PSI UTC destination thread disable failed!!!

[Error] UDMA channel unparing failed!!

[Error] Free resource failed!!!

[Error] UDMA channel close failed!!

[Error] UDMA App delete failed!!

[Error] UDMA App deinit failed!!

UDMA DRU memcpy using TR15 block copy Failed!!

Some tests have failed!!

 

"udma_baremetal_dru_direct_tr_testapp"

UDMA DRU Direct TR application started...

[Error] RM PSIL read failed!!!

[Error] PSI UTC destination thread enable failed!!!

[Error] RM PSIL write failed!!!

[Error] PSIL write teardown failed!!

[Error] UDMA UTC disable failed!!

[Error] UDMA channel disable failed!!

[Error] UDMA event unregister failed!!

[Error] RM PSIL read failed!!!

[Error] PSI UTC destination thread RT disable failed!!!

[Error] RM PSIL read failed!!!

[Error] PSI UTC destination thread disable failed!!!

[Error] UDMA channel unparing failed!!

[Error] Free resource failed!!!

[Error] UDMA channel close failed!!

[Error] UDMA App delete failed!!

[Error] UDMA App deinit failed!!

UDMA DRU memcpy using Direct TR15 block copy Failed!!

Some tests have failed!!

 

The following program is no problem.

 

"udma_memcpy_testapp"

UDMA memcpy application started...

UDMA memcpy using TR15 block copy Passed!!

All tests have passed!!

 

[Question]

Is there solution to this error?

Please share your environment when you test these programs.

 

Best regards,

Kanae

LAUNCHXL-CC2640R2: LAUNCHXL-CC2640R2

$
0
0

Part Number: LAUNCHXL-CC2640R2

Hi;

Today when i test the AOA,why the web of the RTLS_Monitor can't open?

Best regards!

TPS25982: How to connecting NRETRY pin

$
0
0

Part Number: TPS25982

Hi,

Is there a recommendation for connecting the NRETRY pin when the RETRY_DLY pin is open (when the fault response is latched off)?
Open? Or Short to GND?

Best regards,
Yuto Sakai

MSP432P401R: Uniflash does not work with Jlink and MSP432P401R i

$
0
0

Part Number: MSP432P401R

Uniflash version:  5.1.0.2397

OS: OS X

It seems that Uniflash can connect to the device:

However, "Read Target Device" never works. 

There is no output in the console tab

Also, my settings and utilities tab is empty

Please let me know what I am doing wrong, thank you

AWR1642BOOST: [Demo Visualizer / SDK 3.2] Objects in heatmap smeared over distance

$
0
0

Part Number: AWR1642BOOST

Hi together,

when evaluating the heatmap with the mmWave Demo Visualizer, I observe targets are depicted not in a single, but rather "smeared" over multiple adjacent range bin, as the following figure shows:

Note how the axes are not Cartesian coordinates but range and azimuth and therefore depict the scene without the optical transformation done by the Visualizer (this representation therefore refers to the content of the fliplrQQ-variable in the Visualizer's source code).

This smearing seems to be rather symmetric and normally distributed in distance over the maximum reflection in the respective center. Is this due to multipath propagation? If so, shouldn't the maximum be at the front (smallest range bin) and decaying to the back?

To rephrase my question: some reflected energy seems to be from surfaces located closer to the sensor, some from further away with the maximum in between. Where does this (symmetric!) distribution stem from?


TMS320F28374S: SYSBIOS for newer parts

$
0
0

Part Number: TMS320F28374S

Hi C2000 team.

I have been using SYS/BIOS on older parts.

Do TI offer SYS/BIOS for the newly released parts?

BR

Anders Lange

LMH0341: SDI Adaptive Cable Equalizer LMH0344/LMH0394,Which is more suitable for lmh0341?

$
0
0

Part Number: LMH0341

In LMH0341(SDI TO LVDS) applications:

SDI Adaptive Cable Equalizer LMH0344/LMH0394,Which is suitable for LMH0341?

CD4051B: TINA/Multiplexer/

$
0
0

Part Number: CD4051B

I am building multiple actuators - single sensor circuit where I use a multiplexer to select which actuator to sense. The current passing through the multiplexer and sesnig circuit is low(mA). I am planning to use CD4501BE as a multiplexer along with ADC - ADSI 256 and Teensy 3.6. I'll also upgrade to Teensy 4.0 in the coming days. My question is will CD4501 suitably work with Teensy 3.6/4.0 and what other factors or components like amplifier or buffer or Sample/Hold circuit I have to consider while building and upgrading this?

CC1190: Which modulation modes does CC1190 support? Whether to support Lora SX1276?

$
0
0

Part Number: CC1190

Hi,I want to consult  Which modulation modes does CC1190 support? Whether to support Lora SX1276?

      Thanks!

TUSB1210: can we use TUSB1210+ level shifter to achieve 3.3V ULPI?

$
0
0

Part Number: TUSB1210

Hi,

we are trying to replace USB3320 with TUSB1210, but the ULPI is 3.3V in the customer's system.

Can we add level shifter to overcome the voltage incompatibility?

If yes, which level shifter is recommended?

What's the IO type of ULPI, is it push-pull or open drain or something else?

LAUNCHXL-F28069M: CAN bus communication between two Launchpads

$
0
0

Part Number: LAUNCHXL-F28069M

Hello C2000 Community,

I am new to CAN bus communication protocol and I would like to establish CAN bus communication between two Launchpads. I would like to have some insights regarding this. I would like to know the initial steps in this case.

Thank you in advance.

Regards,

Yoga.

TPS2378: Output voltage is abnormal

$
0
0

Part Number: TPS2378

Hi TI

We use TPS2378 for PD. If the communication with PSE is successful, the output will be 48V, and then add 20W load, it will work normally.           

But if add the load 4W at the output of TPS2378 first, then TPS2378 and PSE communicate is successful, the output voltage is only 18V, not 48V.

OCP triggered at power on?  What is the reason? Do you have any suggestions?

Thank you

Jerry


CC3220MOD: Does it meet the LBT test of CE certification

$
0
0

Part Number: CC3220MOD

Dear Sir,

the module show it can meet CE certification, does it have LBT function to meet the spec.??

CCS/AM5728: AM5728-IDK, LINUX-SDK-u-boot build issue in CCS9

$
0
0

Part Number: AM5728

Tool/software: Code Composer Studio

Hi,

I've installed AM5728 IDK,  LINUX_SDK ver: am57xx-evm-linux-sdk-src-05.03.00.07 and able to build uboot and kernel on UBUNTU 18.04(64bit).

But, when I imported the u-boot( ../board-support/u-boot-2018.01+gitAUTOINC+313dcd69c2-g825ac6e1ac) in CCS9 and build I got the below errors and snapshot attached.Is it because of  permission or CCS9 compatability issue with ubuntu 18.04. I've installed CC9 with root permission.

uboot.release.tmp: Permission denied
Makefile:1298: recipe for target 'include/config/uboot.release' failed
make: *** [include/config/uboot.release] Error 2

Thanks and Regards

srinivasa

TPS61087: TPS61087

$
0
0

Part Number: TPS61087

Dear TI 

        I designed Power circuit with TPS61087 depending on WEBENCH,the FB in datesheet is 1.238V,but my PCB is 1.05V, the output is wrong. could you explain for me !looking forward to your reply!

AWR1642BOOST: Why does the distance corresponding to the beat frequency for 2Rx or 4Rx to be shrink into 1/2 or 1/4 compared with 1Rx respectively ?

$
0
0

Part Number: AWR1642BOOST

Hi ,

   We modify mss.c of mem_capture code to capture raw data for 1TX_1Rx, 1Tx_2Rx, 1Tx_4Rx and 2Tx_1Rx, 2Tx_2Rx , 2Tx_4Rx and analyze them with matlab.

   We found the result of 1Tx_1Rx and 2Tx_1Rx are correct to meet the center distance about 1m between detected target and AWR1642EVM. 

   But the distance for 1Tx_2Rx or 2Tx_2Rx will be shortened to 1/2 compared with the distance of 1Tx_1Rx or 2Tx_1Rx. As for the distance of 1Tx_4Rx or 2Tx_4Rx will be shortened to 1/4.

   The test setup and result are as follows.

    1. Fixed AWR1642EVM with tape on small chair

    2. Fixed single detected target, wood, whose center distance to AWR1642EVM is about 100 cm.
    3. Use mem_capture to  capture raw data with ccs_debug mode for  1TX_1Rx, 1Tx_2Rx, 1Tx_4Rx and 2Tx_1Rx, 2Tx_2Rx , 2Tx_4Rx respectively and save data.
        We will use 2Tx_1Rx, 2Tx_2Rx, 2Tx_4Rx  as examples to show the test result.
        The modified mss.c of mem_capture for 2Tx_4Rx are as follow. As for 1Rx or 2Rx  , we just modify chCfg->rxChannelEn =2 (1Rx) or 6(2Rx).
         
                
    4. The test result for 2Tx_1Rx, 2Tx_2Rx and 2Tx_4Rx  with 30cm range resolution are as follows:
        1. 2Tx_1Rx: distance 1.28 m , show 2 chirps result as follows: correct  
           
         2. 2Tx_2Rx: distance shrink 1/2 to 0.6399 m , show 2 chirps result as follows: Fail
            
         3. 2Tx_4Rx: distance shrink 1/4 to 0.32 m ,  and has another peak at about 20.8m, show 2 chirps result as follows: Fail 
          
   5. The captured raw data  are 256 samples @ 5400 KHz sampling rate, 44 chirps x 2 Tx = 88 chirps, 1 frame, Complex x1, IQ format , length is always x4 for max 4Rx. 
        In addition, the data arrangement refer to the section 4, swra581b.pdf
        1. 2Tx_1Rx raw data:  256*88 IQ data + 256*88*3 zero data(Please visit the site to view this file) 
       2. 2Tx_2Rx raw data: 256*88*2 IQ data + 256*88*2 zero data
          (Please visit the site to view this file)
       
       3. 2Tx_4Rx raw data: 256*88 *4 IQ data
         (Please visit the site to view this file)
 
 Question:
    1. Why does the distance corresponding to the beat frequency for 2Rx or 4Rx to be shrink into 1/2 (2Rx) or 1/4 (4Rx) compared with 1Rx respectively no matter whether 2Tx or 1Tx ?
    2. What’s the Rx data arrangement for 2Rx and 4Rx on gDataCube of mem_capture on CCS?  The captured data follow up the Fig.6 and equation 3 in the section 4 of swra581b.pdf, right?
         
  Thanks for your help.
  Best Regards,
  A-Kai

BQ76940: Alert/TS/Power supply/Balancing circuit

$
0
0

Part Number: BQ76940

#1 

What is pin44/Alert for?  According to your reference schematic,  it is connected to MCU'S IO. Anything we need to do with it in the code?
#2
Per the literature, pin#6pin is on temperature detection. The schematic shows it is connected to  MCU through a diode isolation. Actually, it is found during debugging that the MCU must give a triggered high level before the IIC communicates normally. Would you please give reference code on this?
#3
About temperature detector of Pin13/TS2 and Pin18/TS3, if we don't use them, can we pull down the resistance to the ground? It is found that when the pull-down resistor is connected to the ground, the voltage read by IIC is all 0V.
#4
Most of the BQ76940 applications are on BMS, and there is no issue of power supply.  Our application is on a battery charger to manage the battery. We have the issue of power supply to BQ7640 itself: when the charger is not connected to the battery,  the chip is not powered at this time, IIC can not communicate. Our question is; can the BQ76940 be powered directly by the charger?
How do I connect? Can you give a reference circuit?
#5(see attached)
Regarding the cell balancing circuit, we need to increase the equalization current to 1.5A. Is it possible to directly change the resistance of the discharge resistors R1/R3/R5/R7/R9?  Do we need to handle this especially by code?
What is the trigger to balance: it is the voltage difference? What is the trigger to discharge for balancing?
Viewing all 262198 articles
Browse latest View live


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