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

Compiler/CC1352R: upgrading new firmware to cc1352 , by transfering hex file through uart .

$
0
0

Part Number:CC1352R

Tool/software: TI C/C++ Compiler

 i want to upgrade the hex file to cc1352  , by clearing the old firmware .  

i want to transfer the hex file through uart to cc1352  and to store in external flash and to upgrade the new hex file .

what are the steps required to follow and what are the documents required the documents to analyse .


TPS5410: TPS5410 output waveform problem

$
0
0

Part Number:TPS5410

where the 1.8mhz build? i only need 500Khz output

Linux/PROCESSOR-SDK-AM335X: Change The Debug Port From UART0 to USB0 on Beagle Bone Black Board

$
0
0

Part Number:PROCESSOR-SDK-AM335X

Tool/software: Linux

Hello:

Can anyone help me in changing Debug Port in Beagle Bone Black (BBB) Board from UART0 to USB0.?

Recently I started working on Bare-metal Programming on BBB board. I am trying to understand U-Boot process of BBB board and all the logs in u-boot prompt are showing on UART0 port.

I want to see the u-boot prompt in USB0 port on BBB. To achieve this, the following are My thoughts..

1. Is it (UART0 as Debug Port) fixed in Boot ROM code only.?
2. What are all the necessary information should I know.?
3. Is it required to modify in u-boot source code.? if yes, where can I change.?
Please, respond as soon as possible.
Thanks and Regards,
Siva Prakash Reddy

TPS92515AHV-Q1: TPS92515AHV-Q1 release timing

CCS/TM4C123GH6PM: Object Oriented Programming Support DSS

$
0
0

Part Number:TM4C123GH6PM

Tool/software: Code Composer Studio

I have a simple TM4cGH6PM Code , where I have to write a unit test to automatically test the 

#include <stdint.h>
#include <stdbool.h>
#include "inc/hw_memmap.h"
#include "inc/hw_types.h"
#include "driverlib/sysctl.h"
#include "driverlib/gpio.h"
int summer(int a,int b);
int i=0;
int a;
int b;
int c;
int m;int x1=5;
int x2=10;
int main(void)
{
SysCtlClockSet(SYSCTL_SYSDIV_5|SYSCTL_USE_PLL|SYSCTL_XTAL_16MHZ|SYSCTL_OSC_MAIN);
m=summer(x1,x2);
}

int summer(int a,int b)
{
	c=a+b;
    return c;
}

I have written the code in this way to test the code just to learn the basic  , and it works fine

// Import the DSS packages into our namespace to save on typing
importPackage(Packages.com.ti.debug.engine.scripting);
importPackage(Packages.com.ti.ccstudio.scripting.environment);
importPackage(Packages.java.lang);

print("New Code Under Execution");
//buildProject "red_led";

// Modify these variables to match your environment. Use forward slashes
var ccs5InstallDir = "C:/ti";
var DSSWorkshopDir = "C:/CCSWorkshop/dss"
var deviceCCXMLFile = DSSWorkshopDir + "/lab1/StellarisLaunchPad.ccxml";

var programToLoad = DSSWorkshopDir + "/workspace/Simple_Trial2/Debug/Simple_Trial2.out";

var logFile = DSSWorkshopDir + "/workspace/Simple_Trial2/log.xml";

// Create our scripting environment object - which is the main entry point 
// into any script and the factory for creating other Scriptable Servers and Sessions
var script = ScriptingEnvironment.instance();

// Create a log file in the current directory to log script execution
script.traceBegin(logFile, ccs5InstallDir + 

"/ccsv6/ccs_base/scripting/examples/DebugServerExamples/DefaultStylesheet.xsl");

// Set trace levels for console and logs
script.traceSetConsoleLevel(TraceLevel.INFO);
script.traceSetFileLevel(TraceLevel.ALL);

script.traceWrite("Begin scripting session");

// Get the Debug Server and start a Debug Session
var debugServer = script.getServer("DebugServer.1");
debugServer.setConfig(deviceCCXMLFile);
var debugSession = debugServer.openSession(".*");

// Check to see if target is already connected
// target.isConnected() API will return 'true' is connected
if (!debugSession.target.isConnected())
{
  // Connect to the CPU
  debugSession.target.connect();
}

// Load a program
debugSession.memory.loadProgram(programToLoad);
debugSession.breakpoint.removeAll();


var start=0;
var end =10;


