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

MSP430F5132: Do I have an option of reprogramming microcontroller pin to UART module?

$
0
0

Part Number: MSP430F5132

Greetings ,

For a project I am using MSP430F5132IDA microcontroller. The design is taken from TI. I am attaching schematic of micro-controller section with this post.(Please visit the site to view this file)

My issue is that I am very new to this micro-controller(have previously used only TM4C from TI) and also my project deadline is 1 week only. I have to implement UART communication on this controller with available pins. So can I connect UART module to available pins using port mapping controller?

Thanks

Best Regards

Bhushan


UCC256303: Noise on VCR

$
0
0

Part Number: UCC256303

Hi TI Team, I have observed noise on VCR pin.

VCR - sinusoidal voltage suddenly dips by 1 V at the +ve peak. why?

Also I would like to know the ways to eliminate the noise in VCR waveform.

IWR1843: Crypto module

$
0
0

Part Number: IWR1843

Hi,

What is partnumber of IWR1843 with Crypto module?
Does IWR1843AQGABL have Crypto module?


Where I can find Image Creation Tool and Tool for Custom Key building?


Regards,
Gennadii

AM5728: debugging Video Input Port

$
0
0

Part Number: AM5728

Hi Experts,

I am using am5728 IDK and Linux rt 4.19.38, I am trying to capture images from the ov7670 camera module, I have successfully added related device driver and device tree. from dmesg I can see that the camera module is being recognized and a new node is added in /dev/video1. bellow is the device tree I am using for this purpose:

 ov7670: ov7670@21 {
                compatible = "ovti,ov7670";
                reg = <0x21>;
                clocks = <&src_clk_x1>;
                clock-names = "xclk";   
                powerdown-gpios = <&gpio6 14 GPIO_ACTIVE_HIGH>;
                port {
                        ov7670_0: endpoint {
                                hsync-active = <1>;
                                vsync-active = <1>;
                                pclk-sample = <1>;
                        };
                };
        };

&ov7670_0 {
        remote-endpoint = <&vin4b_ep>;
};

&vin4b {
        vin4b_ep: endpoint@3 {
                slave-mode;
                remote-endpoint = <&ov7670_0>;
        };
};

&vip2 {
        status = "okay";
};

this is the dmesg:

root@am57xx-evm:~# dmesg | grep ov7
[   11.636659] ov7670 0-0021: GPIO lookup for consumer powerdown
[   11.636671] ov7670 0-0021: using device tree for GPIO lookup
[   11.636710] of_get_named_gpiod_flags: parsed 'powerdown-gpios' property of node '/ocp/i2c@48070000/ov7670@21[0]' - status (0)
[   11.636749] ov7670 0-0021: GPIO lookup for consumer reset
[   11.636758] ov7670 0-0021: using device tree for GPIO lookup
[   11.636780] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/i2c@48070000/ov7670@21[0]'
[   11.636798] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/i2c@48070000/ov7670@21[0]'
[   11.636808] ov7670 0-0021: using lookup tables for GPIO lookup
[   11.636817] ov7670 0-0021: No GPIO consumer reset found
[   11.685916] ov7670 0-0021: chip found @ 0x42 (OMAP I2C adapter)
[   14.272079] vin4b: Port B: Using subdev ov7670 0-0021 for capture
root@am57xx-evm:~#

I also double-checked the driver code to make sure registers are written correctly. it seems like the camera is configured correctly and it is sending data, bellow is a screenshot I provided using logic analyzer when the IDK starts up:

due to sampling rate limitations, I can not capture and analyze some of the above signals, but it seems like everything is working correctly on the camera side. But on the IDK side, I am not able to capture images, I have tried different solutions including GStreamer and some user-space applications, none of them were successful. when I read parser size register for vin4b, it's 0:

