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

CC1310: Configuration

$
0
0

Part Number: CC1310

Hi All,

We decided to use DIO_6 for PWM output, it has maximum drive capacity as 8mA.

    What is the default drive capacity of this pin and how can we change it through driver file?

Thanks,

K.khan


IWR1843: EDMA semaphore is not being released during HWA-only demo

$
0
0

Part Number: IWR1843

Hi,

I'm currently in the process of porting the xwr68xx HWA-only demo project to the 1843 platform. I've modified the project configuration to point to the relevant 18xx libs, changed the target device platform to IWR1843, etc. 

I can build the demo and it will boot fine. But when I try to start the sensor (via the mmWaveDemo Visualizer), the code gets stuck waiting for the edmaDoneSemaHandle semaphore in DPU_RangeProcHWA_process() in rangeprochwa.c (line 2284).

This seems to be because the EDMA transaction never completes.

Any suggestions on where to look to narrow down the issue? I'm suspecting it is a difference in EDMA configuration between 68xx and 1843 but haven't been able to identify it.

Thanks

WEBENCH® Tools/TPS54202: Webench recommendations do not match datasheet equations

$
0
0

Part Number: TPS54202

Tool/software: WEBENCH® Design Tools

When calculating the TPS54202 circuit for the default values, Vin from 8 to 28V, Vout = 5V, and Iout = 2A, the Webench circuit matches the calculations suggested in the datasheet. In this particular case, the output inductor is 15uH, very close and slightly above the result calculated through equation 8 of the datasheet, which yields 13.7uH. When we change the output current to 0.7A however, based again on equation 8, I would expect the inductance to be higher, so the device continues to operate in CCM. Equation 8, having the output current in the denominator, jives with that notion and it renders a result of 39.1uH. Webench on the other hand, shows then an inductor of 10uH. I would like to understand why that is the case and whether Webench is accepting the fact that the switcher will be operating in DCM.  

Thanks for the help!

TMS320C6748: Configuring the PLL

$
0
0

Part Number: TMS320C6748

I'm looking to config the PLL:

OSC Frequency: 20 MHz
CPU: 300 MHz
EMIFA: 100 MHz
DDR2: 200 MHz

I've installed Starterware. I don't see any examples (The example for GPIO works fine).

If someone could point me in the right direction that would be great.

Alan

MSP432P401R: UART Callback Function -- function and how to implement in SysConfig?

$
0
0

Part Number: MSP432P401R

Hi,

Regarding the related post I made recently (which also includes my code snippet), I was told about a UART callback function. Currently, UART_write() is stopping the execution of my code after just one interrupt, and it looks like I may need to implement one of these callback functions.

Can anybody tell me about the purpose of a UART callback function and how to configure and implement one?

Regards,

Michael

66AK2H06: postpone print function in interrupt code

$
0
0

Part Number: 66AK2H06

Hi all,

I am not sure if CorePac has this feature. Could anyone provide the suggest?

for example,

I have a code run in the interrupt

interrupt_code

{

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

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

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

print (variable 0 status)

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

print (variable 1 status)

-----------

}

there are some print function for engineer to debug in this interrupt code.

How do I postpone those print function? when the interrupt finishes, dsp executes those functions with correct contents immediately?

Thanks

CCS/IWR6843: IWR6843 3 Antennas for Azimuth detection.

$
0
0

Part Number: IWR6843

Tool/software: Code Composer Studio

Hi experts,

Based on IWR6843 ES1.0  we have designed a new board which has 3 antennas in the azimuth . It works well with the lab0012_srr_16xx demo that we have modified.

here is my question :

How to modify the code to enable Tx1、Tx2、Tx3  in TDMA model because we want to inprove the angle resolution. 

Could you give us some advice?

Thank you !

Simon

BQ24040: Test Jig design: Battery simulation

$
0
0

Part Number: BQ24040

Hello,

I am designing a test jig for a PCB that we need to make a PCB production test for and I want to be able to quickly test the battery charger without using a physical battery in place.

The test need to verify the following:

  • Toggle of the /CHG pin
  • Verify charge current (~200mA)
  • Charge complete
  • Over temp battery charge stop

I am considering the follow circuit:

The 'Charge current load resistor' would be set to something like 18-20 ohm so that set charge current of 200mA could be achieved. 

  1. So the test would start with the TS pin set to 10kOhm, DAC producing around 3.0V ( at the battery terminal) to produce a low battery condition
  2. Then the proper (PG) power would applied to Vin, it is expected that the BQ24040 input power would be applied and 200mA should output from the charger raise the voltage 3.8V to 4.0V
  3. Once observed the DAC would ramp to 4.2V-4.3V, to trigger a charge complete condition. 
  4. The test would be repeated expect once charging current was reached the TS pin would switched from 10k to Vss (gnd), to produce battery over temp condition.

