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

LMX2581E: Time Taken to change frequency

$
0
0

Part Number:LMX2581E

Hello,
I have a question about the time it takes to change frequency on the LMX2581E.   This is a similar concept to the lock time but slightly different as I will explain below.
I have been measuring this by triggering off the Latch Enable signal and measuring the time for Lock Detect to go high.  As I measure this I view the clock, Latch Enable, and Lock Detect on the oscilloscope. This works well for cases where only one register needs to be changed but not for when two or more registers need changed.

Device;LMX2581
Evaluation board: LMX2581EVM in original configuration with internal VCO. 
Software; Codeloader program version 4.20.02, Part file version 2014-11-09
Reference; 47.5MHz
Windows 7 SP1 64 bit
Connected with USB2ANY

I notice for some frequency changes that two registers need to be programmed.  For example if I change PLL_NUM even just by one number, this changes registers 0 and 1 as there are bits of PLL_NUM in both registers.  When viewing the CLK signal for these changes, I notice the delay between the programming of the two registers to be about 20ms.  This blows out the time taken for the frequency to change to above 20ms.   

In cases where only one register needs to be programmed, the time between programming and actual frequency shift is closer to 150uS as mentioned in the datasheet p7 under VCO Calibration Time. 

I set up a sequence in TICs Pro burst mode to program the registers 0 and 1 straight after one another with no delay in between and I still got the same delay of around 20ms when I looked at the clock signal on the oscilloscope. 

Is there any way to reduce this time between programming registers?

Many thanks
Helen


Linux/DRA71XEVM: Any recommanded simulators (e.g. QEMU) can be used to simulate J6 at the software developing/testing phase?

AWR1243: The latest DFP page

$
0
0

Part Number:AWR1243

Hi Experts,

My customer is using Radar SDK 3.1 running on TDA3x. The DFP version in the SDK is mmwave_dfp_00_09_01_05. However DFP version from here is 00_07_00_04. Where can we download the latest version (i.e. 00_09_01_05)?

Best regards,
Ken

RTOS/CC2640R2F: CC2640R2F Pairing process does not complete

$
0
0

Part Number:CC2640R2F

Tool/software:TI-RTOS

We are trying to pair a CC2640R2F device with the SDK version SIMPLELINK-CC2640R2-SDK_1.40.00.45 pair with another device. The 1.40.00.45 stack interfaces with our application code, and we carried out the integration following the recommendations on TI website and starting from the simple_peripheral project.

 

We are unable to successfully establish a bond between the two, and we also do not see a timeout occurring.

 

We see using the debugger that the event GAPBOND_PAIRING_STATE_STARTED gets raised through the pairing state callback function SimpleBLEPeripheral_pairStateCB, but the pairing never completes. In case of an unsuccessful connection we would expect the event GAPBOND_PAIRING_STATE_COMPLETE to be raised, with status “bleTimeout”, but we don’t see that happening.

 

We do not have visibility on the stack pairing states, for this reason we’d like to ask what may prevent the stack from completing the pairing attempt, either successfully or unsuccessfully with an error code. Is there a timeout that should be explicitly set?

Resistance of EN about TPS54427/TPS54227

$
0
0

Our customer uses the resistance of EN
as shown in the attached figure.

Question 1.

About TPS54427, does 225~900kΩ mean to RB?

And please tell me the recommended value of RB when VEN is 5V.

About TPS54227, does 220~880kΩ mean to RB?

And please tell me the recommended value of RB when VEN is 5V.

Question 2.

When VEN is 5V, does the IC have restriction about RA?

Question 3.

When customer uses TPS54427/54227 As shown in the attached figure, Can we use 1MΩ about RA?

And customer uses 1MΩ of RA, is there anything wrong?

Best regards,

Takahiro Nishizawa

(Please visit the site to view this file)

TM4C129DNCPDT: system clock value isn't meet register. It might be Errata SYSCTL#22

$
0
0

Part Number:TM4C129DNCPDT

Hi Champs,

My customer set up a test procedure which power on/off M4. Power up cycle is 1s. They configure PQ4 as DIVSCLK output. They monitor the PQ4 clock. Normally, PQ4 clock will be 1.2Mhz because sysclk is 120Mhz and DIVSCLK = 99

 