root@am57xx-evm:~# devmem2  0x48995A70
/dev/mem opened.
Memory mapped at address 0xb6fd9000.
Read at address  0x48995A70 (0xb6fd9a70): 0x00000000
root@am57xx-evm:~# devmem2  0x48995A0C
/dev/mem opened.
Memory mapped at address 0xb6faf000.
Read at address  0x48995A0C (0xb6fafa0c): 0x000000C0
root@am57xx-evm:~#  

I know that ov7670 supports raw Bayer 8 bit (SRGGB8_1X8) which is supported in VIP. I also have another camera module (ov2640) and that's not functioning too.

I have been trying to fix this issue for a couple of weeks. I was wondering if someone could propose a solution or a debugging method.

Best Regards,

Alex.

CC1352R: Do the prop commands support Foreground and Background Level Operations?

$
0
0

Part Number: CC1352R

Hi TI expert,

Chapter 25.5.4 in TRM mentioned "In IEEE 802.15.4 mode, the radio CPU accepts two levels of radio operation commands. Operations can run in the background level or in the foreground level.".  The Tx command is able to run in front of Rx command, so that the Rx does not need to be abort manually, as "The transmit operation causes the background level operation to be suspended until the transmission is done."

I am wondering if  the prop commands support combinations of Foreground and Background Level Operations? 

Thank you very much.

PMP22087

$
0
0

Hello, can I purchase accessories for PMP22087 336-W Auxless AC/DC power supply, if so, where can I send BOM?

CCS/UCD3138PFCEVM-026: PWR026_PFC

$
0
0

Part Number: UCD3138PFCEVM-026

Tool/software: Code Composer Studio