How likely is this to work as expected? Have I missed and consideration that would preclude this operation as I intended?  If so, any suggestion on how I could resolve the issue be great appreciated.

Thank you very much,

Scott


TLV320AIC22C: Any replacement for this NRND part?

$
0
0

Part Number: TLV320AIC22C

Hi Team,

Please kindly suggest suitable replacement for TLV320AIC22C.

Thanks

AM3351: MMC3 problem

$
0
0

Part Number: AM3351

Hello,

I'm trying to connect an SD card to the MMC3 on the Beaglebone black. I created a custom board with an SD card holder. I've written a device tree overlay (I'm still learning it) to enable this peripheral.

In /sys/class I can see the MMC3 as MMC1 with the correct parameters. However under /dev I can't see the SD card. Furthermore under /sys/kernel/debug/mmc1/ios I get strange values, for example the VDD is 0 (invalid), the clock is 0Hz etc. (See the attached image)

And here is my complete device tree overlay:

/dts-v1/; 
/plugin/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/am33xx.h>

/ {

	compatible = "ti,am335x-bone-black", "ti,am335x-bone";
	
	exclusive-use = 
		"P8.12";

	fragment@0 {
		target = <&i2c2>;
		__overlay__ {
			rtc@68 {
				compatible = "maxim,ds1307";
				reg = <0x68>;
			};
		};

	};

	fragment@1 {
		target = <&am33xx_pinmux>;
		__overlay__ {
			mmc3_pins: pinmux_mmc3_pins {
				pinctrl-single,pins = <
					0x30 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a1.mmc2_dat0, INPUT_PULLUP | MODE3 */
					0x34 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a2.mmc2_dat1, INPUT_PULLUP | MODE3 */ 
					0x38 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a3.mmc2_dat2, INPUT_PULLUP | MODE3 */ 
					0x3C (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_ben1.mmc2_dat3, INPUT_PULLUP | MODE3 */
					0x88 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_csn3.mmc2_cmd, INPUT_PULLUP | MODE3 */ 
					0x8C (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_clk.mmc2_clk, INPUT_PULLUP | MODE3 */ 
					0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a0.gpio1_16 */ 
					/* 0x74 (PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* mmc2_sdcd, p9_13, Note: Dont know why but we set card detect pinout to be GPIO */ 
					/* 0x15c (PIN_INPUT_PULLDOWN | MUX_MODE1) */ /* mmc2_sdwp, p9_17, Note: Write protect is not configured in the device tree settings*/     				>; 
			};
		};
	};

	fragment@2 {
		target = <&mmc3>;
		__overlay__ {
			compatible = "ti,omap4-hsmmc";
			vmmc-supply = <&vmmcsd_fixed>;
			interrupts = <29>;
			reg = <0x47810000 0x1000>;
			ti,dual-volt;
			ti,needs-special-reset;
			ti,needs-special-hs-handling;
			pinctrl-names = "default";
			pinctrl-0 = <&mmc3_pins>;
			/* cd-gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
			cd-inverted; */
			broken-cd;
			bus-width = <4>;
			/* max-frequency = <25000000>; */
			dmas = <&edma_xbar 12 0 1 
				&edma_xbar 13 0 2>;
			dma-names = "tx", "rx";
			status = "okay";
		};
	};

	fragment@3 {
		target = <&edma>;
		__overlay__ {
			ti,edma-xbar-event-map = /bits/ 16 <1 12 2 13>;
		};
	};


};

Thanks,

Gábor

PROCESSOR-SDK-AM335X: SDK6.0 filesystem build errors

$
0
0

Part Number: PROCESSOR-SDK-AM335X

Hi, 

While, building the file system with Yacto, using "snap shot of the source packages', we are getting below error. Please, let us know, how to overcome this issue:

WARNING: mariadb-native-5.5.64-r0 do_fetch: Failed to fetch URL https://downloads.mariadb.org/f/mariadb-5.5.64/source/mariadb-5.5.64.tar.gz, attempting MIRRORS if available
ERROR: mariadb-native-5.5.64-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-cPd9sjcp9N"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/hari/tisdk6.0/tisdk/sources/oe-core/scripts/native-intercept:/home/hari/tisdk6.0/tisdk/sources/oe-core/scripts:/home/hari/tisdk6.0/tisdk/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/mariadb-native/5.5.64-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/hari/tisdk6.0/tisdk/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/mariadb-native/5.5.64-r0/recipe-sysroot-native/usr/bin:/home/hari/tisdk6.0/tisdk/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/mariadb-native/5.5.64-r0/recipe-sysroot-native/usr/sbin:/home/hari/tisdk6.0/tisdk/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/mariadb-native/5.5.64-r0/recipe-sysroot-native/usr/bin:/home/hari/tisdk6.0/tisdk/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/mariadb-native/5.5.64-r0/recipe-sysroot-native/sbin:/home/hari/tisdk6.0/tisdk/build/arago-tmp-external-arm-toolchain/work/x86_64-linux/mariadb-native/5.5.64-r0/recipe-sysroot-native/bin:${DEF_TOOLCHAIN_PATH}/bin:/home/hari/tisdk6.0/tisdk/sources/bitbake/bin:/home/hari/tisdk6.0/tisdk/build/arago-tmp-external-arm-toolchain/hosttools"; export HOME="/home/hari"; /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -P /home/hari/tisdk6.0/tisdk/downloads 'https://downloads.mariadb.org/f/mariadb-5.5.64/source/mariadb-5.5.64.tar.gz' --progress=dot -v failed with exit code 8, output:
--2019-09-22 18:46:12--  https://downloads.mariadb.org/f/mariadb-5.5.64/source/mariadb-5.5.64.tar.gz
Resolving downloads.mariadb.org (downloads.mariadb.org)... 116.203.207.31, 2a01:4f8:c2c:b04e::1
Connecting to downloads.mariadb.org (downloads.mariadb.org)|116.203.207.31|:443... connected.
HTTP request sent, awaiting response... 302 FOUND
Location: http://ftp.cc.uoc.gr/mirrors/mariadb//mariadb-5.5.64/source/mariadb-5.5.64.tar.gz [following]
--2019-09-22 18:46:19--  http://ftp.cc.uoc.gr/mirrors/mariadb//mariadb-5.5.64/source/mariadb-5.5.64.tar.gz
Resolving ftp.cc.uoc.gr (ftp.cc.uoc.gr)... 147.52.159.12, 2001:648:2c00:6c05::2
Connecting to ftp.cc.uoc.gr (ftp.cc.uoc.gr)|147.52.159.12|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-09-22 18:46:25 ERROR 404: Not Found.

TI sdk mirrior (http://software-dl.ti.com/processor-sdk-mirror/sources/) for these packages show only the below versions:

mariadb-5.5.46.tar.gz

44M

mariadb-5.5.50.tar.gz

44M

mariadb-5.5.52.tar.gz

44M

mariadb-5.5.57.tar.gz

44M

CCS/TMS320F28377D-EP: Can't debug, expression value says "Target is Running"

$
0
0

Part Number: TMS320F28377D-EP

Tool/software: Code Composer Studio

I can't debug in real time because the expression values say "Target is Running".  I've never had this problem before and it is now intermittent.  The expressions populate their values if I hit the pause button.

TMS320F28379D: Synchronous sampling error

$
0
0

Part Number: TMS320F28379D

Hello,

I am currently testing simultaneous sampling of two ADCs in 16bit differential mode on the LaunchXL-F28379D and am having some issues with the error between the two. They are both connected to the the function generator in order to compare their readings at a sample rate of approximately 164 kHz and have click rates of 50MHz. I have attached some of the results of testing with a sine wave at 100Hz,1kHz and 100kHz.

Thanks

(Please visit the site to view this file)

OPA549: OPA549 Transient Response

$
0
0

Part Number: OPA549

Hi,

I am using OPA549S in my variable power supply design. The power-amp is in non-inverting feedback configuration with feedback resistors giving a gain of 2 (R2 = 1k, R1 = 1k).

VCC+ = 10V and VCC- = -10V, VREF and ILIM pins are connected to ground. The output is connected to an e-load.  

When I am loading the output of OPA549 with a constant load, the output seems stable. But when I put a transient load from 2A to 4A or 4A to 6A, I see a big undershoot and overshoot of 300mV for a 3V output setting. I cannot add capacitance at the output as that makes the output unstable. I get a good response when the load current slew rate is 0.2A/us.

I am not able to find the data for the transient response of OPA549S with varying load. This is my first time using a power-amp as a power supply.

Can you please let me know if OPA549S can handle transient load as a buck regulator or LDO. I am not able to find the information in datasheet regarding transient response. 

 

MSP430FR6043: LCD_C 8mux Contrast issue

$
0
0

Part Number: MSP430FR6043

I am developing a LCD display. I am attempting to use the on-board controller in 8 mux mode. With internal resistor ladder and on-board charge pump. I am getting poor contrast result and much ghosting. I have a photo of a scope hooked up to one of the segment pins. There are significant voltage spikes when the voltage changes to either V2 or V4 levels. Both these levels are produced by the on-board buffers(op-amps). These voltage spikes are present on all the pins including the Com0-com7 pins. The digits on the display are about 0.6" high. I have all bypass caps installed on power pins. I have a picture of the scope and display but I don't see anywhere to up load the phots. Any ideas?

LM25180: Inductor selection

$
0
0

Part Number: LM25180

Please support on below:

For LM25180 flyback converter, we need to pick a transformer (or a coupled inductor) that works with the part and also meets the following requirements:

1) Input voltage: 5v, Output voltage: 5v, Max current: 100mA

2) AEC-Q200 qualified (at least -40C to +125C)

3) At least 2kV of isolation

4) Preferably small footprint

