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

TMS320C5505: Setting UART baud rate in TMS320C5505 DSP

$
0
0

Part Number: TMS320C5505

The question is on how to set UART baud rate in TMS320C5505 DSP, and guarantee proper communciation.

Referring to DSP datasheet and UART user guide, baud rate is programmable according to the formula:

When:

  • Divisor is any integer value in the range between 1 and 65,535.
  • UART input clock frequency is the system clock generated internally – 100MHz in our case (refer to image below).

 

 My goal is to achieve the highest rate possible between DSP and another MCU device (non-TI part), when the last supports: 9600, …, 57600, 115200, 230400, 460800, 921600, 1382400 bps.

Applying the formula on 921600 and 1382400 as desired baud rates, gives non-integer divisor values -  6.78 to set 921600 bps, and 4.5 to set 1382400.

 If doing the other way, setting divisors first, the formula gives rates different of the supported by MCU – DIV=6 set DSP UART to 1040000, DIV=5 set DSP UART to 1250000.

  

Obviously, in order to have a reliable UART communication same baud rates should be set on both ends.

What is the method for setting a reliable high speed UART comms using the DSP?

Or is the only option reduce the rate (increasing divisor value) until getting equal baud rates with valid divisor values?

 

Appreciate any advise.

Thanks,

Maxim.


J6EVM5777: How to get timestamp in Vision SDK v03.04?

$
0
0

Part Number: J6EVM5777

Hello All,

We are working on Vision SDK v03.04. And we are planning to take time-stamp of our code for debugging purpose.

Hence, we would like to know whether there is any inbuilt function supported by VSDK to get time-stamp.

If it is there, please let us know.

Thanks,

Chetan

AM5748: GMAC Rx Pacing Algorithm

$
0
0

Part Number: AM5748

Hello All,

I did some measurements with the RX pacing on the GMAC eth0 interface.

As input (rx data) we have two 2.4kHz streams and one 1.2kHz stream.

That means we receive in a 1ms time frame between 5 and 7 packets.

Rx pacing is set to 500us:

root@cpm:~# ethtool -c eth0

Coalesce parameters for eth0:

Adaptive RX: off  TX: off

stats-block-usecs: 0

sample-interval: 0

pkt-rate-low: 0

pkt-rate-high: 0

 

rx-usecs: 500

rx-frames: 0

rx-usecs-irq: 0

rx-frames-irq: 0

 

tx-usecs: 0

tx-frames: 0

tx-usecs-irq: 0

tx-frames-irq: 0

 

rx-usecs-low: 0

rx-frame-low: 0

tx-usecs-low: 0

tx-frame-low: 0

 

rx-usecs-high: 0

rx-frame-high: 0

tx-usecs-high: 0

tx-frame-high: 0

  

I did a measurement with LTTNG. On the Trace Compass Resource diagram screenshot I added the time between the eth0 interrupts (IRQ/86, numbers are in us).

Could you explain why we see this three different gaps between the IRQ/86 interrupts (200us, 400us and 1000us)?

It seems that we have a dynamic setting of the Rx pacing during run time, even though I have set the pacing to 500.

Could you explain more in detail the algorithm which is used.

Best regards,

Andreas

TI alternate for Mediatek MT8516SOM or MT8516 soc

$
0
0

I am looking for TI alternate of Mediatek MT8516SOM or MT8516 soc. Please suggest for any suitable device.

Thanks

Elango

AM5718: LINUX : Supported LCD for AM5718 Linux driver

$
0
0

Part Number: AM5718

Hi,

We are using a custom board of AM5718. A 24 bit RGB LVDS output need to be displayed on the LCD.

What are the supported LCD list for which drivers are available currently in Linux for this ? We need to purchase a LCD for this requirement.

Thanks and Regards

Arpita Jena

Which processor is best chioces for AI ?

$
0
0

