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

TIDA-00120: TIDA-00120 (MPPT Charger) Design files

$
0
0

Part Number:TIDA-00120

Hello,

I have error while importing PADS ASCII files to Altium Designer (17.1 version).

Could someone please share pcb and layout designs(TIDA-00120)  for newest version of Altium (17.1) ?

Regards

 Serkan


WEBENCH® Tools/BQ34Z100-G1: NOT ABLE TO READFLASH PARAMETERS , through code OF BQ34Z100 AFTER RESET DEVICE

$
0
0

Part Number:BQ34Z100-G1

Tool/software: WEBENCH® Design Tools

Hello

I connected the bq34z100-evm to msp430 launchpad,  I written the code to read the flash parameters of bq34z100-g1, i able to read flash parameters , by connecting the bq34z100evm to ev2400 and studio software able to read flash parameters , and immediately connected to the our launchpad able to read flash parameters at that time  , but problem is  after resetting the msp430 launchpad and bq34z100evm not able  to read and 

I am trying to saying that My code is  working , i able to read the flash parameters , when the i2c pins of ev2400 removed and connected to msp430 launchpad ,at that i able to read flash parameters .

my code fomat is :i2c_wite(0x61,0x00)

:i2c_wite(0x3E,0x68)

i2c_wite(0x3F,0x00)

for(i0;i<32;i++)

{

readdata[i]=i2c_read();

}

what thing to be add extra , so that i able to read even after restiing device also.

DRV11873: DRV11873 sometimes cannot start brushless motor

$
0
0

Part Number:DRV11873

Dear all,

Our customer met a question as following:

The DRV11873 has a small probability of not starting the brushless motor. If it is not re-powered, the motor will not start. At this time, the RD pin is pulled high, the FG pin is pulled high, the CPN pin is pulled low, and U, V, W, and COM are DC levels. What is the reason for this situation? RD pull-up should be lock protection, but what causes lock protection? In addition, the FG pin outputs a pulse frequency of 150 Hz under normal motor operation.

Thanks!

OPT3002: OPT3002 calculation result analysis problem

$
0
0

Part Number:OPT3002

Dear all,

Our customer met question as following:

1. How is the red box calculated? If used

Optical_Power for a 505-nm Input = 2(E[3:0]) * R[11:0] * 1.2[ nW/cm2 ] The calculation result is inconsistent with the table

2. If the wavelength is 940nm, how should it be calculated? Is it calculated as follows

Optical_Power for a 940-nm Input = 2(E[3:0]) * R[11:0] * 1.2 / 0.11 [ nW/cm2 ]

Please help us solve it, thanks!

MSP430 selecting

$
0
0

Hi team,

I need to select a MSP430 device. My requirements are as below:

1. VCC should be 3.3V.

2. The device should have one channel ADC. I do not know how much the highest resolution for our MSP430 device is. Do we have 24 bit resolution or higher resolution?

I need the high resolution ADC.

3. The device should have the op amp which can program the gain.The op amp should have one channel.

4. The communication can be I2C or SPI or UART.

5. The package should be as small as possible.

6. The pins should be as few as possible.

Could you recommend a suitable MSP430 device?

OPT8241: OPT8241

$
0
0

Part Number:OPT8241

Dear all,

Hello, I am experiencing the following problems while learning the reference circuit of OPT8241-CDK-EVM IB 10-50_REV2P0V1

What is the role of 1D14, D15 in circuit design.

What is the role of the 2U22 comparison circuit.

What is the function of the 3U22 output comparison result OUTA OUTB after XOR to COMP_MOD_FB?

Broken C2000 Wiki page [was Wiki - C2000 Development - Great Resource]

$
0
0

I just clicked on the C2000 Wiki link in the (original) post, and got redirected to "www6.widgetserver.com", offering to sell me a credit card.

