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

ADS1292ECG-FE: ADS1292ECG-FE Labview PC software source file

$
0
0

Part Number:ADS1292ECG-FE

Hi All, I am using ADS1292ECG-FE devkit for a project. The ECG waveform could be shown in the Labview PC software. However, I can't find the Labview PC software source code. I really need those .vi source files. Would anyone send these files into my registered email: ruhua@sun-science.com Really appreciate!

RTOS/CC2640: CCCD could not be found at client side

$
0
0

Part Number:CC2640

Tool/software: TI-RTOS

Hello,

I am using multi_role example code for launchpad and I am connecting one peripheral directly using GAP commands,

here I want to receive notification from peripheral to multirole client, here my peripheral sends notification from Charecteristic 4,

I am trying to enabling CCCD from client side,

but it is not getting enabled, here I am sharing code snippets.

        else if (discInfo[connIndex].discState == BLE_DISC_STATE_CHAR)
        {

            // Characteristic descriptors found
            if (pMsg->method == ATT_FIND_INFO_RSP &&
                    pMsg->msg.findInfoRsp.numInfo > 0)
            {
              uint8_t i;
              // For each handle/uuid pair
              for (i = 0; i < pMsg->msg.findInfoRsp.numInfo; i++)
              {
                if(pMsg->msg.findInfoRsp.format == ATT_HANDLE_BT_UUID_TYPE)
                {
                  // Look for CCCD
                  if (ATT_BT_PAIR_UUID(pMsg->msg.findInfoRsp.pInfo, i) ==
                          GATT_CLIENT_CHAR_CFG_UUID)
                  {
                    // CCCD found
                    if (noCharCCCDHdl < MAX_CCCD_HANDLES){
                        charCCCDHdl[noCharCCCDHdl] = ATT_BT_PAIR_HANDLE(pMsg->msg.findInfoRsp.pInfo, i);
                        noCharCCCDHdl++;
                    }
                  }
                }
              }
            }

This code is inside multi_role_processGATTDiscEvent

static uint8_t multi_role_processGATTMsg(gattMsgEvent_t *pMsg)
{
  // See if GATT server was unable to transmit an ATT response
  if (pMsg->hdr.status == blePending)
  {
    // No HCI buffer was available. Let's try to retransmit the response
    // on the next connection event.
    if (HCI_EXT_ConnEventNoticeCmd(pMsg->connHandle, selfEntity,
                                   MR_CONN_EVT_END_EVT) == SUCCESS)
    {
              System_printf("Inside conn event notice command\n");
              System_flush();
      // First free any pending response
      multi_role_freeAttRsp(FAILURE);

      // Hold on to the response message for retransmission
      pAttRsp = pMsg;

      // Don't free the response message yet
      return (FALSE);
    }
  }
  else if (pMsg->method == ATT_FLOW_CTRL_VIOLATED_EVENT)
  {
    // ATT request-response or indication-confirmation flow control is
    // violated. All subsequent ATT requests or indications will be dropped.
    // The app is informed in case it wants to drop the connection.

    // Display the opcode of the message that caused the violation.
//    Display_print1(dispHandle, 0, 0, "FC Violated: %d", pMsg->msg.flowCtrlEvt.opcode);
  }
  else if (pMsg->method == ATT_MTU_UPDATED_EVENT)
  {
    // MTU size updated
    Display_print1(dispHandle, 0, 0, "MTU Size: %d", pMsg->msg.mtuEvt.MTU);
  }

  //messages from GATT server
  if (linkDB_NumActive() > 0)
  {
//      System_printf("Inside linkDB_NumActive>0\n");
//      System_flush();
    //find index from connection handle
    connIndex = multi_role_mapConnHandleToIndex(pMsg->connHandle);

    if ((pMsg->method == ATT_READ_RSP) ||
            (pMsg->method == ATT_HANDLE_VALUE_NOTI) ||
            ((pMsg->method == ATT_ERROR_RSP) &&
                    (pMsg->msg.errorRsp.reqOpcode == ATT_READ_REQ)))
    {
      if (pMsg->method == ATT_ERROR_RSP)
      {
//        Display_print1(dispHandle, 0, 0, "Read Error %d", pMsg->msg.errorRsp.errCode);
      }
      else
      {
        // After a successful read, display the read value
//        Display_print1(dispHandle, 0, 0, "Read rsp: %d", pMsg->msg.readRsp.pValue[0]);
        uint8_t *notificationdata = pMsg->msg.handleValueNoti.pValue;
      }

    }
    else if ((pMsg->method == ATT_WRITE_RSP)  ||
             ((pMsg->method == ATT_ERROR_RSP) &&
              (pMsg->msg.errorRsp.reqOpcode == ATT_WRITE_REQ)))
    {
      if (pMsg->method == ATT_ERROR_RSP == ATT_ERROR_RSP)
      {
//        Display_print1(dispHandle, 0, 0, "Write Error %d", pMsg->msg.errorRsp.errCode);
      }
      else
      {
        // After a succesful write, display the value that was written and
        // increment value
//        Display_print1(dispHandle, 0, 0, "Write sent: %d", charVal++);
      }
    }
    else if (discInfo[connIndex].discState != BLE_DISC_STATE_IDLE)
    {
      multi_role_processGATTDiscEvent(pMsg);
    }
  } // else - in case a GATT message came after a connection has dropped, ignore it.

  // Free message payload. Needed only for ATT Protocol messages
  GATT_bm_free(&pMsg->msg, pMsg->method);

  // It's safe to free the incoming message
  return (TRUE);
}

This is multi_role_processGATTMsg function

static void multi_role_EnableNotification( uint16 connHandle, uint16 attrHandle )
{
    attWriteReq_t req;
//    System_printf("Inside enable notification\n");
//    System_flush();
    req.pValue = GATT_bm_alloc( connHandle, ATT_WRITE_REQ, 2, NULL );
    if ( req.pValue != NULL )
    {
      uint8 notificationsOn[] = {0x01, 0x00};
  //    attAttribute_t
      req.handle = attrHandle;

      req.len = 2;
      memcpy(req.pValue, notificationsOn, 2);

      req.sig = FALSE;
      req.cmd = TRUE;

      if ( GATT_WriteNoRsp( connHandle, &req ) != SUCCESS )
      {
        GATT_bm_free( (gattMsg_t *)&req, ATT_WRITE_REQ );
      }

    }
}

This is enable notification function

  Util_constructClock(&startNotiEnableClock, multi_role_startNotiHandler,
                        DEFAULT_NOTI_ENABLE_DELAY, 0, false, SBC_START_NOTIFICATION);

    if (currentCharCCCDHdlIndex < noCharCCCDHdl)
    {
      multi_role_EnableNotification( connHandle, charCCCDHdl[currentCharCCCDHdlIndex ] );
      currentCharCCCDHdlIndex ++;

       //Enable notification on peripheral(after a few seconds delay, let it finish connection/discovery process)
       {
         Util_startClock(&startNotiEnableClock);
       }
    }

This is timer for some delay for connection establishment.

here in multi_role_processGATTDiscEvent while debugging i found that It's not going into loop where I find CCCD.

Please provide some guidance so I can resolve this issue as soon as possible.

regards,

jaydipsinh

RTOS/CC2640R2F: When connecting to the mobile phone, if something goes wrong, the mobile phone shows no connection, but CC2640R2 is not broadcasting

$
0
0

Part Number:CC2640R2F

Tool/software: TI-RTOS

dear all:

           When connecting to the mobile phone, if something goes wrong, the mobile phone shows no connection, but CC2640R2 is not  broadcasting

           DEMO: simplelink_cc2640r2_sdk_2_30_00_28\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral_secure_fw

          // General discoverable mode: advertise indefinitely
          #define DEFAULT_DISCOVERABLE_MODE            GAP_ADTYPE_FLAGS_GENERAL

          uint16_t advertOffTime = 0;

          What can I do to solve this problem?       thanks!

CC1000: Compatibility between CC1000 and CC110L radio chips.

$
0
0

Part Number:CC1000

Can anybody help me out in understanding how Frequency separation and frequency deviation are related?

In CC1000 Frequency Separation Configuration is 64kHz and in CC110L Frequency Deviation Configuration is 17kHz.

CC1000 configured for transmission and CC110L configured for reception.

TMS320F28035: JTAG connection problem on Piccolo controlCARD and docking station

$
0
0

Part Number:TMS320F28035

Hi

It has below JTAG connection problem on F28035 controlCARD. How to resolve this issue?

Besides, I find workshop material at 

Is there any some material for new guys to getting started? Thanks.

TINA/Spice/LM5175: LM5175 Spice Model Accuracy at different temperatures

$
0
0

Part Number:LM5175

Tool/software:TINA-TI or Spice Models

Hi,

We have downloaded the SPICE model of LM5175 for Tina TI. What is the modeling accuracy of LM5175 at different temperatures (eg :-20,50 and 85Deg)? Thanks

Best Regards

Umut

BQ28Z610: The Full Charge Capacity changes during the charge. Why?

$
0
0

Part Number:BQ28Z610

I'm using a battery pack 2p1s Panasonic NCR18650BF and I have completed the learning cycle succefully. During the charge of battery the Full Charge Capacity changes and I don't understand why.

Below the log of the charge exported from bqstudio

What am I doing wrong?
Thank you in advance.
Regards

TPS546D24: MSEL,MSEL2,VSEL, register values not described in datasheet.

$
0
0

Part Number:TPS546D24

MSEL,MSEL2,VSEL, register values not described in datasheet.

It looks very similar architecture with 548d22, 549d22 .

different things are 546d24 uses voltage divider bp1v5 .

But, others and most of previous ti power ic uses BP2V5.

Could you give a information on that? draft datasheet is also very helpful to me.
I've finished single mode and dual mode 543c20 design.

thanks.


IWR6843: Problem communicating with the sensor

$
0
0

Part Number:IWR6843

So i recently bought a mmwaveicboost and IWR6843 antenna, but im having some trouble running the demo from the mmWave Demo Visualizer. I can flash the board using UniFlash, but when i change the SOP2 to open, restart the sensor, connect the demo visualizer with the correct COM ports, the demo only shows "waiting for data ..." even after i click "Send config to mmwave device". I've tried the "68xx - People counting demo" from the TI Resource explorer and again the same results (can flash the board but no communication after), using this demo the message is "Warning: Unsuccessful read: The specified amount of data was not returned within the Timeout period..".

ADS1284: Current status

$
0
0

Part Number:ADS1284

Hi team,

Customer wants to use ADS1284 in their project, but I find there is no detailed price and sample in web. Could you help check the current status and schedule of ADS1284

Thanks and Best Regards,

Will

TMS32028379D DMA Priority

$
0
0

Good afternoon, TI.

Tell me please what will happen in the next situation, maybe you can tell me how best to do it.
I am using TMS32028379D.
I have a synchronous measurement of ADC 1 (A) and ADC 2 (B), while each ADC has its own DMA channel (1 ( high priority) and 2) and configured the ripping vector ADCINTA1, ADCINTB1 for each SOC of the ADC.
I also use the DMA channel 4,5,6 (configured).

In the case when I am processing the DMA 4 channel, the ADCINTA1 and ADCINTB1 interrupt is triggered at the same time, the data is unloaded from the DMA 1 priority channel, after the DMA1 download is completed, the DMA2 will go to the processing, or return to channel 4, 5.6 and only after Processing them to channel 2? Channel 2 is configured to interrupt ADCINTB1 which is triggered simultaneously with ADCINTA1.

My task is to make it so that when the ADCINTA1 and ADCINTB1 snagging is triggered, the information from ADCs A and B is unloaded into RAM with priority No. 1 by means of DMA CH1 and DMA CH2. Perhaps you can tell me how to set up DMA 1 so that it processes ADC A and ADC B in turn. Or how can I set high Prioryty on CH1 and CH2.

TPS2000C: Reverse current blocking

$
0
0

Part Number:TPS2000C

The TPS2000C datasheet details 'reverse current blocking when disabled' as a feature in the overview section. Can this device--or any other similar 2A-limited USB switches--be used to allow reverse current with minimal voltage drop? I'm looking for a single, inexpensive device to provide current limiting from IN to OUT while allowing current (with or without limit) from OUT to IN.

TINA/Spice/CSD17573Q5B: Encrypted CSD17573Q5B PSpice model gives unknown parameter error in simulation.

$
0
0

Part Number:CSD17573Q5B

Tool/software:TINA-TI or Spice Models

I have pulled the most recent version of the CSD17573Q5B PSpice Model from the TI web page.  I am running Orcad 17.2-2016-S048.  When I attempt to simulate with the model, PSpice gives me a netlisting error.  Relevant output from PSpice follows; it appears that an undeclared "NMOSW" model is used inside the CSD17573Q5B's encrypted model.

**** INCLUDING 12V0_POWER.net ****
* source HCU_B_IO_REV_A
.EXTERNAL OUTPUT VIN
.EXTERNAL OUTPUT VOUT
.EXTERNAL OUTPUT GND
C_C13         0 BIAS C_C13 0.1uF  TC=0,0
.model        C_C13 CAP C=1 DEV=10% TC1=0 TC2=0 VC1=0 VC2=0
R_R5         0 EN 48.7kOhm
C_C15         0 N67459 0.015uF
C_C16         N67473 0 220pF
C_C17         SW2 BOOT2 0.1uF
X_D3         N67357 BOOT2 PMEG2005EGW
R_R6         0 FB 20k
R_R11         0 N67529 93.1kOhm
C_C18         0 N67587 150pF
R_R13         0 N67549 23.7kOhm
X_Q1         VIN HDRV1 SW1 CSD18537NQ5A
X_D2         N67357 N67357 BOOT1 FSV10150V PARAMS: AREA=1
C_C4         VOUT 0 82uF
X_Q4         SW2 LDRV2 N67255 CSD17573Q5B
R_R12         0 N67907 7.5k
R_R3         FB VOUT 280kOhm
X_U1         0 BIAS BOOT1 BOOT2 N67473 N67607 N67633 0 EN FB HDRV1 HDRV2 0 0
+  LDRV1 LDRV2 N67529 0 0 PGOOD N67549 N67587 N67459 SW1 SW2 N67357 N66971 VIN
+  VOUT LM5176_TRANS PARAMS: SS=0
C_C11         SW1 BOOT1 0.1uF
C_C12         N67607 N67633 C_C12 47pF  TC=0,0
.model        C_C12 CAP C=1 DEV=5% TC1=0 TC2=0 VC1=0 VC2=0
C_C8         VIN 0 C_C8 10uF  TC=0,0
.model        C_C8 CAP C=1 DEV=10% TC1=0 TC2=0 VC1=0 VC2=0
X_Q3         SW1 LDRV1 N67255 CSD19534Q5A
C_C7         VIN 0 C_C7 10uF  TC=0,0
.model        C_C7 CAP C=1 DEV=10% TC1=0 TC2=0 VC1=0 VC2=0
R_R2         EN VIN 249k
X_L1         SW1 SW2 SRP1265A-6R8M
C_C14         N67907 N67473 0.018uF
C_C6         VIN 0 C_C6 10uF  TC=0,0
.model        C_C6 CAP C=1 DEV=10% TC1=0 TC2=0 VC1=0 VC2=0
D_D1         VIN N66713 DI_B160
R_R4         N66971 N66713 10
C_C5         VIN 0 68uF
X_C3         VOUT 0 T495D226K035ATE260
R_R8         N67607 N67255 100
R_R10         N67633 0 100
C_C10         N67357 0 C_C10 1uF  TC=0,0
.model        C_C10 CAP C=1 DEV=10% TC1=0 TC2=0 VC1=0 VC2=0
C_C9         0 N66971 C_C9 0.1uF  TC=0,0
.model        C_C9 CAP C=1 DEV=10% TC1=0 TC2=0 VC1=0 VC2=0
X_C2         VOUT 0 T495D226K035ATE260
X_C1         VOUT 0 T495D226K035ATE260
R_R7         N67357 PGOOD 10k
X_Q2         VOUT HDRV2 SW2 CSD16321Q5
R_R9         0 N67255 13mOhm

**** RESUMING 12V0_MASTER.cir ****
.END
---------------------$
ERROR(ORPSIM-16015): Unknown parameter.


ERROR(ORPSIM-15113): Model NMOSW used by X_Q4.M1 is undefined

**** INCLUDING 12V0_POWER.net ****
* source HCU_B_IO_REV_A
.EXTERNAL OUTPUT VIN
.EXTERNAL OUTPUT VOUT
.EXTERNAL OUTPUT GND
C_C13         0 BIAS C_C13 0.1uF  TC=0,0 
.model        C_C13 CAP C=1 DEV=10% TC1=0 TC2=0 VC1=0 VC2=0
R_R5         0 EN 48.7kOhm
C_C15         0 N67459 0.015uF 
C_C16         N67473 0 220pF 
C_C17         SW2 BOOT2 0.1uF 
X_D3         N67357 BOOT2 PMEG2005EGW
R_R6         0 FB 20k
R_R11         0 N67529 93.1kOhm
C_C18         0 N67587 150pF 
R_R13         0 N67549 23.7kOhm
X_Q1         VIN HDRV1 SW1 CSD18537NQ5A
X_D2         N67357 N67357 BOOT1 FSV10150V PARAMS: AREA=1
C_C4         VOUT 0 82uF 
X_Q4         SW2 LDRV2 N67255 CSD17573Q5B
R_R12         0 N67907 7.5k
R_R3         FB VOUT 280kOhm
X_U1         0 BIAS BOOT1 BOOT2 N67473 N67607 N67633 0 EN FB HDRV1 HDRV2 0 0
+  LDRV1 LDRV2 N67529 0 0 PGOOD N67549 N67587 N67459 SW1 SW2 N67357 N66971 VIN
+  VOUT LM5176_TRANS PARAMS: SS=0
C_C11         SW1 BOOT1 0.1uF 
C_C12         N67607 N67633 C_C12 47pF  TC=0,0 
.model        C_C12 CAP C=1 DEV=5% TC1=0 TC2=0 VC1=0 VC2=0
C_C8         VIN 0 C_C8 10uF  TC=0,0 
.model        C_C8 CAP C=1 DEV=10% TC1=0 TC2=0 VC1=0 VC2=0
X_Q3         SW1 LDRV1 N67255 CSD19534Q5A
C_C7         VIN 0 C_C7 10uF  TC=0,0 
.model        C_C7 CAP C=1 DEV=10% TC1=0 TC2=0 VC1=0 VC2=0
R_R2         EN VIN 249k
X_L1         SW1 SW2 SRP1265A-6R8M
C_C14         N67907 N67473 0.018uF 
C_C6         VIN 0 C_C6 10uF  TC=0,0 
.model        C_C6 CAP C=1 DEV=10% TC1=0 TC2=0 VC1=0 VC2=0
D_D1         VIN N66713 DI_B160 
R_R4         N66971 N66713 10
C_C5         VIN 0 68uF 
X_C3         VOUT 0 T495D226K035ATE260
R_R8         N67607 N67255 100
R_R10         N67633 0 100
C_C10         N67357 0 C_C10 1uF  TC=0,0 
.model        C_C10 CAP C=1 DEV=10% TC1=0 TC2=0 VC1=0 VC2=0
C_C9         0 N66971 C_C9 0.1uF  TC=0,0 
.model        C_C9 CAP C=1 DEV=10% TC1=0 TC2=0 VC1=0 VC2=0
X_C2         VOUT 0 T495D226K035ATE260
X_C1         VOUT 0 T495D226K035ATE260
R_R7         N67357 PGOOD 10k
X_Q2         VOUT HDRV2 SW2 CSD16321Q5
R_R9         0 N67255 13mOhm

**** RESUMING 12V0_MASTER.cir ****
.END
---------------------$
ERROR(ORPSIM-16015): Unknown parameter.


ERROR(ORPSIM-15113): Model NMOSW used by X_Q4.M1 is undefined

TM4C1294NCPDT: TM4C1294NCPDT

$
0
0

Part Number:TM4C1294NCPDT

Hi, I use internal sensor of TM4C1294NCPDT. When i read positive degrees it works fine but when i want to read negative degrees it always shows zero degree. What is my mistake? 

#define PART_TM4C129
#include <stdint.h>
#include <stdbool.h>
#include "stdlib.h"
#include "inc/hw_ints.h"
#include "inc/hw_memmap.h"
#include "inc/hw_uart.h"
#include "inc/hw_gpio.h"
#include "inc/hw_pwm.h"
#include "inc/hw_types.h"
#include "driverlib/adc.h"
#include "driverlib/timer.h"
#include "driverlib/gpio.h"
#include "driverlib/interrupt.h"
#include "driverlib/pin_map.h"
#include "driverlib/rom.h"
#include "driverlib/rom_map.h"
#include "driverlib/sysctl.h"
#include "driverlib/uart.h"
#include "driverlib/udma.h"
#include "driverlib/pwm.h"
#include "driverlib/ssi.h"
#include "driverlib/systick.h"
#include "driverlib/adc.h"
#include <string.h>
void setup() {                
  Serial.begin(9600);
}
void loop(){
//    SysCtlClockSet(SYSCTL_SYSDIV_2_5|SYSCTL_USE_PLL|SYSCTL_OSC_MAIN|SYSCTL_XTAL_16MHZ);
//    InitConsole();
      //
      // This array is used for storing the data read from the ADC FIFO. It
      // must be as large as the FIFO for the sequencer in use.  This example
      // uses sequence 3 which has a FIFO depth of 1.  If another sequence
      // was used with a deeper FIFO, then the array size must be changed.
      //
      uint32_t ADCValues[1];
      //
      // These variables are used to store the temperature conversions for
      // Celsius and Fahrenheit.
      //
      uint32_t TempValueC ;
      uint32_t TempValueF ;
      //
      // Display the setup on the console.
      //
/*      UARTprintf("ADC ->\n");
      UARTprintf("  Type: Internal Temperature Sensor\n");
      UARTprintf("  Samples: One\n");
      UARTprintf("  Update Rate: 250ms\n");
      UARTprintf("  Input Pin: Internal temperature sensor\n\n");*/
      //
      // The ADC0 peripheral must be enabled for use.
      //
   SysCtlPeripheralEnable(SYSCTL_PERIPH_ADC0);
     SysCtlDelay(3);
      //
      // Enable sample sequence 3 with a processor signal trigger.  Sequence 3
      // will do a single sample when the processor sends a singal to start the
      // conversion.  Each ADC module has 4 programmable sequences, sequence 0
      // to sequence 3.  This example is arbitrarily using sequence 3.
      //
      ADCSequenceConfigure(ADC0_BASE, 3, ADC_TRIGGER_PROCESSOR, 0);
      //
      // Configure step 0 on sequence 3.  Sample the temperature sensor
      // (ADC_CTL_TS) and configure the interrupt flag (ADC_CTL_IE) to be set
      // when the sample is done.  Tell the ADC logic that this is the last
      // conversion on sequence 3 (ADC_CTL_END).  Sequence 3 has only one
      // programmable step.  Sequence 1 and 2 have 4 steps, and sequence 0 has
      // 8 programmable steps.  Since we are only doing a single conversion using
      // sequence 3 we will only configure step 0.  For more information on the
      // ADC sequences and steps, reference the datasheet.
      //
      ADCSequenceStepConfigure(ADC0_BASE, 3, 0, ADC_CTL_TS | ADC_CTL_IE |
                               ADC_CTL_END);
      //
      // Since sample sequence 3 is now configured, it must be enabled.
      //
      ADCSequenceEnable(ADC0_BASE, 3);
      //
      // Clear the interrupt status flag.  This is done to make sure the
      // interrupt flag is cleared before we sample.
      //
      ADCIntClear(ADC0_BASE, 3);
      //
      // Sample the temperature sensor forever.  Display the value on the
      // console.
      //
      while(1)
      {
          //
          // Trigger the ADC conversion.
          //
          ADCProcessorTrigger(ADC0_BASE, 3);
          //
          // Wait for conversion to be completed.
          //
          while(!ADCIntStatus(ADC0_BASE, 3, false))
          {
          }
          //
          // Clear the ADC interrupt flag.
          //
          ADCIntClear(ADC0_BASE, 3);
          //
          // Read ADC Value.
          //
          ADCSequenceDataGet(ADC0_BASE, 3, ADCValues);
          //
          // Use non-calibrated conversion provided in the data sheet. I use floats in intermediate
          // math but you could use intergers with multiplied by powers of 10 and divide on the end
          // Make sure you divide last to avoid dropout.
          //
          TempValueC = (uint32_t)(147.5 - ((75.0*3.3 *(float)ADCValues[0])) / 4096.0);
          //
          // Get Fahrenheit value.  Make sure you divide last to avoid dropout.
          //
          TempValueF = ((TempValueC * 9) + 160) / 5;
          //
          // Display the temperature value on the console.
          //
         Serial.print("Temperature = C ");
         Serial.print(TempValueC, DEC);
         Serial.println(" ");
         Serial.print("Temperature = F ");
          Serial.print(TempValueF, DEC);
          //
          // This function provides a means of generating a constant length
          // delay.  The function delay (in cycles) = 3 * parameter.  Delay
          // 250ms arbitrarily.
          //
          SysCtlDelay(80000000 / 12);
      }
}

Compiler/TMS570LC4357: TMS570LC4357

$
0
0

Part Number:TMS570LC4357

Tool/software: TI C/C++ Compiler

Hello,

I want to run a smal program on the chip. I faced two main problems:

- the first is that if I do the array initialization in this way : 

xmss_params params;
    // TODO test more different OIDs
    uint32_t oid = 0x00000001;

    /* For WOTS it doesn't matter if we use XMSS or XMSSMT. */
    xmss_parse_oid(&params, oid);
 
    unsigned char seed[params.n];

Th program enter in a infinite loop.

To solve that i defined manually the size of the arrays. e.g. 

unsigned char seed[32];
Which is not practical. Is it another solution for that?

- The second problem is: when I add code lines to the main function, the program stopped in the first line, and the debugger indicates these code line data entry:
resetEntry
        b   resetEntry
undefEntry
        b   undefEntry
svcEntry
        b   svcEntry
prefetchEntry
        b   prefetchEntry
dataEntry
        b   dataEntry
        b   phantomInterrupt
        ldr pc,[pc,#-0x1b0]
        ldr pc,[pc,#-0x1b0]

When I delete the last code lines and minimize the size of main function, the error disappears.

Bests,

Rachel.


UCC2818: UCC2818 PFC converter issue

$
0
0

Part Number:UCC2818

Hello,

I designed a PFC converter which has the following features :

Vinac = 85V~130V (Typical input voltage is 115Vac)

Frequency = 400Hz ~ 800Hz. ( go from 400Hz to 800Hzn, avionic power supply)

Vout = 260V/ Poutmax = 150W.

I m using the controller UCC2818.

My issue is about the current harmonic distortion. I want to know if there is trick that exists to improve the distortion during the current crossing of zero.

I used your mathcad file and your note application to choose peripheral component (voltage and current loops).

bellow the current waveform @Pout=400W, Vin=85V, Vout=260V.

The waveform is correct except when the current is crossing zero.

I tried to change current loop component, it allows to improve the current waveform and harmonic distortion but it is not enough to meet the specifications.

Thank you for your help.

WEBENCH® Tools/TPS546D24: Custom Switching frequency calculation malfunctioned

$
0
0

Part Number:TPS546D24

Tool/software: WEBENCH® Design Tools

Hi 

This is Wenhao, FAE. I was doing thermal simulation for customer, finding the webench just "stuck" in calculation shown as below:

I have been waiting for more than 3 hrs only to find it does not work. Could you please help on that? Thanks

-Wenhao

BQ25710: OTG timing question

$
0
0

Part Number:BQ25710

Hi team,

For the following description of USB OTG feature of BQ25710. Is the 10ms claimed as marked in the capture below (between EN and Vbus ramp up) can be reduced by external methods? Or it is a defaulted fixed setting by IC?

Thanks.

WEBENCH® Tools/TPS546D24: TPS546D24-thermal simulation not work

$
0
0

Part Number:TPS546D24

Tool/software: WEBENCH® Design Tools

Hi Team,

i am supporting TPS546D24. Using thermal simulation to find out its performance in high temp. is quite significant. After created the simulation, i found the case just stoped in "Queued" state and did not proceed for more than hrs. Could you please check the reason and E-mail me? I will send the webench link to you. Thanks

-Wenhao Wu

wenhao-wu@ti.com

BQ27426: 2 Cell series solution

$
0
0

Part Number:BQ27426

Hello

Please help promote 2 series Li Battery Gauge , 3000mAh/Cell

I have find application note SLUA857 show how to use 1-S gauge BQ27426 design for 2-S Battery, and I want to check this solution's advantages and disadvantages then specialized 2S ?

Viewing all 262198 articles
Browse latest View live


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