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

LAUNCHXL-CC1310: TI-15.4-STACK-CC1310-433M

$
0
0

Part Number:LAUNCHXL-CC1310

Dear Ti engineers,

I found that TI-15.4-STACK don't support 433M at this moment. May I know the schedule? One of my customer is interested in this SDK based on CC1310-433M. Thanks a lot.


Compiler: Broker connect fail for conn no.1 mqtt_client demo cc3200

$
0
0

Tool/software: TI C/C++ Compiler

 hi ,

       while i download the mqtt_client in the debug mode ,it show the error:

while search where the project to print this error,it comes to

i don't know how to correct this issue ,some suggest will be helpful.

best regards.

 

CCS/TMDX570LC43HDK: Can't build lwIP demo on CCS

$
0
0

Part Number:TMDX570LC43HDK

Tool/software: Code Composer Studio

Hi everybody!

I recently got an evaluation board for the TMS570LC43X processor and I've been trying to build the lwIP demo that is here.

What I did was:

- import the project on CCS using Project/Import project and then looked for

C:\ti\Hercules\HALCoGen EMAC Driver with lwIP Demonstration\v00.03.00\TMS570LC43x\Build-TMS570LC43x

- then, after hitting the Debug button, the compilation starts but it gets stuck when it reaches this message:

'Building target: Build-TMS570LC43x.out'
'Invoking: ARM Linker'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --define=_TMS570LC43x_ --display_error_number --diag_warning=225 --diag_wrap=off --enum_type=packed -z -m"Build-TMS570LC43x.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/lib" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="Build-TMS570LC43x_linkInfo.xml" --rom_model --be32 -o "Build-TMS570LC43x.out" "./HALCoGen-TMS570LC43x/source/HL_emac.obj" "./HALCoGen-TMS570LC43x/source/HL_epc.obj" "./HALCoGen-TMS570LC43x/source/HL_errata.obj" "./HALCoGen-TMS570LC43x/source/HL_esm.obj" "./HALCoGen-TMS570LC43x/source/HL_mdio.obj" "./HALCoGen-TMS570LC43x/source/HL_nmpu.obj" "./HALCoGen-TMS570LC43x/source/HL_notification.obj" "./HALCoGen-TMS570LC43x/source/HL_phy_dp83640.obj" "./HALCoGen-TMS570LC43x/source/HL_pinmux.obj" "./HALCoGen-TMS570LC43x/source/HL_sci.obj" "./HALCoGen-TMS570LC43x/source/HL_sys_core.obj" "./HALCoGen-TMS570LC43x/source/HL_sys_dma.obj" "./HALCoGen-TMS570LC43x/source/HL_sys_intvecs.obj" "./HALCoGen-TMS570LC43x/source/HL_sys_main.obj" "./HALCoGen-TMS570LC43x/source/HL_sys_mpu.obj" "./HALCoGen-TMS570LC43x/source/HL_sys_pcr.obj" "./HALCoGen-TMS570LC43x/source/HL_sys_phantom.obj" "./HALCoGen-TMS570LC43x/source/HL_sys_pmm.obj" "./HALCoGen-TMS570LC43x/source/HL_sys_pmu.obj" "./HALCoGen-TMS570LC43x/source/HL_sys_selftest.obj" "./HALCoGen-TMS570LC43x/source/HL_sys_startup.obj" "./HALCoGen-TMS570LC43x/source/HL_sys_vim.obj" "./HALCoGen-TMS570LC43x/source/HL_system.obj" "./example/hdk/src/lwip_main.obj" "./lwip-1.4.1/apps/httpserver_raw/fs.obj" "./lwip-1.4.1/apps/httpserver_raw/httpd.obj" "./lwip-1.4.1/ports/hdk/lwiplib.obj" "./lwip-1.4.1/src/core/def.obj" "./lwip-1.4.1/src/core/timers.obj" "./lwip-1.4.1/src/netif/ethernetif.obj" "C:/ti/Hercules/HALCoGen EMAC Driver with lwIP Demonstration/v00.03.00/TMS570LC43x/HALCoGen-TMS570LC43x/source/HL_sys_link.cmd"  -lrtsv7R4_T_be_v3D16_eabi.lib
<Linking>