The Wiki page briefly displayed first. It happens repeatably (I can't get to the Wiki page).

I am using Chrome 68.0.3440.106.

[Edit: Fixed title]

CC2640: Code Protection without bricking

$
0
0

Part Number:CC2640

I'm nervous about experiment with Code Protection.

Can someone confirm for me 1, 2, and 3?  (before I accidentally brick my prototype):

To protect my code BUT STILL be able to reprogram my chip, I set the Flash Access Config Registers as:

1.) To prevent reading code:  Disable Bootloader, Disable JTAG (TAP/DAP), Disable TI FA

2.) To prevent CCFG sector overwrite: Disable Bank Erase

3.) To allow me to reprogram then debug with CCS (or Flash Program App ): Enable Chip Erase

PS: Separately, where do I set these CCFG values in the BLE example CCS projects? (I remember seeing this somewhere but I can't find.)

Thank you.


TMS320F28335: eQEP module - high speed measurement update rate too slow

$
0
0

Part Number:TMS320F28335

Hello,

I'm a student and for a project I have to use the eQEP module for a TMS320F28335 to measure the speed and position of a linear machine (PMSM). The incremental encoder ouputs the signals with frequencies between 10Hz and 100kHz depending on the speed.
I get the measured speed and position for high and low speeds without a problem. But the speed update rate for high frequencies is too slow.
The update rate is the value of the QUPRD-register divided by the clock. For correct measurements I need at least the period QUPRD=1.500.000 and the clock frequency is 150MHz. That means the DPS calculates every 10ms a new speed value. That is quiet slow. Especially after an index event, when the QPOSCNT-register is resettet to get a reference point for the position (position counter reset on index event [PCRM]=00). If I choose QUPRD much smaller like QUPRD=30000, the measured speed isn't usable at all.
For example (diagram):
The machine drives with 0.4m/s (QEPA and QEPB=20kHz) and it passes an index event/refernce point, the measured speed is 0m/s for 20ms (QUPRD=3.000.000), even when it's a lot faster. The frequencies for the PWM signals are 16kHz, so during the 20ms with no measured speed, the DSP outputs 320 (different) calculated PWM values based on the speed to the inverter. But the values are just wrong.

Is there any solution to fix this problem? I appreciate every suggestion and thanks for your help.

Best regards
Arne

Used simplified code fragment:

EQep1Regs.QUPRD = 3000000;                                            
    if( EQep1Regs.QFLG.bit.UTO == 1 ){                                      
        v_fast_1 =  (EQep1Regs.QPOSCNT-EQep1Regs.QPOSLAT)*750/3000000;  
        EQep1Regs.QCLR.bit.UTO = 1;                                       
    }

Measured signals with an external DAC and a scope:

Linux/BEAGLEBN: Beaglebone kernel with integrated ramdisk stuck at "Starting Kernel"

$
0
0

Part Number:BEAGLEBN

Tool/software: Linux

Hi everybody,

I have managed to boot my Beaglebone black with a compiled kernel, busybox, device tree and a ramdisk. That is, making u-boot operate like this :)

# for standalone ramdisk:
        # fatload mmc 0:1 0x80200000 zImage
        # fatload mmc 0:1 0x80f00000 am335x-boneblack.dtb
        # fatload mmc 0:1 0x81000000 uRamdisk
        # setenv bootargs console=ttyO0,115200 rdinit=/bin/sh
        # bootz 0x80200000 0x81000000 0x80f00000

This thing boots ok, and I obtain a shell instead of /etc/init, like indicated in rdinit bootarg parameter. I have built busybox as static binary and ramdisk is pretty simple structure but functional :)

Now, for the sake of learning, I am after doing the same thing but integrating uRamdisk inside the kernel :) That is populating menuconfig with the proper path to the initramfs.cpio file.

But, it does not boot at all. It gets stucket at "Starting kernel" and cannot get more output from it, even if I compiled kernel with LL_DEBUG. So now the u-boot instructions are as follow:

# for integrated ramdisk (soflink init to busybox):
        # fatload mmc 0:1 0x80200000 zImage
        # fatload mmc 0:1 0x88000000 am335x-boneblack.dtb
        # setenv bootargs console=ttyO0,115200 rdinit=/bin/sh
        # bootz 0x80200000 - 0x88000000

While I have changed the load addresses, I have tried as well the previous ones and did not change a thing :)

