Quantcast
Channel: Processors forum - Recent Threads
Viewing all 17527 articles
Browse latest View live

Linux/PROCESSOR-SDK-AM335X: Linux/PROCESSOR-SDK-AM335X

$
0
0

Part Number:PROCESSOR-SDK-AM335X

Tool/software: Linux

hi there,

According to spruh73p.pdf,  section 9. "For writing to the control module registers, the MPU will need to be in privileged mode of operation and writes will not work from user mode." 

My question is, can this be done using a dts override?? or a liinux kernel module??.


AM3352: Question about am3352 ESD performance reference design and report.

$
0
0

Part Number:AM3352

Hi all,

Our customer want to use am3352 board to pass the 15KV air discharging and 8KV touch discharging ESD test.

Do we have any reference design about this or test report? 

thanks!

BR,
Denny

RTOS/TMS320C6678: I set keepalive but it doesn't effective

$
0
0

Part Number:TMS320C6678

Tool/software: TI-RTOS

int keepalive = 1;

setsocket(s, SOL_SOCKET,SO_KEEPALIVE,(VOID)&keepalive,sizeof(keepalive));

and in .cfg file ,I set  keepaliveidle ,keepalivecount, keepalivetime 

but it is invalid。

Socket still can't detect abnormal conditions (pull-out line)。

how should I do

RTOS/AM3357: Periodic communication error

$
0
0

Part Number:AM3357

Tool/software: TI-RTOS

PHY1(Address is 1) is periodic communication error.PHY9(Address is 9) is normal.
The two phys have the same configuration except for the addresse.

AM3357 and DP83822IF have no reference design.So I referred to ICEv2 and AMIC110_ICE_EVM.

I have four questions.

1,I wonder what is the purpose of this design U10 ? This schematics is from AMIC110_ICE_EVM.

2, PRUSSPinMuxConfig(0x0); Input parameter is 0 or 1,What's the difference? There is no information to explain.

3,What are the direct reasons for this error waveform of RX_ER and RX_DV ? What are the possible causes ?

4, I didn't configure the enhanced link detection function.Is this the cause?


I made a detailed description including the schematic in last post of e2e.ti.com/.../792302

TMS320C6678: Question about c6678 TSIP interface.

$
0
0

Part Number:TMS320C6678

Hi all,

Do you have detailed TSIP spec, customer is consider to implement in FPGA for communication with C6678.

We have checked below, but it's not enough. thanks!

BR,
Denny

RTOS/TDA3XEVM: TDA3x

$
0
0

Part Number:TDA3XEVM

Tool/software: TI-RTOS

Hi,I want to ask questions about processing existed vedio through sd card.In tda3x can we read the vedio stored in sd card and run the code to deal with it? Actually we have used the usecase with network to convey the vedio but the speed is too low.My questions are:

1.Is there any example that allow us to read vedio from sd card and deal with it?(the format can be yuv)

2.If it is ok,we hope that the Frame rate can be 25 fps,is it possible?(the vedio is 384*288*1,it is gray image not color image )

Linux/AM5728: running applications from flash memory

$
0
0

Part Number:AM5728

Tool/software: Linux

hi,

i am working with am5728 with spi nor flash. I flashed three binary files into NOR flash at different address locations corresponding to size of files using uboot commands(NOR flash has no file systems or partitions). Among the three applications, one is an application binary that should use the other two binary files as an input to append these two files. All i did is, just flashed the NOR flash with binaries but, I need help in knowing how these can be used and  append two of the files using application binary.

I think there should a process on how to do it. Please help me with issue.

Thanks & Regards,

venkat R.

Linux/AM3352: Yocto build configuration help

$
0
0

Part Number:AM3352

Tool/software: Linux

hi ,

I am a novice to yocto project.I created the yocto project in the ubuntu 12.04  version.

I wanted to create build configuration as follows

BB_VERSION = "1.22.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Ubuntu-12.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "am335x-evm"
DISTRO = "poky"
DISTRO_VERSION = "1.6.3"
TUNE_FEATURES = "armv7a vfp thumb neon callconvention-hard cortexa8"
TARGET_FPU = "vfp-neon"
meta
meta-yocto
meta-yocto-bsp = "daisy:b9ec9f7425cd11fada2ba104122b0f1ea823ae28"
meta-oe = "daisy:d3d14d3fcca7fcde362cf0b31411dc4eea6d20aa"
meta-ti = "daisy:090b02a104924886afd0fa79be7b5d08eebf071f"
meta-qt5 = "daisy:23405d3a66c308e0b2ea64308b834285850c5c9f"

During the bitbake execution it shows some error.

In default case also shows the bitbake error (with out change in bblayers.conf and local.conf file).Can anyone please suggest me to give proper way to do this configuration.

My system is connected to office network.

Thank in advance 


CCS/TMS320C6657: c66x processor startup code

$
0
0

Part Number:TMS320C6657

Tool/software: Code Composer Studio

Hi,

Can anyone suggest the format or example of startup code (.s file) for c66x family dsp processor.

Thanks,

Chaitra