while(start<10)
{

var addr_x1=debugSession.symbol.getAddress("x1");
print("Address of x1",addr_x1);
debugSession.memory.writeData(0, addr_x1, start, 16); // This writes your_data to the global 

variable a.
var val_x1=debugSession.memory.readWord(0,addr_x1);
print("Value of x1",val_x1); 

var addr_x2=debugSession.symbol.getAddress("x2");
print("Address  of x2",addr_x2);
debugSession.memory.writeData(0, addr_x2, start, 16); // This writes your_data to the global 

variable a.
var val_x2=debugSession.memory.readWord(0,addr_x2);
print("Value of x2",val_x2); 

// Run the target
debugSession.target.run();
print("Running");

var addr_m=debugSession.symbol.getAddress("m");
print("Address of variable m ",addr_m);
var val_m=debugSession.memory.readWord(0,addr_m); 
print("value of m is ", val_m);

var addr_c=debugSession.symbol.getAddress("c");
print("Address of variable c ",addr_c);
var val_c=debugSession.memory.readWord(0,addr_c); 
print("value of c is ", val_c);


var ret=mytestfunc(val_x1 ,val_x2);


TEST_ASSERT_INT(ret,val_c);
start=start+1;
print("INside loop",start);
debugSession.target.restart();
print("Running");

}

// All done
//debugServer.stop();

script.traceWrite("End scripting session");

// Stop logging and exit.
script.traceEnd();

function mytestfunc(x,y)
{
return x+y;
}

function TEST_ASSERT_INT(A,B)
{
if(A==B)
{
print("TEST PASSED");
}
else
print("TEST FAILED");
}

This works good as a starting point .. I want now the Test Scripts to support Object Oriented  Approach which is creating few problems . For example

public class Test 
{ 
	// Instance Variables 
	
	var a; 
	var b; 

	// Constructor Declaration of Class 
	public Test(int a, int b) 
	{ 
		this.a = a; 
		this.b = b; 
	 
	}
      public geta() 
      {
       return a;
      }
      public getb() 
      {
       return b;
      }

}

But this throws me error like 

"identifier is a reserved word"

at the place where class Test is defined

TMS320F28377S: single end ADC input using 16 bit resolution question

$
0
0

Part Number:TMS320F28377S

Hi C2000 champion

My customer used F2837X ADC single end input mode, as the datasheet say, single end need to set as 12 bit resolution. But customer found when they set the single end input as 16 bit resolution, the ADC result looks fine, and the motor run fine too. So they are confuse and need us to give some comment about this condition.

Thank you!

- Eric 

SN65DP141RLJR redriver settings for peak performance

$
0
0

Hi,

I'm using the SN65DP141RLJR for DP with 4K60fps display output. 

Can anyone please help me with best settings for this resolution for pins DRV_PK#/SCL, TX_DC_GAIN/CS, EQ_MODE/ADD2, RX_GAIN, EQ0/ADD0 and EQ1/ADD1 ?

We are running it in the GPIO mode & I2C is disabled

Thanks & Regards,

Nanjunda M

BOOSTXL-CC1120-90: is very sensitive to the effect?

$
0
0

Part Number:BOOSTXL-CC1120-90

I am writing because for a school research project i need to choose a communication system and validate them for our application. My problem is that the communication must work for the downlink from a capsule that can reach speed Mach 3 and it can reach at same time a altitude of about 100km. After some search on internet about LoRa technology we ave founded the TI video where the CC1120 + CC1190 was communicating with more of 100km LoS and we thought these modules can be good for our experiment. At this point we have realized that we don't have found any information about the maximal speed that can be reached from the tx module to avoid that the frequency change induced from the doppler effect have some non negligible effect on the communication (lost of communication).

My question at this point is how sensitive are the CC1120 + CC1190 modules to doppler effect? anybody know the maximal frequency change tolerated on the receiver?


RM48L530: parameters from FMEDA v1.2

$
0
0

Part Number:RM48L530

Hello Champs,

Customer has already got v1.2 FMEDA document.

Would you please kindly suggest whether the testing datat in it are only applicable to automotive application or also covering other applications? Thanks!

Best Regards,

Linda

TAS5825M: TAS5825M MUTE using by GPIO.

$
0
0

Part Number:TAS5825M

Dear Sir,

Can we configure GPIO for MUTE pin?

Which register need to set? How we can do it?

Thanks, Ian.

TUSB8020B: TUSB8040 EEPROM Programmer request

BQ25910: package information request

$
0
0