I want to select a TI processor for AI(Face Recognition

VIP is needed,

Ethernet is needed

, can you help me select a matched MPU ? Thanks!

Or, has a good product which can connect to a paas like a getway?

AM5728: AM5728 reoot

$
0
0

Part Number: AM5728

Hi,

linux sdk5.0.2

The customer executed a program for camera capture + image recognition algorithm, CPU utilization is close to 80%. Process A cpu accounted for about 40%, and the algorithm process B cpu accounted for about 40%. The board reboot after print the below log.

[17:41:12] [ 57.232432] INFO: rcu_preempt detected stalls on CPUs/tasks:
[17:41:12] [ 57.238373] 1-...: (0 ticks this GP) idle=14a/140000000000000/0 softirq=15407/15407 fqs=0 
[17:41:12] [ 57.247117] (detected by 0, t=2102 jiffies, g=1197, c=1196, q=41)
[17:41:12] [ 57.253594] Sending NMI from CPU 0 to CPUs 1:
[17:41:22] [ 67.257281] rcu_preempt kthread starved for 2102 jiffies! g1197 c1196 f0x0 RCU_GP_WAIT_FQS(3) ->state=0x402 ->cpu=1
[17:41:22] [ 67.268211] rcu_preempt I 0 8 2 0x00000000
[17:41:22] [ 67.273961] Backtrace: 
[17:41:22] [ 67.276531] [<c0976768>] (__schedule) from [<c0976f60>] (schedule+0x58/0xc4)
[17:41:22] [ 67.283914] r10:c10181de r9:c10181d0 r8:c1002d00 r7:ee89bed8 r6:eed43580 r5:eed43580
[17:41:22] [ 67.292115] r4:ffffe000
[17:41:22] [ 67.294767] [<c0976f08>] (schedule) from [<c097a7b4>] (schedule_timeout+0x158/0x258)
[17:41:22] [ 67.302877] r5:eed43580 r4:ffff98f7
[17:41:22] [ 67.306625] [<c097a65c>] (schedule_timeout) from [<c028f988>] (rcu_gp_kthread+0x5a0/0x980)
[17:41:22] [ 67.315283] r8:00000001 r7:c10181dc r6:c1002d00 r5:00000001 r4:c1018080
[17:41:22] [ 67.322304] [<c028f3e8>] (rcu_gp_kthread) from [<c0248e28>] (kthread+0x164/0x16c)
[17:41:22] [ 67.330137] r7:ee89a000
[17:41:22] [ 67.332791] [<c0248cc4>] (kthread) from [<c0207d18>] (ret_from_fork+0x14/0x3c)
[17:41:22] [ 67.340358] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0248cc4
[17:41:22] [ 67.348556] r4:ee84ae40
[17:41:22] [ 67.351207] INFO: rcu_sched detected stalls on CPUs/tasks:
[17:41:22] [ 67.356952] 1-...: (1 GPs behind) idle=14a/140000000000000/0 softirq=15406/15407 fqs=34 
[17:41:22] [ 67.365515] (detected by 0, t=2102 jiffies, g=911, c=910, q=7)
[17:41:22] [ 67.371720] Sending NMI from CPU 0 to CPUs 1:
[17:41:32] [ 77.375403] rcu_sched kthread starved for 2034 jiffies! g911 c910 f0x0 RCU_GP_WAIT_FQS(3) ->state=0x0 ->cpu=0
[17:41:32] [ 77.385787] rcu_sched R running task 0 9 2 0x00000000
[17:41:32] [ 77.393172] Backtrace: 
[17:41:32] [ 77.395736] [<c0976768>] (__schedule) from [<c0976f60>] (schedule+0x58/0xc4)
[17:41:32] [ 77.403120] r10:c101841e r9:c1018410 r8:c1002d00 r7:ee89ded8 r6:eed34580 r5:eed34580
[17:41:32] [ 77.411319] r4:ffffe000
[17:41:32] [ 77.413970] [<c0976f08>] (schedule) from [<c097a7b4>] (schedule_timeout+0x158/0x258)
[17:41:32] [ 77.422078] r5:eed34580 r4:ffff993b
[17:41:32] [ 77.425822] [<c097a65c>] (schedule_timeout) from [<c028f988>] (rcu_gp_kthread+0x5a0/0x980)
[17:41:32] [ 77.434482] r8:00000000 r7:c101841c r6:c1002d00 r5:00000001 r4:c10182c0
[17:41:32] [ 77.441502] [<c028f3e8>] (rcu_gp_kthread) from [<c0248e28>] (kthread+0x164/0x16c)
[17:41:32] [ 77.449340] r7:ee89c000
[17:41:32] [ 77.451991] [<c0248cc4>] (kthread) from [<c0207d18>] (ret_from_fork+0x14/0x3c)
[17:41:32] [ 77.459555] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0248cc4
[17:41:32] [ 77.467757] r4:ee84ae40

Compiler/TDA2EVM5777: How can i capture specific frame in Sgx link?

$
0
0

Part Number: TDA2EVM5777

Tool/software: TI C/C++ Compiler

Hi,

I'm trying to connect my camera to TDA2 board.

I'm using Vision_sdk ver 3.6.

In lvds_single_cam_sgx_display usecase, the captured frame has invalid data format. 

In capture link, i set input data format as YUV_422I_YUYV and output data format as YUV_422I_YUYV also. (I don't have exact information about this camera data format)

To get valid data format, i'm going to dump the frame and get valid data format using YUV player. 

To do that, i add the code to save specific frame as raw file. The below is what i added in sgxFrmcpy ProcessData function.

if(customTmp == 10) {
FILE *fp = NULL;
fp = fopen("/opt/vision_sdk/FRAME.RAW", "wb");
if (fp == NULL) {
Vps_printf("[DEBUG] File not opened for capturing frame");
}
else
{
Vps_printf("[DEBUG] File write is Started");
}
fwrite(pBuffer->payload, pObj->inQueInfo.chInfo[pBuffer->chNum].width * pObj->inQueInfo.chInfo[pBuffer->chNum].height*2, 1, fp);
//Vps_printf("[DEBUG] %d written", pBuffer->payloadSize);
fclose(fp);
}
customTmp++;

The usecase is going well but the file that is created by this cord is now displayed normally when i use YUV player.

The below images are captured images what i refered.

  <invalid dataformat>

<saved frame using fwrite>

I changed input/output data format regarding all possible combinations. 

However, any one was not showed normally.

Any suggestion?

Regards,

Yoo


PROCESSOR-SDK-TDAX: [TDA4M] What need files for running apps?

$
0
0

Part Number: PROCESSOR-SDK-TDAX

Hi,

In TDA2, in order to run the apps, apps.out and firmware files(dra7-dsp1-fw, dsp-f2, ipu2-fw) are needed in Linux.

And, in RTOS, the appimage and MLO files are needed.

In TDA4M, if I build the PSDK, the out files are generated.

If I'd like to run the app, just out file is needed?

BR,

Heechang

am437x SD/EMMC boot order and device node

$
0
0

Dear all,

    I setup am437x boot order is SD, EMMC, when I input linux system, SD device node is /dev/mmcblk0, emmc device node is /dev/mmcblk1, when I setup am437x boot order is EMMC,SD,  what is SD device node? what is EMMC device node?

CCS/TDA3XEVM: Downloading code through JTAG using command line in linux

$
0
0

Part Number: TDA3XEVM

Tool/software: Code Composer Studio

Hi,

We are on the way to setting up the test automation for our project, we are wondering if there is any possibility to download the binary(.xem4) through command line using JTAG. We don't want to use code composer studio to download the binary. So Kindly let me know your suggestions to use  command line for the JTAG.

Regards

Prakash  

コンパイラ/ TMS320C6747: Should I change the BIOS version?

$
0
0

Part Number: TMS320C6747

Tool/software: TI C / C ++コンパイラ

Hello Mr. Rahul

I was able to grasp the important part with your help.
Among the sources of development results nine years ago, I will send a tcf file with attribute txt. Development target is a custom board. tcf is the bios config file, isn't it? Do you see this and do you know the BIOS version? I feel like I have to match the BIOS with this when enhancing this time, but how is it?Or is it better to match the platform to bios?
By the way, the tools used at that time are as follows.
TMDSCCS-ALLN01-v4.0 (Code Composer Studio IDE V4)
 DSPBIOS5_41_03_17
 C6747_BIOSPSP_01_30_01
 EDMA3_LLD_BIOS5_01_11_00_03
XDS510 USB (JTAG EMULATOR)

Best Regards

Suzuki(Please visit the site to view this file)

PROCESSOR-SDK-AM437X: EtherNet/IP functionality

$
0
0

Part Number: PROCESSOR-SDK-AM437X

Hi,

Does the PRU-ICSS-EthernetIP_Adapter_01.00.03.04 examples for AM437x sitara processor supports full functionality of Ethernet IP protocol ? kindly let me know in detail.

Regards

Nagaraj G

TMS320C6678: Is it possible to send UDP data on Core 1(Any core other than master core:core 0)?

$
0
0

Part Number: TMS320C6678

Ethernet and its QMSS etc are initialized in core 0, after initialization by core 0, core 1 needs to send UDP data. I have tried it, and I'm getting error in opening fdsession ( fdopensession function call). My question is

1. Is it possible to send on Core 1? If yes, then how?

OMAP-L138: Unsupported Tconf properties in SysBIOS 6

$
0
0

Part Number: OMAP-L138

Hi,

I have a few questions related to unsupported features in SysBIOS compare to DSP BIOS 

With reference to the document Migrating a DSP/BIOS 5 Application to SYS/BIOS 6 (SPRAAS7G)

1. In section B.10 TSK Module Properties.

It state that TSK.<Instance>.order is not longer supported in SysBIOS, What is the impact to the task execution if this property has been removed ?

2. In section B.7 MEM module properties.

MEM.USERCOMMANDFILE, what is the impact by not having this ? Any changes required if this was previously set to true

Thanks.


66AK2H14: Timers interrupts documentation error

$
0
0

Part Number: 66AK2H14

Hello everyone

In the 66AK2H14 Data manual (SPRS866G, nov 2012) I think there is a mistake in the documentation about the timers interrupts

In table 8.24 CIC0 Event Inputs

if we go to this part of the table

Issues

1) the description of interrupts 442 and 444 doesn't match : it says interrupt high but the timer is named "INTL" (so 'low')

2) there is no TIMER_16_INTH ; TIMER_17_INTH ; TIMER_18_INTH ; TIMER_19_INTH