I understand it has to do with the linker... Any thoughts?

My setup:

  • Windows 10 x64
  • CCS Version: 7.0.0.00043

Thank you!!

LM5170-Q1: LM5170-Q1 parallel operation

$
0
0

Part Number:LM5170-Q1

We are using the LM5170-Q1 for parallel operation.

If 4 modules are operating in parallel, how this IC handle the load balancing on each module?

Is there any application note or details on this?

DP83867IR: Mirror Mode Configuration

$
0
0

Part Number:DP83867IR

Hi 

I'd like to know the configuration of Mirror mode.
I know that Mirror mode can be enabled/disabled via strap or register configuration.
But it seems that "After Mirror mode is enabled once, it can't work properly if Mirror mode is disabled after that".

The port connections of my customer board is not mirroring. So, they usually use it with Mirror mode disabled.
But, at first, Mirror mode is enabled via strap. And then, they changed Mirror Mode register configuration using MDIO. As a result, it doesn't work.

====================
1. Mirror mode is enabled via "strap", 
2. Mirror mode is disabled via "register configuration" using MDIO.
=>NG: Link is established. But there is no data on RGMII RX signals if there are some "Receive activity". (LED2 is lighting)

====================
1. Mirror mode is disabled via "strap",
=>OK! no problem.

I checked it using EVM. I confirmed the same phenomenon happens.
So, I understand that  "After Mirror mode is enabled once, it can't work properly if Mirror mode is disabled".
Is my understanding correct? Or we need to config any other register when Mirror mode is changed?

Of course, I think Mirror mode should be disabled via strap for this board.

Best Regards,
Taka

 

AM5718: NAND boot errata i927

$
0
0

Part Number:AM5718

Hi,

Is there the plan which eratta i927of AM5718 is improved by the revision up of the device?
i927 SoC Doesn’t Read Redundant ONFI Parameter Pages in NAND Boot Mode

Best Regards,
Shigeiro Tsuda

DRV8830: DRV8830 I2C reference code

$
0
0

Part Number:DRV8830

Hi Team,

customer is evaluating DRV8830 device and they are asked if we have I2C reference code and the GUI software to verify the I2C control function? Please advise. Thanks.

Regards,

Arthur

CC3100: ssl

$
0
0

Part Number:CC3100

We have a cc3100 based product which connects to google servers (android.googleapis.com)

This was working fine for a long time until a few days ago.

 

We started getting error -340 on the SSL connection.

The SSL setup is :

 

method.secureMethod = SL_SO_SEC_METHOD_SSLv3_TLSV1_2;   

cipher.secureMask = SL_SEC_MASK_SECURE_DEFAULT;

sl_SetSockOpt(gSockID, SL_SOL_SOCKET, SL_SO_SECURE_FILES_CA_FILE_NAME,GOOGLE_CERT_FILE, strlen(GOOGLE_CERT_FILE));

 

Ive tried to select specific ciphers. Also tried different certificate files, using the exact same one which works with a PC curl application. What I see is that the first sl_connect takes a long time and then fails with -340. Repeated attempts fail immediately with the same error.


CC2650STK: Use sensortag for scanning beacons and record RSSI

$
0
0

Part Number:CC2650STK

I'm working on a project in which we want to scan (observer mode) BLE beacons MAC address and RSSI using a cc2650 sensor on real-time.

I checked simple_central_audio_receiver project (for cc2650 launchpad) and saw that it have problems to do properly on sensortag.

I was wondering if someone could help to find a sample code to do it simply.

Thanks in advance.

CCS/RM46L852: __TI_resource_lock(__TI_LOCK_RAND); where my code goes to die

$
0
0

Part Number:RM46L852

Tool/software: Code Composer Studio

Hello All!

I was trying to use the RAND() function in stdlib.h and rand.c in my code but the resource lock halts everything and it stalls there.