Part Number:BQ25910

Hi team,

A customer has a question that he cannot find the exact size in the package outline document, as the picture indicates(picture was excerpted www.ti.com.cn/.../mxbg346.pdf), could you tell the mechanical data to it? Thanks.

Regards,

Jenny

CCS/LAUNCHXL-CC2640R2: heap manager and task-count

$
0
0

Part Number:LAUNCHXL-CC2640R2

Tool/software: Code Composer Studio

Hi forum-members,

my application based on rfEasyLinkTx-example, only ti-rtos without ICall. There are four tasks in the application and on compiling it shows that there are 20480 Bytes of sram, therefrom used 16807 Bytes => max number of free sram have to be less then 3673Bytes (20480-16807). In rov-view and also in my application with Memory_getStats(0,&stats) there are 4096bytes free (ever), the total free size is 3976 and the largest free size is 3976 too. Thats not possible.

I play with stack sizes, but nothing changes, except that the needed ram on compiling varies, the total-size (4096), totalfreesize (3976) and largestfreesize (3976) never change. Tested with rov-view and Memory_getStats().

Question: Must I set a predfine or change a variable because there are 4 task in application (on ble5-examples I have to set the OSAL_MAX_NUM_PROXY_TASKS, ICALL_MAX_NUM_TASKS, ICALL_MAX_NUM_ENTITIES), if there are more tasks in application? Is there in ti-rtos something similar?

I use 8.2.0.00007, XDC3.50.8.24, simplelink_cc2640r2_sdk_2_20_00_49.

Grateful about answers!

best regards,

Bjoern

OPA301: OPA 301 Issue

$
0
0

Part Number:OPA301

Dear all,

I am trying to build a simple filtering stage for baseband signals. Therefor I use an Opa301. The Problem is that when I want to filter a sinusoidal signal with a DC offset of 2.1V and amplitude of 100mV something strange happens if my power supply is 3 V. However when I increase the voltage of  Vcc, eg to 5V, the problem vanishes at some point. Of course, by using an ideal OPamp, this behaviour doesn't occure neither.

Can somebody give me a hint?

Thank you a lot in advance!

Best regards,

Ben

(Please visit the site to view this file)

CC2540EMK-USB: Passkey in case of capability 'Keyboard only'?

$
0
0

Part Number:CC2540EMK-USB

I'm having a BLE device (peripheral) which is configured as being a  "Keyboard Only" device. When I connect to this device with any tool (e.g. CySmart) it displays a passkey on my PC, which needs to be entered on the BLE device.

Now I want to control this with the CC2540 BLE Dongle, using the HCI commands.When I execute the GAP_Authenticate command I receive the GAP_PasskeyNeeded event with parameter 'uiOutput' set, indicating a passcode must be displayed, but where exactly is the passcode data which must be displayed?


Linux: DS90UB954 support two different resolution cameras at the same time

$
0
0

Tool/software: Linux

HI,in my item, we need to support two different resolution cameras to display at the same time in ub954,senor A is 1280 * 960, sensor B is 1280 * 800, whether support ?

CCS/TDA2: TIDL EVE used case not hitting breakpoint

$
0
0

Part Number:TDA2

Tool/software: Code Composer Studio

Hi,

I am working on TIDL library and I have the following issue,

I build the eve.out file in DEBUG mode and run it on TDA2x but the breakpoint does not hit main() function in tidl_tb.c file, instead it just runs continuously, and hence I am not able to debug the source code.

Could you please tell me if I have to make changes in the GEL files.

The build syntax I am using is 

gmake CORE=eve TARGET_BUILD=debug all

Thank you

Regards,

Nithin

ADS1256: The reference SCH of ADS1256EVM

$
0
0

Part Number:ADS1256

hi,

   Would you help share the reference SCH of ADS1256EVM,  I can't find it in the TI website

Thanks a lot

BQ24725A: Charging flow

$
0
0

Part Number:BQ24725A

Hello

 

       Do we have charging flow (included register setting) to customer for SW reference? They use 2-cell 4200MAH/7.4V battery. Thank you. 

BR

Patrick

DRV5032: When is RTM regarding DRV5032DUDBZR

$
0
0

Part Number:DRV5032

Dear Specislists,

My customer is interested in DRV5032DUDBZR.

Only this device is preview.

Could you tell me when is the RTM?

I appreciate your great help in advance.

Best regards,

Shinichi

Viewing all 262198 articles
Browse latest View live