3) it is surprising to see TIMER_14_ and TIMER_15_ as they are already present in 'Table 8-22. System Event Mapping — C66x CorePac Primary Interrupts'

I think the table should be

433 TIMER_12_INTL
434 TIMER_12_INTH
435 TIMER_13_INTL
436 TIMER_13_INTH
437 TIMER_16_INTL
438 TIMER_16_INTH
439 TIMER_17_INTL
440 TIMER_17_INTH
441 TIMER_18_INTL
442 TIMER_18_INTH
443 TIMER_19_INTL
444 TIMER_19_INTH

which would make much more sense

--> Do you agree with the documentation error and the proposed correction ?

Best regards
Clement

66AK2H14: DDR3 Vref

$
0
0

Part Number: 66AK2H14

HI,

There are 2 DDR3 interfaces in the 66AK2H14, which look independent.

My question is relative to the DDR3AVrefSSTL and DDR3BVrefSSTLinput pins :

Can their voltage be set by different parts, or should they be both  connected to the same single DVDD15%2 voltage ?

With best regards,

Bruno

The IBIS file of DRA624PCIZKKC

$
0
0

Hi,

  Our customer is using DRA624 in their project. They are asking for the .ibs file for the simulation. Would you please help on this? thanks very much.

RTOS/PROCESSOR-SDK-DRA7X: Vision SDK 3.4 Modifying FPS for GFX and VID3 to 60FPS

