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

CCS/CC3200-LAUNCHXL: What is the minimum voltage & maximum voltage allowed for ADC input?


AM3358: SQLITE Driver not found

$
0
0

Part Number: AM3358

Hello All,

I have used am3358 processor and make custom Linux board, that working fine.

I have installed sqlite 3.24 in the board and its working fine.

Now I want to access the sqlite database from qt but I am not able to do it.

Kindly help me in doing so.

The following is the error I am getting.

QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:

database not opened

I could see no available drivers.How to add driver if already existing?If not existing how to do add?

Regards

Mad_hu

WL1837MOD: WL18xx TX Testing

$
0
0

Part Number: WL1837MOD

Hi Experts,

I have a question about WL18xx TX testing in http://processors.wiki.ti.com/index.php/WL18xx_TX_Testing.

I am utilizing two command below.

    calibrator wlan0 wl18xx_plt tune_channel <channel> <band> <bandwidth>

    calibrator wlan0 wl18xx_plt tune_channel 1 0 0

There is "wlan0" following ”calibrator ."  
Is it always wlan0?

Thank you for your check.
Best regards,

Hitoshi

Compiler/TMS320F28075: Size of data types

$
0
0

Part Number: TMS320F28075

Tool/software: TI C/C++ Compiler

Hello,

I have a question about data types.

I am using TMS320F28075PTPT, CCS v7.4.0 and compiler v18.1.0 LTS version.

I got a document(spru514s) in TI homepage.

I checked the size of float type is 32 bits(4 byte) in the document as below picture.

But actually float size is 16 bits(2 byte).

I checked by using sizeof() function in my test code as below.

 ex) int size = sizeof(float); // size is 2.

Could you check data types size??

If possible, could you send me table of document for data types size?

Thank you for your support !!

WL1837MOD: Supported security features for AP and STA.

$
0
0

Part Number: WL1837MOD

Hi Experts,

There is a feature below introduced at http://www.ti.com/tool/WILINK8-WIFI-NLCP.

Security: WMM-PS, WMM-AC, WPA/2PSK, Ent,WPS,WPSv2

On the other hand, at Table 3. WiLink 8 Specification In 2.3 WiLink 8 Specification in WiLink™ 8 WLAN Features User's Guide( www.ti.com/lit/SWRU423 ) says as follows:

   STA Security Personal: Open, WEP 40/128, WPA/WPA2-PSK  Not Configurable

          Enterprise: EAP, EAP-TLS, EAP-TTLS,PEAPv0

    AP  Security Personal: Open, WEP 40/128, WPA/WPA2-PSK  hostapd.conf

          Enterprise: Not Supported

There seem some contradictions above.
Could you please let me know the correct supported security features with WiLink™ 8 Wi-Fi Driver for Linux OS?
I would like to utilize Open, WEP 40/128, WPA/WPA2-PSK for both AP and STA.

Could you please let me know the meaning of "hostapd.conf" for AP?

Thank you in advance for your time teaching me.
Best regards,
Hitoshi

CCS/TMS320F28379D: Falling edge Sawtooth wave for PWM geneartion

$
0
0

Part Number: TMS320F28379D

Tool/software: Code Composer Studio

I want to generate a pwm pulse with fixed on time and varying off time for the specific application. I tried with up and down count method and down count program. Kindly help.

CC2592: CC2592 RF amplifier issue with CC2640R2 microcontroller and SimpleCentral software project

$
0
0

Part Number: CC2592

Hello everyone,

I'm working on an application for my customer who develloped a BLE board based on a CC2640RHB microcontroller SOC (5x5 chip), linked to a CC2592 RF amplifier.

The software application is based and derivated from SimpleCentral project included with simplelink_cc2640r2_sdk_3_10_00_15 SDK.

For tests, I use BLETools for Android on a smartphone, which can run as an adevertiser.

I made first tests with the LAUNCHXL developpment board and those were successfull :

- Peripheral discovering

- Connection (without pairing I removed)

- Service discovering

- Characteristic data write

Then I moved my application on the target board, and encounter problems with Connectin and/or Service dscovering.

I already spent long time trying to find the root cause of such issue, making many modifications, tracing software execution...

But still don't have found a solution.

So, do someone can help me on this topic ?

Here are explainations of what I could observe during this process :

Step 1 : starts a device discovery using SimpleCentral_doDiscoverDevices () 