For your convenience, I have attached the bash script I use to automate everything. This works fine and I have tested all the steps take place. I tried to make it as easy as possible and is a short one :)

#!/bin/bash
# required BUILD ORDER --> busybox, modules, rootfs, kernel


echo && echo "---> ENV: vars (choose arm-linux-gnueabihf- OR arm-cortex_a8-linux-gnueabihf-)"
	PATH=${HOME}/x-tools/arm-cortex_a8-linux-gnueabihf/bin:${PATH}
	MELP=${HOME}/MELP 
	RTFS=${MELP}/initramfs 
	BUSY=${MELP}/busybox 
	MYCC=arm-linux-gnueabihf-
	export HOWROOTFS="integrated"


echo && echo "---> ROOTFS: creating staging tree and building and installing BUSYBOX"
	echo "---> ROOTFS: remember to set BUSYBOX as STATIC binary" && read
	rm -rf ${RTFS} && mkdir ${RTFS} && mkdir -p ${RTFS}/{bin,sbin,etc,proc,sys} && cd ${BUSY} 
	make ARCH=arm CROSS_COMPILE=${MYCC} distclean defconfig menuconfig
	make ARCH=arm CROSS_COMPILE=${MYCC}
	make ARCH=arm CROSS_COMPILE=${MYCC} CONFIG_PREFIX=${RTFS} install
	ln -sf ${RTFS}/bin/sh ${RTFS}/init
	ln -sf ${RTFS}/bin/sh ${RTFS}/bin/init



echo && echo "---> KERNEL: build modules(first for ramdisk), zImage, and dtbs"
	echo "---> KERNEL: set PATH_TO_RAMDISK and SIZE" && read && cd ${MELP}/linux-stable
	# make ARCH=arm CROSS_COMPILE=${MYCC} mrproper bb.org_defconfig menuconfig modules -j6
	make ARCH=arm CROSS_COMPILE=${MYCC} mrproper multi_v7_defconfig menuconfig modules -j6
	make ARCH=arm CROSS_COMPILE=${MYCC} modules_install INSTALL_MOD_PATH=${RTFS}
	pushd . && cd ${RTFS} && find . | cpio -H newc -o > ../initramfs.cpio && popd
	make ARCH=arm CROSS_COMPILE=${MYCC} zImage dtbs -j6


echo && echo "---> done" && echo && cd ${MELP}

So, just being curious here, but let me know your suggestions and have a really nice day!

CC2642R: windows found oad_image_tool.exe as a virus.

How to drive proportional hydraulic solenoids with two separate controller 12 V output and 400 to 1500mA drive current

$
0
0

Hi,

I do not know how to start but I describe my problem:

I have PWM / milliamp control solenoids, which actuates proportional hydraulic system/movement. I have 4 solenoids total. Their drive voltage is 12 V battery and drive current is 0,5 to 1500 mA

They are connected to electronic controller which connects both of solenoids wires: solenoids one wire is not connected to ground and both wire. This system works OK.

Controller also monitors, that solenoids are connected and if there is open circuit, there is 3, 9 V voltage together with error code.

If everything is ok, then there 3.9 ma current through and no error code. :)

Now is my issue: 

I would like to use existing solenoids be driven by another controller. Use controller 1 OR controller 2 to drive solenoids.

Both controllers do it separately OK. My simple plan was to make Y cable with diodes in both supply wires and this way guarantee, that one controller output does not go to another controller input.

Return wires were simply connected together with Y, no diodes in them

I made bench test with 18V cordless drill battery and 10W light bulb. Everything worked OK, as I predicted.

When I put wiring to machine, then during either movement actuation hydraulic system jumped with full power, no proportional drive.

Measured with oscilloscope and amp clamp, that there was 12 v voltage and around 1 amp current flow through wire, which was not active controller.

Now I think, that there is possible to use  relays for switching or is there possible to use optocouplers or another type of isolators ?

I understand, that I need to make both circuits galvanically isolated.

Control logic is: controller 1 is primary, control 2 secondary. When control 2 is active, there is 12 V signal present. When control 1 became active, then it overrides control 2 output.