None of the recommended transformers in the datasheet of LM25180 meet these requirements. Can you please suggest a part for our application?

DRV8818EVM: DRV8818 EVM software

$
0
0

Part Number: DRV8818EVM

Hi E2E,

Good day.

Our customer was unable to download the  DRV8818 Software, the webpage cannot be found.

Do we have an alternative link to download the file?

Thank you.

Regards,
Carlo

CC1352P: Broadcast Limit on CC1352P1

$
0
0

Part Number: CC1352P

Hi Team,

The design I am working with uses CC1352P to provide wifi in parallel with 900MHz FHSS for wireless bi-directional communication. On the CC1352P Launch pad  it appears as if there is a functional limitation, restricting the broadcasts to be delivered at >250ms intervals. For this application, it is required to broadcast every 50ms. Is the >250ms broadcast interval a hard limitation of the FHSS stack? Is there anyway around this? Do you have any suggestions for other devices that meet the 50ms broadcast requirement? Thanks for your help.

Regards,


Garret

CCS/EK-TM4C123GXL: CCSv9.1 Ubuntu16.04 Flashing to device "target failed to read 0x00000000" "/Lab1.out: Load failed."

$
0
0

Part Number: EK-TM4C123GXL

Tool/software: Code Composer Studio

Hello, I am attempting to flash a program to my EK-TM4C123GXL. It took me a while but I was able to figure out how to get to the point of flashing through