Customer test procedure is shown below.

1. Using Arduino to do shutdown test

2. When Tm4c129DNCPDT V_3V3 rising, Arduino start to count 65ms

3. After 65ms, Arduino detect an GPIO which is assigned by FW, if the GPIO still in LOW 

state, Arduino will keep V_3V3 to wait for debug. 

-> Because if sysclk is 120Mhz, GPIO will be pull high before 65ms. If GPIO is still low after 65ms, it means sysclk be changed

4.  If GPIO in HIGH state, Arduino will shut-down the V_3V3 and do the Step 2~ Step 3 at a period 1sec again until issue happen.

5. GPIO PQ4 is used to detect the internal system clock

.

when issue happened, frequency of PQ4 is 75kHz which means sysclk is 7.5Mhz. Fvco=240, 7.5Mhz= 240/32. Looks like PSYSDIV =32. I connected ICDI to check internal SYSCTL_RSCLKCFG & STSCLT_PLLFREQ0/Q1. The setting is shown below. However, PSYSDIV is 0x1. I also check XTAL which still generate 25Mhz clock.

 

Another thing is that when I rewrite PSYDIV = 2 and PQ4 output frequency become 0.6Mhz. then I rewrote PSYDIV=1, PQ4 clock frequency become 1.2Mhz. It looks like system didn’t load correct value into PSYDIV. When we check errata, we found out that sysctl#22 which mentioned PSYDIV value may not be loaded into the physical divider causing the system clock to be divided by 2.

 

We thought will this related with this errata. Could you please help on this ? thanks !

 

Customer also want to know what is the difference between TM4C1294NCPDT and TM4C129DNCPDT. They faced sysclk issue before on TM4C129DNCDPT and they try to duplicate issue on Launchpad which use TM4C1294NCPDT. They can’t duplicate issue, however, issue happened when they change IC to TM4C129DNCPDT. Thanks!

Register setting

PQ4 output waveform

 

RTOS/LAUNCHXL-CC2640R2: Getting Minimal External (non-built in) Flash to work

$
0
0

Part Number:LAUNCHXL-CC2640R2

Tool/software:TI-RTOS

I'm attempting to attach an external SPI memory chip to the LaunchXL platform to log data collected via other external devices.

The chip comes from Micron, who provides a low-level driver in which the developer only needs to implement certain functions (like SPI transfer, for instance).

As a first order of business, I would at least like to see if I can observe the SPI_CLK, and see if I can set the chip select pin to low.  Which, as of right now, I'm unable to accomplish.

I'm following the ExtFlash.* files, which are part of the OAD sample application, which communicate with the off-chip NOR memory.  I'm only taking relevant parts to the actual SPI protocol itself, and trying to avoid code that is related to the Macronix chips that you guys are using.

Here is what I have, but it is not working:

static PIN_Config board_flash_pin_table[] =
{
 Board_SPI0 | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MIN,
 PIN_TERMINATE
};

bool extDataFlash_open(void)
{
    PIN_Handle hFlashPin;
    PIN_State pinState;
    SPI_Params spiParams;
    SPI_Handle spiHandle;

    bool f;

    if ((hFlashPin = PIN_open(&(pinState), board_flash_pin_table)) == NULL) {
        return false;
    }

    SPI_init();

    SPI_Params_init(&spiParams);
    spiParams.bitRate = 1000000;
    spiParams.mode = SPI_MASTER;
    spiParams.transferMode = SPI_MODE_BLOCKING;

    spiHandle = SPI_open(Board_SPI0, &spiParams);

    if (!spiHandle) {
        return false;
    }


    PIN_setOutputValue(hFlashPin, Board_SPI0, Board_FLASH_CS_ON);
    sleep(1);
    PIN_setOutputValue(hFlashPin, Board_SPI0, Board_FLASH_CS_OFF);

    return true;
}

I've tried Board_SPI0 as well as Board_SPI1, but nothing is working.  When I probe the GPIOs of the LaunchXL board and set a breakpoint at the sleep call, I can see that the SPI_CS pin is high (3.3v) and it never goes low.

What am I forgetting to do?

