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

CCS/CC2640R2F: spp_ble_server_cc2640r2lp_stack_library compiling each time

$
0
0

Part Number:CC2640R2F

Tool/software: Code Composer Studio

Hi All,

I am using the SPP_BLE_SERVER example to do BLE UART BRIDGE in my application.

each build in CCS takes almost 1 minute to compile, link , and download into the device for debugging.

Are there any tips/tricks to improve this cycle ?

Thanks,

Roy


TM4C123GH6PM: PWM Problem

$
0
0

Part Number:TM4C123GH6PM

Hello All

My TM4C123GXL pwm output is not a constant wave. The output ripple is too high. Why could it be? What can i do?

The image may not belong to the following code, but the output is same.

#include <stdbool.h>
#include <stdint.h>
#include "inc/hw_memmap.h"
#include "driverlib/gpio.h"
#include "driverlib/pin_map.h"
#include "driverlib/pwm.h"
#include "driverlib/sysctl.h"
int main(void)
{
uint16_t ui16Rise=2;
uint16_t ui16Fall=2;
SysCtlClockSet(SYSCTL_SYSDIV_10 | SYSCTL_USE_PLL | SYSCTL_OSC_MAIN | SYSCTL_XTAL_16MHZ);
SysCtlPWMClockSet(SYSCTL_PWMDIV_1);
SysCtlPeripheralEnable(SYSCTL_PERIPH_PWM0);
    SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOB);
GPIOPinConfigure(GPIO_PB6_M0PWM0);
GPIOPinConfigure(GPIO_PB7_M0PWM1);
GPIOPinTypePWM(GPIO_PORTB_BASE, GPIO_PIN_6);
GPIOPinTypePWM(GPIO_PORTB_BASE, GPIO_PIN_7);
while(!SysCtlPeripheralReady(SYSCTL_PERIPH_PWM0))
{
}
PWMGenConfigure(PWM0_BASE, PWM_GEN_0,PWM_GEN_MODE_UP_DOWN | PWM_GEN_MODE_NO_SYNC | PWM_GEN_MODE_DBG_STOP);
PWMGenPeriodSet(PWM0_BASE, PWM_GEN_0, 200);
PWMPulseWidthSet(PWM0_BASE, PWM_OUT_0, 130);
PWMDeadBandEnable(PWM0_BASE, PWM_GEN_0, ui16Rise, ui16Fall);
PWMGenEnable(PWM0_BASE, PWM_GEN_0);
PWMOutputState(PWM0_BASE, (PWM_OUT_0_BIT | PWM_OUT_1_BIT), true);
    while(1)
    {
}
}


Thanks.

Linux/AM3352: SPI configuration issue

$
0
0

Part Number:AM3352

Tool/software: Linux

Hi,

     We have a custom board with AM3352 processor. we connected three MAX14830 (SPI to QUAD Uart IC). AM3352 is configured as MASTER . We are using ti-sdk only.                                                                             Linux Version:  linux-4.4.41+gitAUTOINC+f9f6f0db2d-gf9f6f0db2d, Diagramatic representation is given bellow of our design,

I Have configured the Pin Mux. Given Bellow for the reference,

spi1_pins: myspi1_pins_default {
pinctrl-single,pins = <
AM33XX_IOPAD(0x950, PIN_INPUT_PULLUP | MUX_MODE0 ) /* (A17) spi0_sclk.spi0_sclk */
AM33XX_IOPAD(0x954, PIN_INPUT_PULLUP | MUX_MODE0 ) /* (B17) spi0_d0.spi0_d0 */
AM33XX_IOPAD(0x958, PIN_INPUT_PULLUP | MUX_MODE0 ) /* (B16) spi0_d1.spi0_d1 */
AM33XX_IOPAD(0x95c, PIN_INPUT_PULLUP | MUX_MODE0 ) /* (A16) spi0_cs0.spi0_cs0 */
AM33XX_IOPAD(0x960, PIN_INPUT_PULLUP | MUX_MODE0 ) /* (C15) spi0_cs1.spi0_cs1 */
>;
};