Properly moves into rand.c and in the check:   #if !defined(__TI_USE_TLS)        decides it is not defined and attempts to execute:

                    __TI_resource_lock(__TI_LOCK_RAND);

Stepping through the debugger it halts on this line.

_mutex.h contains the details on this resource lock call.

I have no idea why it is halting here. I've never called RAND on a micro-controller before, so I don't know if such a call on this hardware is even valid.

I also don't know if the fact that I'm doing it on a Hercules with two "locksetup" cores has implications of its own.

//////////////////////////////////////////////////////

Include options I have:

"${CG_TOOL_ROOT}/include"

"${CG_TOOL_ROOT}/lib"

"${workspace_loc:/${ProjName}/include}"

////////////////////////////////////////////////////

Thank you for whatever help you can give.

LMZ35003: RKG Package Drawing

$
0
0

Part Number:LMZ35003

Hello Team;

I could not find LM35003RKG package PAD size Drawing for this device in datasheet Link.

Could you provide drawing.

(Package Drawing is 4210962-3/E)

Thanks.

Macs- Japan CSC

TPS563219: reqeust schematic review

CC3200: How to enter low power modes while using Wi-Fi examples

$
0
0

Part Number:CC3200

Hi, I use the CC3200 launchpad rev 4.1.

I use the HTTP server example from SDK 1.2.0 and Service Pack 1.0.1.6-2.7.0.0.

// In main.c, start OS Scheduler, I do not use RTOS
    //
    osi_start();

    while (1) // No WFE or WFI
    {

    }

I expected to use the WFE (Wait For Event) or WFI (Wait For Interrupt) in the while loop to save current consumptions.

In my case, I changed the example a bit; I use both Wi-Fi and PWM.

I wish the CC3200 to sleep in the while loop and wake up when radio events or PWM events occurs.

Is there an example to wake up when using Wi-Fi?

The Wiki explains the RTC wake-up. However, I cannot determine whether the RTC wake-up is related to my desire above.

TM4C123GH6PM: Problem with Timer interrupt handler

$
0
0

Part Number:TM4C123GH6PM

I am using IAR workbench. EK-TM4C123GXL launchpad

I wrote code to get square wave 2 msec period, 50% duty cycle.

Below code works fine. My problem is with interrupt handler. How to add interrupt handler function. For my code I have added cstartup_M.c file. Is it correct way to add. If no, please share correct way.

.............................code..................................

#include <stdbool.h>
#include <stdint.h>
#include "inc/tm4c123gh6pm.h"
#include "inc/hw_ints.h"
#include "inc/hw_memmap.h"
#include "driverlib/gpio.h"
#include "driverlib/interrupt.h"
#include "driverlib/pin_map.h"
#include "driverlib/sysctl.h"
#include "driverlib/timer.h"

volatile uint8_t state=0;

uint32_t freq=0;

void TIMER0A_Handler(void)
{
TimerIntClear(TIMER0_BASE, TIMER_TIMA_TIMEOUT);
state^=GPIO_PIN_1;
GPIOPinWrite(GPIO_PORTF_BASE,GPIO_PIN_1, state);
}


int main(void)
{

SysCtlClockSet(SYSCTL_SYSDIV_5 | SYSCTL_USE_PLL | SYSCTL_OSC_MAIN | SYSCTL_XTAL_16MHZ);
SysCtlDelay(3);
freq = SysCtlClockGet();   // 40Mhz
//GPIO Configuration
SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOF);
SysCtlDelay(3);
GPIOPinTypeGPIOOutput(GPIO_PORTF_BASE, GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_3);
GPIOPinWrite(GPIO_PORTF_BASE, GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_3, 0);

SysCtlPeripheralEnable(SYSCTL_PERIPH_TIMER0);
SysCtlDelay(3);
TimerConfigure(TIMER0_BASE, TIMER_CFG_A_PERIODIC);
TimerLoadSet(TIMER0_BASE, TIMER_A, 39999);   // for 1msec
IntMasterEnable();
TimerIntEnable(TIMER0_BASE, TIMER_TIMA_TIMEOUT);
IntEnable(INT_TIMER0A);
TimerEnable(TIMER0_BASE, TIMER_A);