Step 2 : asks for a connection using SimpleCentral_doConnect()

Step 3 : selects this connection using SimpleCentral_doSelectConn()

Step 4 : start Service Discovery using SimpleCentral_startSvcDiscovery()

Step 5 : discover services and characteristics for this device, using the following sub steps :

- receive GATT_MSG_EVENT from the stack, which is processed by SimpleCentral_processStackMsg() and then passed to SimpleCentral_processGATTMsg() function

- in SimpleCentral_processGATTMsg() there is a first step to check if link is still established :  if (linkDB_Up(pMsg->connHandle))

- if so, the SimpleCentral_processGATTDiscEvent(pMsg) which includes a state machine is called with several steps during the discovery process :

discState == BLE_DISC_STATE_MTU    (MTU size response => start discovery Services)

discState == BLE_DISC_STATE_SVC    (Service found => start discovery Characteristics)

discState == BLE_DISC_STATE_CHAR  (Characteristic found => OK, I can enable Write)

 

The above steps lists what I could analyze from SimpleCentral application project tracing execution.

All of them are correctly executed with the LAUNCXL board, but not on the target board.

Of course we tested the board first (for that we used a SimplePeripheral based application) and checked than a Central tool (BLE Tool smartphons for example) could connect and write characteristics.

These tests were successfull, so we may think that the board is OK (at least in peripheral mode).

Now, here is the problem found :

- When I run the same program on the target board, and make the same tests and same code tracing, I could see that the if (linkDB_Up(pMsg->connHandle)) test is false meaning that the link is not established.

- I tried many configuration changes on the signals driving the CC2592 (HGM, PA_EN, LNA_EN) but none of them changed anything

- I also tried to change GPO1 to GPO3 as I could read somewhere but it has no effect.

- How PA_EN and LNA_EN are managed and driven ?

- Is there any other change to make in the software (in particular for DIO13 and DIO14 configuration)  ?

- Could someone help me and tell me how to investigate deeper and what may be the cause og the problem ?

Here is the schamatic of this part, and part of the code I changes from SimpleCentral.c application :

/*****************************************************************************/
/* INCLUDES                                                                  */
/*****************************************************************************/
#include <string.h>
#include <stdio.h>
#include <ti/sysbios/knl/Task.h>
#include <ti/sysbios/knl/Clock.h>
#include <ti/sysbios/knl/Event.h>
#include <ti/sysbios/knl/Queue.h>
#include <ti/display/Display.h>
#include "bcomdef.h"
#include <icall.h>
#include "util.h"
#include "icall_ble_api.h"          // This .h file contains all BLE API and icall structure definition
#include "board.h"
#include "ble_user_config.h"
#include "simple_gatt_profile.h"
#include "simple_central.h"
#include <driverlib/ioc.h>          // ASE30 - ( POWER RF AMP)



...

/******************************************************************************
 * @fn      SimpleCentral_Init
 * @brief   Initialization function for the Simple Central App Task.
 *          This is called during initialization and should contain
 *          any application specific initialization (ie. hardware
 *          initialization/setup, table initialization, power up
 *          notification).
 * @param   none
 * @return  none
 *****************************************************************************/