in the following codes,What do 127  (#213)and 0x3ff(#449)mean ?

And  how to get them ?

DS90UB926QSEVB: DS90UB926 or DS90UB925 ,which is suitable for ?

$
0
0

Part Number: DS90UB926QSEVB

Hi :

Function Description:
In the figure above, video equipment is a video output device and display equipment is a video receiving device. Now we need to make a device to collect video data between video and display. According to this function, figure 1 and Figure 2 in the figure above are designed. The main functions of the two schemes are as follows:
Receive a fpdlink III signal, assign this signal to an external port, and collect the received fpdlink III signal into FPGA. FPGA needs to complete the data conversion from RGB to YUV422, and then convert the YUV422 data to Mipi csi2 signal output through a chip.

According to the function, there are two schemes, figure 1 and Figure 2. But now there are several problems as follows:
1. Using Figure 1 scheme, please recommend which model of Ti chip meets some functions of "which chip". (this scheme is preferred)
2. Figrue2 scheme is adopted, and 926 and 925 are configured as repeater mode. How to configure I2C registers of these two chips Since the whole video has been transmitted through 926 and 925, the transmission process is 925 - > 926 - > 925 - > 926. The whole design purpose is to collect data transparently. What's a good processing method for I2C?


CCS/MSP432P401R: Verify when the P2.5 change the state

$
0
0

Part Number: MSP432P401R

Tool/software: Code Composer Studio

Hello I have face some problems because I am doing a routine and I need to know when the P2.5 change from the high to low or the low for high, can someone help me please. This is a piece of my code...

int main(void){
   P2->DIR &= ~(ADS1292_DRDY);                             /*SET THE ADS1292R DRDY PIN TO INPUT*/
    P2->REN |= ADS1292_DRDY;                                /*USE INTERNAL RESISTOR*/
    P2->OUT |= ADS1292_DRDY;                                /*THE INTERNAL RESISTOR IS PULL UP*/
    P2->IES |= ADS1292_DRDY;
    P2->IFG &= ~(ADS1292_DRDY);
    P2->IE &= ~(ADS1292_DRDY);
    while(1){
       if((P2->IN & ADS1292_DRDY) == false){
          // code
       }

  }

}

MSP430FR6047:The question about capturing Ultrasonic wave form in register mode

$
0
0

Part Number: MSP430FR6047

Dear team,

In MSP430FR58xx, MSP430FR59xx, and MSP430FR6xx Family User's Guide。

I want to capure the Ultrasonic wave form from the sensor, the frequency of signal is 300Hz,and the voltage of signal is about 10 mv.

When I test separately the programs of SDHS and SAPH using a Signal generator and a oscilloscope,it‘s OK, while I combining the ‘ SAPH program’ and ‘ SDHS program ’ ,I can not get a wave. 

Through the oscilloscope, it can be observed that Saph has generated pulse excitation, and the sensor has generated ultrasonic wave. The distance between the two sensors is 50 mm.

And I have tested the About the time about Timer-A, it‘’s correct.

so How could I continue my learning.Can U help me to give me a train of thought or some suggestions about the program?

There are parts of the program.

Did I  make it correctly?

Best wishes,

Holt。

CC1310: cc1310

$
0
0

Part Number: CC1310

Hi, we use cc1310 in our products.

To synchronize sensors and decrease power consumption we want to use command  CMD_PROP_RX_SNIFF command for beacons detection.

Data rate is 50000 bit/sec.

Preamble length is 8 bytes (duration approximately 1.28 msec).

Accordance to measurements  the duration of RF_open () and CMD_FS processing command is about 1.6 msec.

Duration from sending CMD_PROP_RX command till LNA activation line is 140 msec.

I.e. it takes about 1.74 msec to ensure that Rf in active Rx state.

So it means that minimum duration of the Sniff mode process is more than 1.74 msec (without start the sniffing ).

Q1:Is it right?

Q2: how to decrease commands processing duration?

Thanks

Leonid

TPS563201: Adjust the Output Voltage by extra circuit

$
0
0

Part Number: TPS563201

Dear Sir,

since I need to program the output voltage not just fixed value. 

I understand Digital Potentiometer can work on it, but except for that, is any way to implement this function? thanks.

LMZ31710: LMZ31710

$
0
0

Part Number: LMZ31710

Hi,

I'm designing a project with requirements for different types of switchers.

I have an input voltage of 10V and I need to deliver the following voltages to me circuit (derived from the 10V):

  • 8V --> 1.5A
  • -5.25V --> 0.95A
  • 5.25V --> 19A (can be divided up to 4 ICs)
  • 3.5 --> 8.3A (can be divided up to 2 ICs)
  • 2.2 --> 10.46A (can be divided up to 3 ICs)
  • 6.25V --> 6.15A (can be divided up to 2 ICs)
  • 5.7V --> 2A
  • 4.3V --> 0.25A

The main problem I have is that I need to synchronize all these components to 3 possible options:

  1. Fixed 1.25MHz
  2. Fixed 2.5MHz
  3. Variable 200-300KHz --> meaning I will change the frequency every few microseconds between 200-300KHz with fixed step (could be lower bandwidth, but inside these limits).

Can you help me find converters which can cover the above requirements?

I looked at LMZ31710 but the sync can reach up to 1.2MHz, and I think I can't use option 3 for synchronization because it needs fixed frequency.

Thank you,

CC3100: Smart config sdk 1.3.0

$
0
0

Part Number: CC3100

Hi,

I use CC3100 with my mcu for a long time , and now need to integrate Smartconfig option.

I try to enable the smart config process like at the example "provisioning_smartconfig" of  sdk 1.3.0 without success with the android APP Simplelink Startet Pro.

Please help,

This is my code on Hosted  MCU

_WlanRxFilterOperationCommandBuff_t  RxFilterIdMask = {0};
  
  uint8_t           val = 1;
  uint8_t           configOpt = 0;
  uint8_t           configLen = 0;
  uint8_t           power = 0;
  
  int32_t          retVal = -1;
  int32_t          mode;
  
  mode = sl_Start(0, 0, 0);
  ASSERT_ON_ERROR(mode);
  
  /* If the device is not in station-mode, try configuring it in station-mode */
  if (ROLE_STA != mode)
  {
    if (ROLE_AP == mode)
    {
      /* If the device is in AP mode, we need to wait for this event before doing anything */
      while(!IS_IP_ACQUIRED(g_connectionStatus))
      {
        osi_Sleep(1);
      }
    }
    
    /* Switch to STA role and restart */
    retVal = sl_WlanSetMode(ROLE_STA);
    ASSERT_ON_ERROR(retVal);
    
    retVal = sl_Stop(SL_STOP_TIMEOUT);
    ASSERT_ON_ERROR(retVal);
    
    retVal = sl_Start(0, 0, 0);
    ASSERT_ON_ERROR(retVal);
    
    /* Check if the device is in station again */
    if (ROLE_STA != retVal)
    {
      /* We don't want to proceed if the device is not coming up in station-mode */
      ASSERT_ON_ERROR(DEVICE_NOT_IN_STATION_MODE);
    }
  }
  
  /* Get the device's version-information */
  configOpt = SL_DEVICE_GENERAL_VERSION;
  configLen = sizeof(g_wifiVersion);
  retVal = sl_DevGet(SL_DEVICE_GENERAL_CONFIGURATION, &configOpt, &configLen, (_u8 *)(&g_wifiVersion));
  ASSERT_ON_ERROR(retVal);
  
  /* Set connection policy to Auto + SmartConfig (Device's default connection policy) */
  retVal = sl_WlanPolicySet(SL_POLICY_CONNECTION, SL_CONNECTION_POLICY(1, 0, 0, 0, 1), NULL, 0);
  ASSERT_ON_ERROR(retVal);
#ifdef DEBUG_NRF_USER  
  ASSERT_ON_ERROR(cc3100_clear_profiles(0xFF));
#endif
  /*
  * Device in station-mode. Disconnect previous connection if any
  * The function returns 0 if 'Disconnected done', negative number if already disconnected
  * Wait for 'disconnection' event if 0 is returned, Ignore other return-codes
  */
  cc3100_disconnect_from_ap();
  
  /* Enable DHCP client*/
  retVal = sl_NetCfgSet(SL_IPV4_STA_P2P_CL_DHCP_ENABLE,1,1,&val);
  ASSERT_ON_ERROR(retVal);
  
  /* Disable scan */
  configOpt = SL_SCAN_POLICY(0);
  retVal = sl_WlanPolicySet(SL_POLICY_SCAN , configOpt, NULL, 0);
  ASSERT_ON_ERROR(retVal);
  
  /* Set Tx power level for station mode
  Number between 0-15, as dB offset from max power - 0 will set maximum power */
  power = 0;
  retVal = sl_WlanSet(SL_WLAN_CFG_GENERAL_PARAM_ID, WLAN_GENERAL_PARAM_OPT_STA_TX_POWER, 1, (_u8 *)&power);
  ASSERT_ON_ERROR(retVal);
  
  /* Set PM policy to normal */
  retVal = sl_WlanPolicySet(SL_POLICY_PM , g_powerState, NULL, 0);
  ASSERT_ON_ERROR(retVal);
  
  /* Unregister mDNS services */
  retVal = sl_NetAppMDNSUnRegisterService(0, 0);
  ASSERT_ON_ERROR(retVal);
  
  /* Remove  all 64 filters (8*8) */
  pal_Memset(RxFilterIdMask.FilterIdMask, 0xFF, 8);
  retVal = sl_WlanRxFilterSet(SL_REMOVE_RX_FILTER, (_u8 *)&RxFilterIdMask,
                              sizeof(_WlanRxFilterOperationCommandBuff_t));
  ASSERT_ON_ERROR(retVal);
  
  retVal = sl_Stop(SL_STOP_TIMEOUT);
  ASSERT_ON_ERROR(retVal);
  
  cc3100_initialize_app_variables();
  
  
  return retVal; /* Success */

BQ27441-G1: Initialization Issue

$
0
0

Part Number: BQ27441-G1

Hi TIs,

Same as link:https://e2e.ti.com/support/power-management/f/196/t/853557,

We are sure the failures is caused by the cold temperature exposure,because the device can recover when the temperature is returned to normal.

So pls give some recommendation on this issue. It makes us delay our MP schedule.

Thanks a lot.

BR

Sara


MSP430FR5994: BOOSTXL-AUDIO_RecordPlayback_MSP430FR5994 Example - Longer recording times

$
0
0

Part Number: MSP430FR5994

Hi

I have been playing with the Record Playback Example on the MSP430FR5994 using the BOOSTXL-AUDIO booster pack. The example works fine.

However I have been trying to make the recording last longer than 3 seconds. When I try to make the sample longer, (6 seconds) by changing the definition of the

SAMPLES_LENGTH i get the error that the dataRecorded1 & dataRecorded2 arrays are to large. I have a sucspicion that the FRAM memory is simply not big enough for the data sampled. Is there a way to change the sample length by maybe changing other variables or am I limited to 3 seconds?

With kind regards

BQ25892: BQ25892 i2c

$
0
0

Part Number: BQ25892

I HAVE THE SAME QUESTION AS SHOWN IN THE FOLLOWING CASE:   bq25892 i2c communication have a problem, The following case says it is resolved but there is no answer in this link.

Thanks and best regards, 

BUgra

BQ2970: Battery Protection Question

$
0
0

Part Number: BQ2970

I am looking to use a BQ29700 protection IC for a single lithium ion battery. The requirements are a max discharge current of 3.5A, max charge current of 1.25A, UVP of 2.6V and OVP of 4.2V. I believe this will require the BQ29700 to be programmed by TI to have a OCC of 0.071V, OCD of 0.2V. The addition of a MOSFET with RDSon of around 57mOhms should get me close to the requirements. 

Is the above correct? I am assuming I can not model this so how do I go about getting samples? Does TI offer a MOSFET with the above specs?

TAS5782M: Schematic review for TAS5782m

Delay after first Scan Request ´

$
0
0

Part Number: LAUNCHXL-CC2640R2

Hi everyone,

Im working with two LP CC26402R2 and a third LP connected to SmartRF Studio(to check the packets). Im using the simple broadcaster and simple observer examples.

After setting the observer to scan permanently, i have tried to send advertisements and recieve scan requests from the observer. 

I can start advertising by sending my data over uart. The observer sends a scan request after the 1 - 3 packets in the 37-39 channel.

 If i get a scan request , my broadcaster resets and waits for more data to advertise again. The Observer stays on.

If i want to send more advertisements to my observer, it takes several seconds until i get a scan request(sometimes more than 10s).

I can see in Smart RF Studio that my broadcaster starts advertising properly and the scan request send.

I have added this part to: static void SimpleObserver_processRoleEvent(gapObserverRoleEvent_t *pEvent) and set active scan

 case GAP_DEVICE_INFO_EVENT:
      {
        SimpleObserver_addDeviceInfo(pEvent->deviceInfo.addr, pEvent->deviceInfo.addrType);
  
        if(pEvent->deviceInfo.eventType == GAP_ADRPT_ADV_SCAN_IND){
            memcpy(allAdvDataBuf, pEvent->deviceInfo.pEvtData, pEvent->deviceInfo.dataLen);
            
            *(advDataBuf) = *(allAdvDataBuf + 5);
            *(advDataBuf + 1) = *(allAdvDataBuf + 6);
            *(advDataBuf + 2) = *(allAdvDataBuf + 7);

            write2Uart(advDataBuf); 
            }




Why does this happen. Is there a way to make the observer expect more advertisements after sending the recieved data to uart?

i have tried placing :

GAPObserverRole_StartDiscovery( DEFAULT_DISCOVERY_MODE,DEFAULT_DISCOVERY_ACTIVE_SCAN,DEFAULT_DISCOVERY_WHITE_LIST );

after my write2Uart() but no success.

Thank you for your time!

Aurel

Viewing all 262198 articles
Browse latest View live


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