CC3220S-LAUNCHXL: The latest version release_notes_simplelink_cc32xx_sdk_1_50_00_06 said fixed issue CC3X20SDK-878 Network Terminal: Non-Blocking TCP socket failure when setting “-nb” flag

$
0
0

Part Number:CC3220S-LAUNCHXL

1. I tested it, when I use send -s -nb the client ip will not return to me and when I use send -s the client ip can return to me.

user:send -s -nb

Protocol: tcp
Traffic: Tx
Client\Server: Server
Port: 5001
Number of Packets to send: 1000

Connected to client: 0.0.0.0
Sent 1000 packets successfully

user:send -s

Protocol: tcp
Traffic: Tx
Client\Server: Server
Port: 5001
Number of Packets to send: 1000

Connected to client: 111.15.168.192
Sent 1000 packets successfully

2.  in socket_cmd.c line 832, the code as below:

else if(newsock < 0)
{
UART_PRINT("[line:%d, error:%d] %s\n\r", __LINE__, status, SL_SOCKET_ERROR);
sl_Close(newsock);
sl_Close(sock);
return -1;
}

in this code sl_Close(newsock); but now newsock is < 0 , when close a negative socket it will occur a fatal error!

[ERROR] - FATAL ERROR: Abort NWP event detected: AbortType=15769, AbortData=0


ADS1158: Bad Internal Voltage Readings

$
0
0

Part Number:ADS1158

The Ext Ref voltage reading from the ADC is 4.20 (0x326c), on another board the data is 4.11V (0x314f), while on a 3rd board it varies from 4.07V (0x30e6) to 4.08V (0x30e8).   In all cases the the voltage measured across VREFP and VREFN is precisely 4.096V.      

Since the external channel readings are off even more, we suspect an error with the design that could be causing the internal and external readings to be faulty:   

Reading back the config registers, they are all the default power-on values except for:   CONFIG0 and CONFIG1 which we've set to 0x12  and 0x03.   En/disabling the BYPASS (CONFIG0.4) also affects the readings greatly.

What could be causing this issue?

CCS/CC2640: Using the CC2640 as a peripheral and observer of BLE Beacons

$
0
0

Part Number:CC2640

Tool/software: Code Composer Studio

Can the CC2640 be used in both the Peripheral and Observer modes, so that it can both scan for iBeacons, and be connected to by phone applications?

Is IAR required to build a project with this Stack capability?

Thanks,

Dan

RTOS/CC1310: Why does CC1310 with WOR mode transmission distance shorter than CC1310 without WOR mode

$
0
0

Part Number:CC1310

Tool/software:TI-RTOS

Hi Team,

         We have a test , when CC1310 work on WOR mode,  transmission distance is 60 Meter, but without WOR mode,  transmission distance is 120 Meter.   Why does CC1310 with  WOR mode transmission distance shorter than CC1310 without WOR mode ?

Thank you!

BQ25700AEVM-732: Missing file: “Charger_1_00-bq25700ASMB.bqz”

$
0
0

Part Number:BQ25700AEVM-732

Trying to evaluate the BQ25700AEVM-732 development board.

I am interested in the bq25700A device that uses SMBus.

I do not see the configuration file "Charger_1_00-bq25700ASMB.bqz". There was a thread that included a configuration file but it only supports the I2C version.

Can you please provide the "Charger_1_00-bq25700ASMB.bqz" configuration so I can communicate with the bq25700A using SMBus.

Thank you.

LDC1614: Questions about Inductive Sensing.

$
0
0

Part Number:LDC1614

Hi,

I have several questions in regards to this device and it's operations.

1. What is the raw output of the LDC1614?

2. what does the raw output represents?

3.  how the Inductance and Rp value be derived from the raw output?

4.  What does the sensor frequency represents?

Regards,

Angela


 

  1.  From the data streaming page of the GUI, there are options on what kind of data it can present. May I know what is the “Raw Code” and “Diff Code” presenting?

  2. How can they (“Raw Code” and “Diff Code”) be used?

BQ21040: Charging Termination Problem

$
0
0

Part Number:BQ21040

Hi.

Please help me about below issue.

Please refer schematic.

(Condition)