static void SimpleCentral_init(void)
{
    uint8_t i;

    // >>> N0 STACK API CALLS CAN OCCUR BEFORE THIS CALL TO ICall_registerApp <<<
    // Register the current thread as an ICall dispatcher application
    // so that the application can send and receive messages.
    ICall_registerApp(&selfEntity, &syncEvent);

    // Create an RTOS queue for message from profile to be sent to app.
    appMsgQueue = Util_constructQueue(&appMsg);

    //-------------------------------------------------------------------------
    // Hardware initialization
    //-------------------------------------------------------------------------

    //*********************************** Initializations for GPIO input SWITCH
    // install SWITCH callback
    GPIO_setCallback(Board_GPIO_SWITCH, gpioSwitchCallbackFxn);
    // Enable interrupts
    GPIO_enableInt(Board_GPIO_SWITCH);
    // Create the debounce clock object for SWITCH
    SwitchDebounceClockHandle = Util_constructClock(&SwitchDebounceClock, SwitchDebounceSwiFxn, 50, 0, 0, Board_GPIO_SWITCH);

    //***************************************** Initializations for RF Amplifier
    // Map RFC_GPO0 to DIO13 (LNA Enable)
    IOCPortConfigureSet(IOID_13, IOC_PORT_RFC_GPO0, IOC_IOMODE_NORMAL);
    // Map RFC_GPO1 to DIO14 (PA Enable)
    IOCPortConfigureSet(IOID_14, IOC_PORT_RFC_GPO1, IOC_IOMODE_NORMAL);
    // Sets the High Gain Mode (HGM) - DIO12
    GPIO_write(Board_GPIO_HGM, 0);


Thank you in advance for any help .

Ragards

Patrick

TIOL111: io link

$
0
0

Part Number: TIOL111

I want to use TIOL111 in my design. i want to derive L+ and L- internally of my PCB and only i want to expext CQ externally. Can  i do like this or not ?


CC2540: Unable to discover the device running SimpleBLEPeripheral from Android

$
0
0

Part Number: CC2540

   It looks like my issue is rather unique. I saw many threads stating "I have CC2540, SmartRF EVB, I run SimpleBLEPeriferal there and I can discover that device from Android using Sensor Tag or other apps". Apparently it works for most but I have an issue and I'm totally stuck. I put a number of breakpoints throughout the SimpleBLEPeriferal code and it looks like the code goes into the advertisement branch. At certain point it receives GAPROLE_ADVERTISING message. At the same method there is a handler for the GAPROLE_STARTED message and I can see the assigned to the device address. I tried to go step by step over many functions to make sure that all of them return SUCCESS. I see where the code enters START_ADVERTISING_EVT handler, then calls GAP_MakeDiscoverable which returns SUCCESS. So, I assume it is in the discoverable state.

   Then, I downloaded many BLE scanners: Sensor Tag from IT, nRF Connect, BLE Scanner. None of them sees the device. Can anybody at least give me a hint where to look? My EVB is this https://www.amazon.com/gp/product/B01ILPMG8Y. I did a few minor changes to the code to initialize and use UART for logging but it is the original TI code 99.99%. I have this list of defines

INT_HEAP_LEN=3072
HALNODEBUG
OSAL_CBTIMER_NUM_TASKS=1
HAL_AES_DMA=TRUE
HAL_DMA=TRUE
POWER_SAVING
xPLUS_BROADCASTER
HAL_LCD=TRUE
HAL_LED=TRUE
HAL_KEY=TRUE
HAL_UART
HAL_UART_DMA=0
HAL_UART_ISR=1
xCC2540_MINIDK
xZTOOL_P1
xSERIAL_DEBUG_SUPPORTED

I changed it a bit as well. All other configurations are original. I didn't try any sniffers to check if the device is advertising but even if I use one, I don't know what to do with this information. If the sniffer says it is advertising, why Android does not see it then. If the sniffer says it is not advertising I anyway have to idea what to change to make it advertising because read above it looks like all methods regarding advertising return SUCCESS.

Thank you,

Alex

LDC1612EVM: LDC1612EVM

$
0
0

Part Number: LDC1612EVM

I am using LDC1612 IC in one of my modules for object detection purpose. Before Assembling the coil sensors in the modules, am validating them using LDC1612 EVM to detect the drive current as I don't know Rp of it.

My question is does the EVM has the hardware logic to change the detected drive current and Vosc given to the coil sensors?.

Because am using the LDC1612 IC with an LPC1115 IC, I doubt whether to add any software logic in my controller or to modify my hardware to change Idrive in my PCBA module?

The coil am using is of 24 turns, 2layered, 1Oz Cu thickness, 0.102mm track width and spacing. Capacitor used is 330pF in the tank circuit.

A clarification would be really helpful.

Thanks

Dinesh.

TLV320AIC3104: Please tell me how to update microphone bias by detecting microphone jack connection

$
0
0

Part Number: TLV320AIC3104

Trying to update the microphone bias due to the microphone jack connection detection (MIC2L)
I set the routing in the device tree and source code as follows.
A connection detection event does not occur even when the card is inserted or removed.
* Only before widget power up (SND_SOC_DAPM_PRE_PMU) event occurs during the startup process when the power is turned on.

Can you tell me if other settings are required?

<Changes>

1.arch\arm\boot\dts\imx6qdl-pm.dtsi

sound {
	compatible = "fsl,imx-audio-tlv320aic3x";
	model = "eukrea_tlv3x";
	ssi-controller = <&ssi2>;
	fsl,mux-int-port = <2>;
	fsl,mux-ext-port = <6>;
	audio-codec = <&codec>;
+	audio-routing =
+	"MIC2L", "Mic Jack",
+	"Mic Jack", "Mic Bias";
};

&i2c3 {
	clock-frequency = <100000>;
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_i2c3>;
	status = "okay";

	codec: tlv320aic3104@18 {
		compatible = "ti,tlv320aic3104";
		reg = <0x18>;
		clocks = <&clks IMX6QDL_CLK_CKO2>;
+		ai3x-micbias-vg = <1>;
	};
};

---------------------------------------------------------------
2.sound\soc\codecs\tlv320aic3x.c

/* for debuglog */
+static int update_mic_bias(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event)
+{
+	printk(KERN_ERR "********%s(): [DEBUG]0x%02x\n", __func__, event);
+	return 0;
+}

static const struct snd_soc_dapm_widget aic3x_dapm_widgets[] = {
    .
    .
    .
+	SND_SOC_DAPM_MIC("Mic Jack", update_mic_bias),
};

static const struct snd_soc_dapm_route intercon_extra_3104[] = {
	/* Left Input */
+	{"MIC2L", NULL, "Mic Jack"},
+	{"Mic Jack", NULL, "Mic Bias"},
	{"Left PGA Mixer", "Mic2L Switch", "MIC2L"},
	{"Left PGA Mixer", "Mic2R Switch", "MIC2R"},
	/* Right Input */
	{"Right PGA Mixer", "Mic2L Switch", "MIC2L"},
	{"Right PGA Mixer", "Mic2R Switch", "MIC2R"},
};

 

CC1350: Impact of adding functions to Idle Task on wakeups

$
0
0

Part Number: CC1350

HI, I am using a function in the idle task of TI-RTOS to flush text from a buffer to the UART. This is from an example that showed how to use this to handle System_printf. Here are the relevant lines from the configuration file:

System.SupportProxy = SysCallback;
SysCallback.putchFxn = "&uartPrintf_putch";
...
Idle.addFunc('&uartPrintf_flush');

This works fine but I am worried that it might cause too many wakeups and would influence power consumption.

My application wakes up periodically (I use an interrupt from the sensor controller to wake it up), transmits and does other things, and goes back to sleep. It's okay and good for the flush function to be called once when the burst of activity ends, but I worry that the power manager might wake it up periodically to give it an opportunity to do something.

Are functions in the idle task invoked only when something else wakes up the processor, or periodically?

The configuration of the power manager is the default from the empty project:

const PowerCC26XX_Config PowerCC26XX_config = {
.policyInitFxn = NULL,
.policyFxn = &PowerCC26XX_standbyPolicy,
.calibrateFxn = &PowerCC26XX_calibrate,
.enablePolicy = true,
.calibrateRCOSC_LF = true,
.calibrateRCOSC_HF = true,
};

Thanks, Sivan Toledo

TMS320F280049: Alternatives if someone can not access APP Center

$
0
0

Part Number: TMS320F280049

Hi Champs,

My customer can not access to APP Center because of their company's policy.
I believe that https://e2e.ti.com/support/tools/ccs/f/81/t/821729  shows the resolution. 
However, the specified URL: http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/guicomposer/v7.2/gc-ccsRepo/  has been being maintained.

Could you please inform me when it comes back?

PowerSUITE requires the GUI composer runtime through APP center in CCS.
Thank you very much for your kind check.

Best regards,
HItoshi 

5V in, +-15V output, one chip solution

$
0
0

Hi,

Please recommend a matchable solution with LT3471 .This one is one chip solution of 5V in ,+-15V output solution. 

CC2650: Can't enable power policy in CC2650

$
0
0

Part Number: CC2650

Hi,

I am trying to use the power policy in CC2650 while writing the application using TI-RTOS. I want to make a custom power policy according to the application needs.Right now, I am trying to use the standard standby policy of RTOS by integrating the following lines-

var Power = xdc.useModule('ti.sysbios.family.arm.cc26xx.Power');
Power.idle = true;
Power.policyFunc = Power.standbyPolicy;

Whenever I build the application with these lines in cfg file, It throws the folliowing error-

Error while running "c:/ti/xdctools_3_32_00_06_core/xs" 
--xdcpath="c:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/packages;c:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/tidrivers_cc13xx_cc26xx_2_21_00_04/packages;c:/ti/tirtos_cc13xx_cc26xx_2_21_00_0 
6/products/bios_6_46_01_37/packages;c:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/uia_2_01_00_01/packages" iar.tools.configuro -c "C:\Program Files (x86)\IAR Systems\Embedded 
Workbench 7.5\arm" --cc "C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.5\arm\bin\iccarm.exe" --device "CC2650F128" --compileOptions "-o \"C:\Mydata\New folder\ 
powerWorkspace\Debug\Obj\" --no_cse --no_unroll --no_inline --no_code_motion --no_tbaa --no_clustering --no_scheduling --debug --endian=little --cpu=Cortex-M3 -f \"C:\Mydata\New folder\ 
powerWorkspace/configPkg/compiler.opt.defs\" --diag_suppress=Pa050 -Ic:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/cc26xxware_2_24_03_17272 -Dewarm --debug --silent -e --fpu=None 
--dlib_config \"C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.5\arm\INC\c\DLib_Config_Normal.h\" -Ol" --linkOptions "-o \"C:\Mydata\New folder\powerWorkspace\Debug\Exe\ 
powerStandby.out\" --map \"C:\Mydata\New folder\powerWorkspace\Debug\List\powerStandby.map\" --config \"C:\Mydata\New folder\ 
powerWorkspace/powerStandby_CC2650_LAUNCHXL.icf\" -f \"C:\Mydata\New folder\powerWorkspace/configPkg/linker.cmd\" 
c:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/cc26xxware_2_24_03_17272/driverlib/bin/iar/driverlib.lib --silent --cpu=Cortex-M3 --entry=__iar_program_start --redirect _Printf=_PrintfSmall 
--redirect _Scanf=_ScanfSmall --semihosting --entry __iar_program_start --vfe" --profile release --projFile "C:\Mydata\New folder\powerWorkspace\powerStandby.ewp"

I have no idea what is this about.

Thanks.

Rahul


CCS/MSP430F5529: Clock Configuration with AD9760

$
0
0

Part Number: MSP430F5529

Tool/software: Code Composer Studio

Hello everyone,

I am using MSP430f5529 at system clock 25 Mhz, I am fetching 10 bit data to generate sine wave using AD9760 IC.

I have 16 points value of sine in 10 bit resolution.

My question is my fetching data to the AD9760 parallely, i get only  frequency 128 Khz sine wave, i want to generate atleast 1Mhz sine wave.

the frequency generated is directly proportional to the speed at which data is fetching.

So what should i do fo the same to generate atleast1 Mhz sine wave 

Any Suggestion in code modification, or using DMA, or change controller should also be done if suggested.

SN74AHC14: Input threshold voltage limit (min and max) w.r.t. ambient temperature

$
0
0

Part Number: SN74AHC14

Hi,

I also wanted to know the input voltage threshold (Vt+, Vt-) limit variation with respect to voltage and temperature. Looks like, the excel link in another thread pointed here, provided only the variation w.r.t. 3.3V input variation. could you please help me with the temperature range of 0 to 75 degC Ambient and input voltage 5V with 5% variation.

Thanks in advance for your help!

Thanks & Regards

Muthu A

CCS/CC1310: Getting extended address from short address - collector/sensor

$
0
0

Part Number: CC1310

Tool/software: Code Composer Studio

Hey guys,

I was wondering, if the extended addresses from the sensor are stored somewhere in the collector together with the associated short addresses. I found Cllc_associatedDevList[x].shortAddr gives me all short addresses associated with the collector. However, I dont know which extended address belongs to which short address.

Is there a way to get the short addresses with their corresponding ext. address?

kind regards

Slev1n

DAC38RF82: Recommended Baluns for DAC38RF82.

$
0
0

Part Number: DAC38RF82

Hi,

The recommendations for Balun's for DAC (DAC38RF82) was not mentioned in datasheet.

In the DAC EVM recommended part no: TCM3-452X-1+. This Balun having high phase imbalance.

Can we use TCM2-33WX+ (this balun was recommended in ADC12DJ3200).

Can you suggest other baluns for DAC38RF82.

This the TCM3-452X-1 Balun performance.

Regards,

Rajesh khanna

Type-C/PD power chip choose

$
0
0

Hi TIs

I have two designs which need to integrate Type-C/PD power function.

One is 5/9/15/20V with MAX 3A power,

The other is  5/9/15/20V with MAX 5A power,

Could you please help to advice a power chip for me?

Thanks

Viewing all 262198 articles
Browse latest View live


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