A. Giving CCS sudo permissions to access the port connected.

B. Typing dev/ttyACM0 into "Com Port" under Target-configuration

This has gotten me past the issue of being unable to find the port as well as not having permission to access the port. But once I flash the program, it fails and the below is given in console.

CORTEX_M4_0: GEL Output:
Memory Map Initialization Complete
CORTEX_M4_0: Loader: One or more sections of your program falls into a memory region that is not writable.  These regions will not actually be written to the target.  Check your linker configuration and/or memory map.
CORTEX_M4_0: Trouble Reading Memory Block at 0x0 on Page 0 of Length 0x4: Read timed out
CORTEX_M4_0: File Loader: Verification failed: Target failed to read 0x00000000
CORTEX_M4_0: GEL: File: /home/michael/workspace_v9/Lab1/Release/Lab1.out: Load failed.

I am under the impression that the issue may be occurring due to my linker configuration, but I am unsure how to check that information.

I was wondering if Tivaware is still a required thing to be able to program the TM4C123GXL and that may be one of the contributing issues, since I do not have that installed.

Secondly, the program that I am writing is an attempt to adjust a program written for Keil v5, simply due to the fact that Keil doesn't have an equivalent program for Ubuntu. There is a possibility that something within my program is attempting to write to an invalid memory location, but I do not believe this to be the case at this time.

Thank you for any help y'all can provide,

Michael Merrick

BQ76940: Questions about CHG and DSG

$
0
0

Part Number: BQ76940

Good day,

I've got a few questions regarding charging and discharging;

Here is my setup for testing; I use 9x 220 ohm resistors in parallel to a 36V source to simulate the 9S Li-Ion batteries. No load connected. 

(1) In this setup, what should be the expected Vgs of the CHG/DSG FETs, is it 12V?

With all SYS_STAT faults clear and CHG/DSG bits set to 1, I get about Vgs = 7.07V on Q8 (DSG FET). On the other hand, I get Vgs = 0.73 on Q9 (CHG FET). To give more info, I measured Vgs on Q6 = -2.70V; Vr35 = 0.77V; Vr37 = 0.60, Vr42 = -0.73V.

(2) H2 and H4 are for connecting the Load OR the Charger, right?

Viewing all 262198 articles
Browse latest View live