AM4372: about QSPI_STS_REG[WDCNT] & QSPI_CMD_REG[FLEN]

$
0
0

Part Number:AM4372

Hi everyone,

Please let me know the behavior of QSPI_STS_REG [WDCNT] & QSPI_CMD_REG [FLEN].

"WDCNT" is incremented every Word transfer.

Then, when “WDCNT” reaches the value of FLEN + 1, transfer ends.

Is this behavior correct?

I read TRM, but I did not understand these behaviors.

Best regards,
Sasaki

Linux/AM5749: Compile problem on arago-core-tisdk-image

$
0
0

Part Number:AM5749

Tool/software: Linux

According to tutorial 

I did this step `MACHINE=am57xx-evm ARAGO_RT_ENABLE=1 bitbake arago-core-tisdk-image`. Then some error messages occurs as follow file.

(Please visit the site to view this file)

My system is ubuntu16.04, it seems that it didn't find protobuf. 

But I had already installed protobuf3.4.1 as mentioned in readme.md in the 'tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-nativesdk-arago-linux/nativesdk-tidl-import/01.00.00.00-r1/git/caffeImport/readme.md'.

The protobuf was installed in '~/local_install/protobuf_3.4.0' and the path was added in the '~/.bashrc' file as follow

  • export PATH=/home/will/local_install/protobuf_3.4.0/bin:$PATH
  • export PATH=/home/will/local_install/protobuf_3.4.0/include:$PATH
  • export PATH=/home/will/local_install/protobuf_3.4.0/lib:$PATH

I also try to add the path to the tisdk/build/conf/setenv.

All of them were not worked. Is there any solution?

TMS320C6418: Can we develop Ethernet port?

$
0
0

Part Number:TMS320C6418

Hi,

Can we use LAN9303 or LAN91C111 with TMS320C6418 over its paralel port in order to realize an Ethernet interface, TCP/IP Stack? In short can we construct an Ethernet interface with TMS320C6418?

As known it does not have any EMAC but there are Ethernet switches working over paralel port. There is also TMS320C6424 with EMAC but we have many TMS320C6418 parts in our stock.

Regards,

Serkan

AM5728: Low power consumption with network

$
0
0

Part Number:AM5728

Hi

Using AM57xx , do you have any solution for low power consumption when the network device connected by Ethernet is in standby state.

Cortex-A15 is used in normal network communication.

In the standby state, can you maintain the network connection using Cortex-M4 or PRU-ICSS without using Cortex-A15.

For example, In the standby state, can you return the necessary reply to the request packet to maintain the network connection?

Best Regards.

Linux/DRA745: Booting Linux from the network

$
0
0

Part Number:DRA745

Tool/software: Linux

hi,experts.

How to boot from network?

The guide as below:

Linux/AM5718: About the RS485

$
0
0

Part Number:AM5718

Tool/software: Linux

Hi,
I'm trying to use RS485 (UART) in the following environment.

OS:Ubuntu 16.04.3
SDK:PROCESSOR-SDK-LINUX-AM57X 05_03_00_07
EVM: TMDXIDK5718

Question1
Does RS485 (UART2) correspond to "/dev/ttyS1" on Linux?

Question2
I am using TMDXIDK57X-LCD.
Therefore am571x-idk-lcd-osd101t2587.dts is used,
Is RS-485 (UART2) recognized in this device tree?

Regards,
Rei


RTOS/TDA2PXEVM: First Tx data duplication issue in SPI slave

$
0
0

Part Number:TDA2PXEVM

Tool/software: TI-RTOS

I am developing MCSPI slave mode on TDA2PX, using "utils_mcscpi.c".

However, I was faced with the issue of the first Tx data being transmitted in duplication.
The details are as follows.
1. Development Environment
    1) TDA2PX Slave Device with Ti RTOS
    2) Using External Master Device
    3) Using MCSPI4
2. Issue
    1) Slave Tx Buf Length = 256Byte
    2) Slave Tx Data = 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, ......
    3) Master Rx Data = 3, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, ......
3. MCSPI4 Param Settings
    1) Slave Mode
    2) Interrupt Mode
    3) FIFO Enable
    4) FIFO RxTrigLvl = 32Byte / FIFO TxTrigLvl = 32Byte / Char Length ( Word Length ) = 1Byte
    5) Only Using RX0 Full Enable Interrupt Mask ( in bsp_mcspi.c )
    6) Param Setting Code

    mCSPINum = 3;

    mcspiPrms = Mcspi_PARAMS;

    mcspiPrms.instNum     = mCSPINum;
    mcspiPrms.opMode          = MCSPI_OPMODE_INTERRUPT;
    mcspiPrms.enableCache     = (UInt32) FALSE;
    mcspiPrms.enableErrIntr   = (UInt32) FALSE;
#ifdef A15_TARGET_OS_LINUX
    mcspiPrms.prcmPwrmEnable = FALSE;
#else
    mcspiPrms.prcmPwrmEnable = TRUE;