Vin : 5V_IN

R1 :  1K (540mA Charging Current)

TS :  10K to VSS, NTC is not using.

CHG :  10K Pull up and connected to MCU

VBAT :  Main battery voltage or Charger Output(VOUT) voltage. VBAT is also using as 5V boost converter(FP6715)'s input source.

Boost Converter (5V_OUT) : 5V_OUT is using as charging source of another small battery device.

Case1)

1. When Boost converter is disabled (Only main battery charging)

2. Main battery charging and termination operation is good.

Case2)

1. When Boost converter is enabled and charging another small battery device.

2. Main battery charging is OK.

3. Another small battery device is full charged and main battery charging current is under 20mA(Full Charged). Total VOUT current is under 30mA.

4. As I know termination current is 54mA, 10% of fast charging current. But CHG state is still LOW. Charging Termination is not occurred.

-. Vin = 5V

-. Vout = 4.18V

-. TP1 current is under 30mA

-. TP2 current is under 20mA

-. TP3 current is under 10mA

5. At this situation, when boost converter is disable, CHG is changed to 3V High.

6. And then if boost converter is enable, CHG is still 3V High.

7. When 5V_IN is removed and inserted, Termination is not working again.

Obviously, VOUT current (TP1) is below 30mA, which is less than the termination current of 54mA.

Why termination is not working?

Please let me know how can I fix this.

Thank you.

LAUNCHXL-CC1310: Based on NORTOS on SDK1.5, CC1310 arise abnormal current when using irq、Semaphores、sleep at the same time

$
0
0

Part Number:LAUNCHXL-CC1310

Hi Team, 

       Based on NORTOS on SDK1.5,   CC1310 arise abnormal current when using irq、Semaphores、sleep at the same time. Le t me introduct our test.

      We build below code and download the code to CC1310 LP. 

#include <ti/drivers/Power.h>

/* Drivers */
#include <ti/drivers/UART.h>
#include <ti/drivers/PIN.h>
#include <ti/drivers/rf/RF.h>
#include <ti/drivers/dpl/SemaphoreP.h>
#include "Board.h"


/* Global memory storage for a PIN_Config table */
static PIN_State buttonPinState;
static PIN_Handle buttonPinHandle;
static PIN_State ledPinState;
static PIN_Handle ledPinHandle;

SemaphoreP_Struct semStruct;
SemaphoreP_Handle sem;

PIN_Config pinTable[] ={
                        Board_PIN_LED1 | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX,
                        Board_PIN_LED0 | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX,
                        PIN_TERMINATE
};

PIN_Config buttonPinTable[] = {
                               Board_PIN_BUTTON0  | PIN_INPUT_EN | PIN_PULLUP | PIN_IRQ_NEGEDGE,
                               Board_PIN_BUTTON1  | PIN_INPUT_EN | PIN_PULLUP | PIN_IRQ_NEGEDGE,
                               PIN_TERMINATE
};

void buttonCallbackFxn(PIN_Handle handle, PIN_Id pinId) {
    PIN_setOutputValue(ledPinHandle, Board_PIN_LED1,!PIN_getOutputValue(Board_PIN_LED1));
    SemaphoreP_post(sem);
}

void *mainThread(void *arg0)
{
    ledPinHandle =  PIN_open(&ledPinState, pinTable);
    buttonPinHandle = PIN_open(&buttonPinState, buttonPinTable);
    sem = SemaphoreP_construct(&semStruct, 0, NULL);
    if (PIN_registerIntCb(buttonPinHandle, &buttonCallbackFxn) != 0) {
        /* Error registering button callback function */
        while(1);
    }
    while(1){
        SemaphoreP_pend(sem, SemaphoreP_WAIT_FOREVER);
        sleep(5);
        PIN_setOutputValue(ledPinHandle, Board_PIN_LED0,!PIN_getOutputValue(Board_PIN_LED0));
    }
}

TEST:

       We keep pressing the key on CC1310LP quickly, about 10s, the board current grows 3ma, Pls see the below pic.

         We don't know why ?Maybe we have a bug in NoRTOS.

Could you have any suggestions?

Thank you!

Eggsy


CC2640R2F: accumulation dirving current of the IOs