while(1){

}
}

.............................................................................................................................

............................ cstartup_M.c .........................................................................

/**************************************************
*
* This file contains an interrupt vector for Cortex-M written in C.
* The actual interrupt functions must be provided by the application developer.
*
* Copyright 2007 IAR Systems. All rights reserved.
*
* $Revision: 66254 $
*
**************************************************/

#pragma language=extended
#pragma segment="CSTACK"

extern void __iar_program_start( void );

extern void NMI_Handler( void );
extern void HardFault_Handler( void );
extern void MemManage_Handler( void );
extern void BusFault_Handler( void );
extern void UsageFault_Handler( void );
extern void SVC_Handler( void );
extern void DebugMon_Handler( void );
extern void PendSV_Handler( void );
extern void SysTick_Handler( void );

//...........................................................
extern void TIMER0A_Handler( void );      //************
//...........................................................
typedef void( *intfunc )( void );
typedef union { intfunc __fun; void * __ptr; } intvec_elem;

// The vector table is normally located at address 0.
// When debugging in RAM, it can be located in RAM, aligned to at least 2^6.
// If you need to define interrupt service routines,
// make a copy of this file and include it in your project.
// The name "__vector_table" has special meaning for C-SPY, which
// is where to find the SP start value.
// If vector table is not located at address 0, the user has to initialize
// the NVIC vector table register (VTOR) before using interrupts.


#pragma location = ".intvec"
const intvec_elem __vector_table[] =
{
{ .__ptr = __sfe( "CSTACK" ) },
__iar_program_start,

NMI_Handler,
HardFault_Handler,
MemManage_Handler,
BusFault_Handler,
UsageFault_Handler,
0,
0,
0,
0,
SVC_Handler,
DebugMon_Handler,
0,
PendSV_Handler,
SysTick_Handler,
//...........................................................
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
TIMER0A_Handler                                      //************
//...........................................................
};

#pragma call_graph_root = "interrupt"
__weak void NMI_Handler( void ) { while (1) {} }
#pragma call_graph_root = "interrupt"
__weak void HardFault_Handler( void ) { while (1) {} }
#pragma call_graph_root = "interrupt"
__weak void MemManage_Handler( void ) { while (1) {} }
#pragma call_graph_root = "interrupt"
__weak void BusFault_Handler( void ) { while (1) {} }
#pragma call_graph_root = "interrupt"
__weak void UsageFault_Handler( void ) { while (1) {} }
#pragma call_graph_root = "interrupt"
__weak void SVC_Handler( void ) { while (1) {} }
#pragma call_graph_root = "interrupt"
__weak void DebugMon_Handler( void ) { while (1) {} }
#pragma call_graph_root = "interrupt"
__weak void PendSV_Handler( void ) { while (1) {} }
#pragma call_graph_root = "interrupt"
__weak void SysTick_Handler( void ) { while (1) {} }

//...........................................................
#pragma call_graph_root = "interrupt"
__weak void TIMER0A_Handler( void ) { while (1) {} }    //************
//...........................................................

void __cmain( void );
__weak void __iar_init_core( void );
__weak void __iar_init_vfp( void );

#pragma required=__vector_table
void __iar_program_start( void )
{
__iar_init_core();
__iar_init_vfp();
__cmain();
}

.............................................................................................................................

Regarding application of TPS65381

$
0
0

Dear,

Regarding application of TPS65381, I have several questions and hope to get support from your side:

  1. How to use NRES? Can it be connected directly to MCU? Is there pull-up resistor needed?
  2. As we understand, DIAG_OUT is output of diagnostic signals selected by SPI, is it right? If choosing analog signal as output, how to select low-pass resistor and capacitor, what frequency need to filter out?
  3. Is RSTEXT used to set delay time of NRES by adjusting resistance? How to select the resistor?
  4. If we decide not to use CAN wake up function, how to configure CANWU pin (floating or pull down)?
  5. If we choose 5V as sensor supply voltage, should VSIN be connected to VDD6? Should VTRACK be connected to VDD5? How to choose the resistor for VSOUT1 when we want unity gain feedback?
  6. If we want VDD1 to be 1.2V, how to choose resistor for VDD1_SENCE? How to calculate it?