My initial idea is to use DPDT relays and probably transistor as switch to drive relay coil power.

Is there any better ideas?

Any comments / ideas, guidelines Thank You in advance!

Andrus

If in wrong thread, move to better suited one

Andrus

CCS/OMAP-L138: Disabling McASP interrupt

$
0
0

Part Number:OMAP-L138

Tool/software: Code Composer Studio

Hi,

Could anybody give some example code as to how we can disable the McASP interrupt on the OMAP-L138 LCDK. We are currently dealing with conflicts between the UART1 and McASP interrupts.

Thanks,

Hersh

CC2538: NV item cannot be restored after rebooting on Z-Stack 3.0.1

$
0
0

Part Number:CC2538

Hello,

Recently, we ported our application to 3.0.1 and found out that NV items cannot be restored correctly after rebooting which did work on old Z-Stack version. The restored values are always zero. We double checked the values stored in NVRAM before rebooting. After reboot, however, the values are all zero. In 3.0.1, is there anything new to NVRAM? What would be the root cause about the failure of restoring values from NVRAM?

Thanks,

Lei

CCS/TMS320C6748: A question about the compatibility between TMS320C6711 and TMS320C6748

$
0
0

Part Number:TMS320C6748

Tool/software: Code Composer Studio

Hello DSP experts. I am pretty new to DSP boards and I am currently trying to assist one of the PhD students in my department by implementing her algorithm on TMS320C6748.

During the last semester, I used OMAP-L138 for one of my classes but I did not learn the details such as its hardware spec and how to set the environment properly. I just used it to implement my assignment.

Anyway, the PhD student that I am helping gave me this paper about acoustic echo cancellation. And it used TMS320C6711 and a bunch of CCS support files to implement normalized least mean square algorithm.

The support files include c6xdskinit.c, c6x.h, c6xdsk.h, c6xdskinit.h, c6xinterrupts.h, vectors_11.asm, rts6701.lib and C6xdsk.cmd. According to the TI website, they do not provide TMS320C6711 and instead they

have TMS320C6713. I was trying to find the datasheet of TMS320C6713 but it is not easy. I just want to see if I can still use the CCS support files above on C6748. And I would be glad if anyone knows where I can get

those files. Thanks in advance.


RM46L852: gdbinit for debugging via gdb_agent_console

$
0
0

Part Number:RM46L852

I am trying to debug with gdb_agent_console. When i try to use my generic gdbinit i see message "command unsupported"

My gdbinit is 

target extended localhost:55000

monitor reset halt

load

monitor reset init

also i try set breakpoint via 

break
and also see "unsupported".
I use arm-none-eabi toochain. I have seen wiki page about gdb_agent_console , but it is not contain any usefull info. 

TPS54202: Check the Condition for Input 14V, Output 13V.

$
0
0

Part Number:TPS54202

Hellow

Can I use this device below the following conditions?

Input Voltage : 14V ~ 15V

Output Voltage : 13V

Output Current : 2A

if Possible, Can you recommend circuit?

Regards.

PMP11612: Transformer T048 - floating Wire on AUX winding

$
0
0

Part Number:PMP11612

is this floating wire just for better emi performance?

LM2575HV: Part Markings

$
0
0

Part Number:LM2575HV

I would like a guide to what the part marking on LM2575HV refer to. None of the TI or National Semiconductor guides I have seen match what is on these devices.

CCS/MSP-EXP432P401R: Bitset headers not resolving in CCS

$
0
0

Part Number:MSP-EXP432P401R

Tool/software: Code Composer Studio

Hi folks, I have been trying to load the BitSet header and related headers into CCS to no avail. I get a plethora of errors from all the headers/c files that BitSet calls. I have tried installing all the headers into the work space and via full paths using all the locations that BitSet is listed within the TI CCS space. I tried to find a sample program in the Resource Explorer to no avail.

Does anyone have experience in using Bitset and how CCS should be configured to acquire and resolve the headers.

Thanks,

Roger

Viewing all 262198 articles
Browse latest View live


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