spi2_pins: myspi2_pins_default {
pinctrl-single,pins = <
AM33XX_IOPAD(0x908, PIN_OUTPUT_PULLUP | MUX_MODE2 ) /* (H16) gmii1_col.spi1_sclk */
AM33XX_IOPAD(0x90c, PIN_OUTPUT_PULLUP | MUX_MODE2 ) /* (H17) gmii1_crs.spi1_d0 */
AM33XX_IOPAD(0x910, PIN_INPUT_PULLUP | MUX_MODE2 ) /* (J15) gmii1_rxer.spi1_d1 */
AM33XX_IOPAD(0x944, PIN_OUTPUT_PULLUP | MUX_MODE2 ) /* (H18) rmii1_refclk.spi1_cs0 */
AM33XX_IOPAD(0x964, PIN_OUTPUT_PULLUP | MUX_MODE2 ) /* (C18) eCAP0_in_PWM0_out.spi1_cs1 */

Changes has been made in the dts file 

&spi0 {
#address-cells = <1>;
#size-cells = <0>;

pinctrl-names = "default";
pinctrl-0 = <&spi1_pins>;
cs-gpios = <&gpio0 5 0>, <&gpio0 6 0>;
ti,pindir-d0-out-d1-in = <1>;
spi-cpha;
spi-cpol;
status = "okay";

U6: max14830@0 {
compatible="maxim,max14830";
reg = <1>;
mode = <0>;
spi-max-frequency=<26000000>;
clocks=<&clk4m>;
clock-names="osc";
interrupt-parent=<&gpio3>;
interrupts=<15 8>;
gpio-controller;
#gpio-cells = <2>;
status = "okay";
};

};

&spi1 {

#address-cells = <1>;
#size-cells = <0>;

pinctrl-names = "default";
pinctrl-0 = <&spi2_pins>;
ti,pindir-d0-out-d1-in = <1>;
spi-cpha;
cs-gpios = <&gpio0 5 0>, <&gpio0 6 0>;
ti,pindir-d0-out-d1-in = <1>;
spi-cpha;
spi-cpol;
status = "okay";

U5: max14830@1 {
compatible = "maxim,max14830";
reg = <1>;
mode = <0>;
spi-max-frequency = <26000000>;
clocks = <&spi_uart_clk>;
clock-names = "osc";
//interrupt-parent = <&gpio3>;
//interrupts = <14 0x2>;
gpio-controller;
#gpio-cells = <2>;
};

U4: max14830@1 {
compatible = "maxim,max14830";
reg = <0>;
mode = <0>;
spi-max-frequency = <26000000>;
clocks = <&spi_uart_clk>;
clock-names = "osc";
//interrupt-parent = <&gpio3>;
//interrupts = <21 0x2>;
gpio-controller;
#gpio-cells = <2>;
};

};

Questions:

1. We are not getting the Clock and Chip select signal ?

2. Any changes has to be done in driver ?

3. Any changes has to be do in device tree ?

4. What can be the issue?

DLP4500: Help with uploading image through Matlab for DLPC4500

$
0
0

Part Number:DLP4500

Have anyone tried uploading a bmp image onto the DLP4500 using Matlab? 

I understand that there are codes available on the forum that uses matlab, however i am relatively new to this hence cannot decipher which function is used to upload an image. 

LM25085: Current oscillation

$
0
0

Part Number:LM25085

Hi Team

I have seen a current oscillation while using the LM25085.


Input voltage 17V ~ 20V Output 500mA load is applied.

I added capacitors to GND in parallel between R37 and Q2 and the oscillation disappeared.

Vin's bypass capacitor looks away from the pin. This is supposed to be a reinforced effect.

If yes, please explain in detail why this is happening.

Thanks,

Taemin

TLC59116: About behavior of I2C lines(SDA/SCL) when VCC isn’t applied

$
0
0

Part Number:TLC59116

Hi Team,

 

Our customer would like to know the behavior of I2C lines(SDA/SCL) when VCC isn’t applied.

Could you please let us know this behavior (Hi-Z or High or Low)?

 

We guess that it is Hi-Z.

Is my understanding correct?

 

Regards,

Kanemaru

dp83640: SyncE of dp83640 on fiber mode

$
0
0

Part Number:dp83640

hi,

    We know that dp83640 support Synchronous Ethernet mode.  If I configure DP83640 as fiber mode, and connect two dp83640 by fiber, does it also support synchronous Ethernet?

Regards,
Kevin

SM74611: Observing Voltage dip of approximately 0.7V on 3.3V DC in forward bias

$
0
0

Part Number:SM74611

Hi,

   We are using SM74611 diode in one of our applications. Our requirement is to pass 3.3V to target device from on board 3.3V source with reverse polarity protection.

We've chosen SM74611 part which is matching our requirements as the forward voltage drop is very low i.e around 26mV.

But we are facing issue with this part. 3.3V output from the diode experiencing 0.7V dip whereas input to the diode is stable 3.3V, here the load is 10mA.

We don't understand the behaviour of SM74611 and trying to figure out reason for this issue, but unable to find.

schematic is attached. Can anyone help me on solving this?

Thanks

Srikanth

(Please visit the site to view this file)

 


TRF370417: Is there any device and support 7.5G I/Q Modulator

$
0
0

Part Number:TRF370417

It looks the highest freq for the modulator is 6G for TRF370417.

Do we have any more higher I/Q modulator such as 7.5GHz?

If there is no such kind device, any other way to achieve it? Thanks.

DS90UB953-Q1: can 953 support 8MP snapshot?

$
0
0

Part Number:DS90UB953-Q1

per Spec, 953 can '...support high-speed sensors including Full HD 1080p 2M 60-fps and 4MP 30-fps images', I would love to know if 963 support 8MP snapshot? for example, 8M@1fps?

TINA/Spice/UC1846: Unencrypted Spice Model

$
0
0

Part Number:UC1846

Tool/software:TINA-TI or Spice Models

Hi,

We submitted a support request to TI asking for an unencrypted spice model for the UC1846. For some reason we have been told to re-ask the question here... Is there an unencrypted model available?

Best Regards,

Dave

CC2640R2F: Master-slave connection

$
0
0

Part Number:CC2640R2F

Hi team,

   My customer once use CC2640F128 Master/slave example and met a problem. The master node start to observe, searched the slave and then connect, in this case, the master node frequently can't connect with correct slave. But when pre-program the slave address in the master node, the connect is 100% OK. SDK version is ble_cc26xx_2_01_01_44627.

   When we use CC2640R2F + simplelink_cc2640r2_sdk_1_40_00_45, the issue never turns up even we don't pre-program slave address. CC2640F128 and CC2640R2F share the same hardware design.

    So what is modified in the two versions of SDK that may influence the master-slave observation and connection?

LP2951-50: Thermal pad connection

$
0
0

Part Number:LP2951-50

Hi,

 I would like to know if the thermal pad should be connected to ground, as it happens for most of the other regulators.

The datasheet does not say anything about it/\.

Thanks

Umberto

RTOS/TDA3XEVM: Color Banding

$
0
0

Part Number:TDA3XEVM

Tool/software:TI-RTOS

Hi,

We are using TDA3x EVM, running Rear view panorama usecase in VisionSDK3.1.

1. In video we can see some colored rings or color banding. Under bright light it is not much visible but it is still present. Attaching a image here. What can be the reason for this ? WE are using OV10640 sensor (revision: RB1).

2. Also another issue we found like we can see some random/wrong colors in between black and white line pairs. It is more visible in images of net/transparent kind of material. What is this issue ? Attaching few images. We checked this after capturing RAW and YUV images.

Raw Images

                                

 

YUV Images

                                            

 


CCS/WL1837MOD: SDIO Driver

$
0
0

Part Number:WL1837MOD

Tool/software: Code Composer Studio

Hello,

I am planning to use this part WL1837MODGI, along with Ethernet module Please suggest  suitable  Microcontroller.

Thanks and Regards

Chandrashekara


DP83620: AM4377 and DP83620: Packet Loss

$
0
0

Part Number:DP83620

Hi,

We are using TI's AM4377 CPU and DP83620 Ethernet PHY in one of our projects. We are able to make 10 Mbps up, but with 100 Mbps there is around 30-60% packet loss. Our test set-up is as below.
AM4377 CPU located in the main PCB and DP83620 Ethernet PHY in the communication PCB. CPU/MAC to PHY connection is through Samtec card edge connector (PN: HSEC8-120-01-SM-DV-A). Attached Ethernet PHY board schematics herewith. The trace lengths are within DP83620 PHY guidelines (< 6 inches as in 'AN-1469 PHYTER Design & Layout Guide'). Attached Trace length details as well.

Also, please find few more queries:

  • Please let us know the strap option for TX (Please visit the site to view this file)D_3 pin (to enable RMII Slave mode), as it is not clear from datasheet.
  • Request your suggestion in finding the right termination value for these trace lengths and any other recommendations if any (other than termination resistor).
  • We did not get any errata sheet for the PHY chip. Please help on this as well.


Best Regards,
Madhusoodana Bairy

CC2640R2F: CC2640R2F Central mode: GATT_WriteCharValue return 0x16

$
0
0

Part Number:CC2640R2F

Hi all, I have troubles with my CC240R2F in BLE Central mode. I have modified "simple_central" project for communicating with a BLE Lamp (peripheral). In my code (attached below) it works scan, connection, and service/characteristic discovery, but when I try to enable notification on a specific characteristic and write a value on it (a simple string as lamp documentation for turn on the lamp), the GATT_WriteCharValue function return always 0x16 and the lamp doesn't turn on. What's wrong with my code? How can I resolve this? 

Thanks(Please visit the site to view this file)

TPA3128D2EVM: How do you adjust the gain? Is Potentiometer bypassed?

$
0
0

Part Number:TPA3128D2EVM

I just received the TPA3128D2EVM and I tried turning the potentiometer, but the gain does not change.  Is there a jumper or other kind of setting that is bypassing the potentiometer?  I need to increase the gain.

Thanks for any help!

CCS/IWR1443BOOST: Matlab

$
0
0

Part Number:IWR1443BOOST

Tool/software: Code Composer Studio

Hi,

I have installed CCS V8 and Matlab R2016a. when i try to start the Demo examples in resource explore, it will show run time error. I have added the screen shot of the error as an attachment. please help me to solve this problem.

Thank You.

Regards,

Hasitha. 

CCS/TMS320F28335: how to assign the values of the global variables to GPIO pins to observe the output

$
0
0

Part Number:TMS320F28335

Tool/software: Code Composer Studio

My project is Direct torque Control of Induction motor drive. I am not using ePWM module right now for my project work. I have obtained the 6 values corresponding to 6 switching pulses for 6 global variables after the execution of a function. I need to assign these 6 values to 6 GPIO pins. Which all registers should I enable ? Should I use Data registers or Control registers ? Should I set GPIO Direction registers ? What should I do ? After passing the values from the variables to the ports, I need to output them. 

I am attaching the word document of my program. Can somebody please help me.

  (Please visit the site to view this file)

Viewing all 262198 articles
Browse latest View live


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