CCS: Changing font & colos of CCS v6

$
0
0

Tool/software: Code Composer Studio

Hello.

I am using CCS v 6.1.2

I am trying to change theme or colors.

Only changing to dark theme is available. I can't use other themes(from eclipsecolorthemes.org) and change detail color of c++.

When I use original Dark theme, I almoe can't see from" #else "  to "#endif" texts because of its color.

Is there no way to change color of details?

Thanks & BR

KeonUg Lee.

PCA9555: Some problems using PCA9555

$
0
0

Part Number:PCA9555

Dear,

Our customer have two problems when using PCA9555, please help to analyze:

1. They use PCA9555 to scan keypad, after several restarting ( restarting the whole system instead of PCA9555 and initializing PCA9555 every time ), keypad scanning will be false. The schematic as follows.

2. The standby-current consumption is 1 uA max in datasheet, but the current they tested actually is about 470 uA. So what configuration should we do to reduce the current ?

I will appreciate that if you rely to me, thank you !

RTOS/TLE2022A: Ksvr value characterization

$
0
0

Part Number:TLE2022A

Tool/software: TI-RTOS

Hi

We are considering TL2022A and we had a question.

There is a parameter of KSVR(Supply-voltage rejection ratio)  which offers MIN 98dB in full range.

Is this min 98dB spec always applicable even if supply ripple frequency is swept?

BestRegards

TPS54327: Output capacitance

$
0
0

Part Number:TPS54327

Hi all

Would you mind if we ask TPS54327?

<Question1>
The value of output capacitance is 22uF upto 68uF on the datasheet.
How much is the maximum value?

<Question2>
In relation to <Question1>, for example, there is 10uF or 22uF ceramic cap in the subsequent stage circuit.
There are three subsequent stage circuits,  10uFx3=30uF.
In this case, does it(ceramic cap in the subsequent stage circuit) include total amount?
Usually, We guess that the total amount(output cap value) includes the subsequent stage circuit.
In this case, when we use Aluminum cap(large ESR) at the subsequent stage circuit, is it is no matter??

We guess that it depends on distance(impedance) with the subsequent stage circuit.


Kind regards,

Hirotaka Matsumoto

Linux/AM3357: AM3357

$
0
0

Part Number:AM3357

Tool/software: Linux

We have made custom board by referring to EVM board design files Am335x-EVM evaluation and BBB board. we are able to test the hardware function with uboot. But not able run linux.

Problem we are facing after loading linux is there is no boot string on linux, it is getting rebooted after 60 seconds.

Below are the environment used and different version of linux we tried .

 

Environment and Version used:

1. SDK used 03.01.00.06.   

 2. Compiler :ti-processor-sdk-linux-am335x-evm-03.01.00.06/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc-5.3   Host OS : Ubuntu 14.04 X64 bit version

 3. U-Boot Version used /board-support/u-boot-2016.05.  changes done in U-Boot.       

* we are using am335x-evm-nand_defconfig. Since our custom board does not have product eeprom which is present inAm335x-EVM evaluation and BBB board.

4. Linux 4.4.19      

* we used the linux kernel version , which is available in ti-processor-sdk-linux-am335x-evm-03.01.00.06, we were unable to get  any output printk.   

 * Linux version 3.8.13-bbone

 * we used kernel version of BBB, we got the error           

[ 1.231007] Unhandled fault:external abort on non-linefetch (0x1028) at 0xf4           

[1.239055] Internal error: : 1028 [#1] ARM  After 60 reboot and got the

U-Boot Prompt.   

* We tried all version of 4.x without no output on console

* We tried with oldest version i.e 3.2.49 kerenl from BBB after Uncompressing Linux kernel  done, now booting kernel no output on console 

Kindly advise us which is the stable kernel and compiler version to be used.

Viewing all 262198 articles
Browse latest View live


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