$
0
0

Part Number:CC2640R2F

Hi, 

There is 2mA/4mA/8mA drive strngth of the DIOs. 

that's the total accumulation current? e.g. if cutomer drive 4mA from 10 DIOs, totally, it is 40mA, is it okay? if not, what is the usage guideline?

BR. AZ

LM5111: Absolute Maximum Rating of OUT A and OUT B

$
0
0

Part Number:LM5111

Dear Specialists,

My customer is considering LM5111 and has a question.

I would be grateful if you could advise.

---

I'd like to know the Absolute Maximum Rating of OUT A and OUT B.

The datasheet is not described.

Are these the same of VCC to VEE?(-0.3 to 15V)

OUT A and B is considerable 5.25V to 5.5V, at this time, is there a possibility of breakdown.

---

I appreciate your great help.

Best regards,

Shinichi

CCS/TMS320F28069M: Seek help!!!!!!!!

$
0
0

Part Number:TMS320F28069M

Tool/software: Code Composer Studio

My PC is Windows 7-64 - bit systems, has used two new launchPads  and tried CCS6.2、 CCS7.2, but the same problem still happen  in the picture,when I try to Debug in CCS ,shows that it can't link to the target board.

RTOS/CC1310: Measuring RSSI while using th Carrier-Sense Command

$
0
0

Part Number:CC1310

Tool/software:TI-RTOS

I want to use the Carrier-Sense command to scan multiple channels for activity using the RSSI threshold. In order to know what is a reasonable threshold to use I need some feedback on the detected RSSI on the channel.

Currently I have set up a command chain that looks like this:

CMD_FS [Set the channel frequency] -> CMD_CS [wait up to 2 ms if IDLE, exit as soon as it is BUSY] -> CMD_GET_RSSI [Immediate command] -> CMD_FS_OFF[turn off the radio]

This is executed via the RF_runCmd function in a TIRTOS thread.

My problem is that all of the RSSI measurements come back with a value of -128 (0xFF80).

Is there a way to get the RSSI data I need using a command chain like this, or do I need to figure out how to do it asynchronously?

The parameters of the CMD_CS command is:

static rfc_CMD_PROP_CS_t RF_Scan_cmdCs =
{
   .commandNo = CMD_PROP_CS,
   .status = 0x0000,
   .pNextOp = (rfc_radioOp_t *) &RF_Scan_cmdReadRSSI,
   .startTime = 0x00000000,
   .startTrigger.triggerType = 0x0,
   .startTrigger.bEnaCmd = 0x0,
   .startTrigger.triggerNo = 0x0,
   .startTrigger.pastTrig = 0x0,
   .condition.rule = COND_ALWAYS,
   .condition.nSkip = 0x0,

   .csFsConf = 0,    // keep the RF on, independent of a carrier detect

   .csConf.bEnaRssi = 1,
   .csConf.bEnaCorr = 0,
   .csConf.operation = 0,
   .csConf.busyOp = 1,      // halt Carrier detect if we detect a busy condition
   .csConf.idleOp = 0,      // Keep scanning as long as it is idle
   .csConf.timeoutRes = 1,  // if we timeout, treat invalid result as Idle

   .rssiThr = -100,   // start with an RSSI threshold of -60 dB
   .numRssiIdle = 2,
   .numRssiBusy = 2,

   // Set the end trigger for 2 ms after we start the carrier detect operation.
   .csEndTrigger.triggerType = TRIG_REL_START,
   .csEndTime = 8000,
};

CC3220S-LAUNCHXL: How to convert text strings from HTTP into integers inside CC3220

$
0
0

Part Number:CC3220S-LAUNCHXL

Hi,

I am http posting a number from browser to the CC3220 however the number is stored as a string (pointer) inside CC3220. I am able to print it with the following command:

UART_PRINT ("[Link local task] value is: %s\n\r", (int8_t *)(argvArray - actualLen - 1));

- where (argvArray - actualLen - 1) is the starting address where it stores the individual digits of the number

How can I pass this number to an int variable? The number can contain unknown number of digits.

Could you please advise?

Thanks,

David

Viewing all 262198 articles
Browse latest View live


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