#endif
    mcspiPrms.spiHWCfgData.masterOrSlave = MCSPI_COMMMODE_SLAVE;
    mcspiPrms.spiHWCfgData.singleOrMultiChEnable = MCSPI_SINGLE_CHANNEL;
    mcspiPrms.spiHWCfgData.pinOpModes    = MCSPI_PINOPMODE_4PIN;
    mcspiPrms.spiHWCfgData.fifoRxTrigLvl = 32;
    mcspiPrms.spiHWCfgData.fifoTxTrigLvl = 32;

    for (i = 0U; i < 1; i++)
    {
        mcspiPrms.spiHWCfgData.configChfmt[i].charLength = MCSPI_LEN_8BIT;
        mcspiPrms.spiHWCfgData.configChfmt[i].multiWordAccessEnable = (UInt32) FALSE;
        mcspiPrms.spiHWCfgData.configChfmt[i].spiChipSelectEnablePol = (UInt32) FALSE;
        mcspiPrms.spiHWCfgData.configChfmt[i].clockMode = MCSPI_MODE2;
        mcspiPrms.spiHWCfgData.configChfmt[i].clockRatioExtension = 0;
        mcspiPrms.spiHWCfgData.configChfmt[i].spiWordInitDelay = MCSPI_NO_DELAY;
        mcspiPrms.spiHWCfgData.configChfmt[i].trasmitReceiveMode = MCSPI_BOTH_RXTX;
        mcspiPrms.spiHWCfgData.configChfmt[i].granularityEnable = (UInt32) TRUE;
#if defined (TDA3XX_AR12_ALPS)
        /* 8 MHz Bus Frequency */
        mcspiPrms.spiHWCfgData.configChfmt[i].busFreq = 8000000;
#else
        /* 24 MHz Bus Frequency */
        mcspiPrms.spiHWCfgData.configChfmt[i].busFreq = 24000000;
  /* 500kHz Bus Frequency */
#endif
        mcspiPrms.spiHWCfgData.configChfmt[i].spienHighPolarity = (UInt32) FALSE;
        mcspiPrms.spiHWCfgData.configChfmt[i].slaveModeChipSelect = MCSPI_SPIEN_0;

        mcspiPrms.spiHWCfgData.configChfmt[i].spiDat0Dir = MCSPI_OUT;
        mcspiPrms.spiHWCfgData.configChfmt[i].spiDat1Dir = MCSPI_IN;
    }

    Mcspi_ChanParams_init(&chanParams);
 
#if 1
 /* update the edma Handle */
    chanParams.fifoEnable   = (UInt32) TRUE;
    chanParams.chanNum = 0;
#endif
    chanParams.chipSelTimeControl = MCSPI_CLK_CYCLE0;
    chanParams.spiChipSelectHold = FALSE;
    chanParams.chanNum = 0;

Is there anything wrong or missing about the settings?
Or are there other debugging points related to it?
Please let me know your opinion.
Thank you.

PROCESSOR-SDK-AM57X: communication between Android application and a program running on the C66x DSP

$
0
0

Part Number:PROCESSOR-SDK-AM57X

We are looking for a simple way of letting a program developed for a C6747 DSP without OS, we intend to let it run on the C66x DSP, with an Android application running on the ARM1Cortex-A15 processor. Has anybody already encountered this problematic and worked out a solution ? Will he/she be ready to share the solution with us ?

RTOS/TDA2PXEVM: Where to download dcc tuning tool?

$
0
0

Part Number:TDA2PXEVM

Tool/software: TI-RTOS

Hi,

How can I get the DCC tuning tool?

Thanks!

66AK2G12: ECC DDR3 memory chip - physical placement (order) on a PCB

$
0
0

Part Number:66AK2G12

Hello,

We are planning to use 3 x  (x16) memory devices in our design (32bits +4ECC bits).

Is there any specific requirement for ECC memory physical placement on a PCB please (by means ordering)?

Is it OK to place ECC memory chip on a PCB as the firs device or as the last device on a fly by lines?

(I am not able to find any information about ECC memory device physical placement constrains (by means ordering) in a datasheet.)

Thank you.

Regards

Juraj

Linux: gst-launch-1.0 filesrc location=testvideo.mpg ! tsdemux ! video/x-h264 ! h264parse ! avdec_h264 ! autovideosink sync=false

$
0
0

Tool/software: Linux

Hello, I want to play *.mpg video file on TDA2, I'm using gstreamer now, I don't know how to write pipeline,

Can you ask next, thank!

Below is the pipeline I tried to play, but it doesn't work properly.

**********************************************************************************************************************************

root@dra7xx-evm:/opt/vision_sdk# gst-launch-1.0 filesrc location=testvideo.mpg ! tsdemux ! video/x-h264 ! h264parse ! avdec_h264 ! autovideosink sync=false
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstTSDemux:tsdemux0: Internal data stream error.
Additional debug info:
../../../git/gst/mpegtsdemux/mpegtsbase.c(1347): mpegts_base_loop (): /GstPipeline:pipeline0/GstTSDemux:tsdemux0:
stream stopped, reason error
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
root@dra7xx-evm:/opt/vision_sdk#
root@dra7xx-evm:/opt/vision_sdk#

Viewing all 17527 articles
Browse latest View live


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