$
0
0

Part Number: PROCESSOR-SDK-DRA7X

Tool/software: TI-RTOS

Hello Team,

Earlier we are using Vision SDK 3.1 and we have below member exportedFramesPerSecond in structure "DispDistSrcLink_CreateParams"

where in we set the Frames for second. But in VISION SDK 3.4 we dont have that member.

=========================================================

DispDistSrcLink_CreateParams *pPrm2;

sprintf((char *)(&pPrm2->exportedName[0]), "vid1");

pPrm2->exportedWidth = WESTON_DISPLAY_WIDTH;
pPrm2->exportedHeight = WESTON_DISPLAY_HEIGHT;
pPrm2->exportedFramesPerSecond = 60; //SETING FPS

pPrm2->numExportedDataFormats = 1;
pPrm2->exportedDataFormats[0] = SYSTEM_DF_ARGB32_8888;

===================================================================

UseCase: We want to set FPS for Display_gfx and Display_vid3

Capture -> Display_Video //Started from IPL boot
Capture_1 -> Display_Video1 //Started from IPL boot
DispDistSrc_gfx -> Display_gfx // Starts after Linux starts since dependeces for western
DispDistSrc_vid3 -> Display_vid3 // Starts after Linux starts since dependeces for western
Capture_dsswb -> Alg_SwCrc

Regards,
Raghu

TCI6638K2K: query regarding use of GPIO pins

$
0
0

Part Number: TCI6638K2K

If the GPIO pins are not used to connect boot interface, how should they be connected? How many GPIOs are required to be connected as interrupts?

Viewing all 17527 articles
Browse latest View live


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