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

CCS/MSP430F5438A: sinusoidal modulation PWM

$
0
0

Part Number:MSP430F5438A

Tool/software: Code Composer Studio

I have a task where I need to send sinusoidal PWM to LE diode. Frequency of such sine is changed via buttons and it goes from 1 Hz to 16 Hz.

MSP430 Timers are pretty sophisticated, and using appropriate output mode (reset/set = OUTMODE7) , they can easily generate PWM output, and send it to selected periphery, which is in my case Port4, pin 3, where is LE diode. Thus I am using compare register TB0CCR3, for resetting the impulse, and TB0CCR0 register for setting the impulse of PWM, all according to SLAU401E.

Problem is that sometimes when I change frequency to an even number(it is never an odd number), TB0CCR3 register seems to get stuck at value 0x0000, and won't change, thus making output to be zero, or in other words, LE diode does not emit light. Also, there is no regularity when this happens, only thing I can say, it does not happen with odd frequencies, just with even ones, and that happens sometimes with no regularity.

Interrupts were written in assembly, and main program was written in C.

Here are the codes:

(Please visit the site to view this file)(Please visit the site to view this file)


CC2541: CC2541 QDID RF-PHY Test

$
0
0

Part Number:CC2541

Hi,

In CC2541, in order to acquire the QDID,
Does the user need RF PHY Test?

Best Regards,

hamada

TINA/Spice/UCC28710: Flyback AC/DC simulation problem

$
0
0

Part Number:UCC28710

Tool/software:TINA-TI or Spice Models

Hi,

I built a AC/DC 5V/2A  flyback circuit with UCC28710 transient model, and its schematic is to duplicateevaluation board PMP9202 with simplified components in the input and output.

Some diodes and the primary side HV-MOS model was collected and put in the simulation.

But the simulation result shows the primary side HV-MOS could not be switched continuously that no output was found.

Attached are the result and TINA .TSC file, could anyone help take a look on this simulation ? I appreciate if there is any comment on this.

Thank you. 

(Please visit the site to view this file)

TXS0108E: Can I use this device for level translating active low RST#

$
0
0

Part Number:TXS0108E

1) In my design, in the initial condition, there should be a minimum delay of 300uS between VCC HIGH and rising edge of RST#.

Can I use TXS0108e for level shifting 1.8V RESET# to 3.3V by adding a 51k pull down resistor at the output side?

There are three devices(2xNOR flash and 1xoneNAND) to which RST# is given. Will this work as expected? Should I use TXB0108 instead of TXS01008?

2) Also, I am using TXB0108 for level shifting 1.8V ADDRESS and DATA to 3.3V level. Will this be able to drive all the three devices?

MSP430FR5992: MSP430 GCC memory model

$
0
0

Part Number:MSP430FR5992

Customer will stay with MSP430 GCC and wants to know:

 

  With the "large" memory model for data and code (option -mlarge) the code will be about 20% larger than the "small" memory model (option -msmall). This is unusable for us.

  With a "large" memory model only for code, and "small" model for data, the code would be about 5% larger. This is acceptable.

  Is there an option to have "large" model for code and "small" model for data ?

  If no, is it planned to have such possibility in the near future ?

 

Regards, Bernd

MSP430F6746: How to detect problems with AUXVCC3 of MSP430F6746

$
0
0

Part Number:MSP430F6746

Hi,

Since customers' questions are coming, I want advice.
The device is MSP430F6746.

Q1
Is there a way to know from the outside when there is a problem with AUXVCC3?

Q2
Is there a way to know by software when there is a problem with AUXVCC3?
(Is it possible to use AUX3RST of RTCTCCTL0?)

Regards, DA

CC2640: OAD question

$
0
0

Part Number:CC2640

Hello,

Customer is using CC2640F128RGZ and asked:

"Is there a way to prevent firmware copy but still allow over the air download / upgrade (OAD)? "

I am not sure if he mean Image A by "firmware copy". Does  Image A permanently reside on flash even after successful OAD?

Best Regards,

Mizanur

TUSB9261: TUSB9261 does not work with TUSB7340

$
0
0

Part Number:TUSB9261

We have TI evaluation boards for both the TUSB7340 and the TUSB9261. Using the linux flashburner code we are able to program the TUSB9261 off of the USB ports built into a PC and once done access SATA drives without issue, but once we try programming it through the TUSB7340 evaluation board the programming does not occur.

The PC is running linux (debian 8).

The kernel module and application software have not been recompiled between environments.

The flashburner software reports everything as having run successfully.

Using an oscilloscope activity can be seen on the USB bus at all relevant points in the programming procedure.

lsusb continues to show 0451:926b as the connected device, whereas when it successfully programs this updates to 0451:9261

The heartbeat LED does not start flashing.

This is also seen on a custom board of ours where these 2 devices are daisychained.

The flashburner software was provided through this forum within about 2 weeks ago, and is programming into RAM.

It makes no difference if we use a USB2 or USB3 cable, the symptoms remain the same

Other devices continue to work on TUSB7340 before, during, and after.

How can we get these 2 devices to work together?


[DM388] Power dashboard issue about DDR3.

EK-TM4C123GXL: [ERROR] CORTEX_M4_0: File Loader: Verification failed: Values at address 0x00008000 do not match Please verify target memory and memory map.

$
0
0

Part Number:EK-TM4C123GXL

Hello,

I'm compiling an application on Linux with a Makefile. The Compiler and Linker is from Imperas (OVP World). After compiling I get a *.elf file, that I want to flash on the Tiva C using Uniflash on Windows.

I always get this error when I press the buttom "Verify Image": [ERROR] CORTEX_M4_0: File Loader: Verification failed: Values at address 0x00008000 do not match Please verify target memory and memory map.

Is there a way that I can include the *.cmd file with the memory map to my Makefile?

My Makefile looks like this:

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

IMPERAS_HOME := $(shell getpath.exe "$(IMPERAS_HOME)")
include $(IMPERAS_HOME)/bin/Makefile.include

ifndef IMPERAS_HOME
  IMPERAS_ERROR := $(error "IMPERAS_HOME not defined")
endif

CROSS=ARM_CORTEX_M4F

-include $(IMPERAS_HOME)/lib/$(IMPERAS_ARCH)/CrossCompiler/$(CROSS).makefile.include
ifeq ($($(CROSS)_CXX),)
    IMPERAS_ERROR := $(error "Please install the toolchain to support $(CROSS) ")
endif


OPTIMIZATION=-Os


SRC = $(sort $(wildcard main.cpp))  $(sort $(wildcard Configuration/Configuration.cpp)) $(sort $(wildcard Segway/Simulation.cpp)) $(sort $(wildcard Segway/Segway.cpp)) $(sort $(wildcard Sensor/ADC.cpp)) $(sort $(wildcard Sensor/ADCSensor.cpp)) $(sort $(wildcard Antrieb/Motor.cpp)) $(sort $(wildcard Sensor/GPIOSensor.cpp)) $(sort $(wildcard Timer/Timer.cpp))  $(sort $(wildcard Antrieb/PWM.cpp))


EXE = application.ARM_CORTEX_M4F.elf


all: $(EXE)


%.elf: main.o Segway/Segway.o Timer/Timer.o Sensor/ADC.o Sensor/ADCSensor.o Sensor/GPIOSensor.o  Configuration/Configuration.o Antrieb/Motor.o Antrieb/PWM.o
    $(V)  echo "# Linking $@"
    $(V) $(IMPERAS_LINKXX)  -o $@ $^ $(IMPERAS_LDFLAGS)


# Compilation of standard benchmarch code
%.o: %.cpp
    $(V)  echo "# Compiling $<"
    $(V)  $(IMPERAS_CXX) -g -c -o $@ $< $(OPTIMIZATION) -lm

clean:
    -rm -f *.elf *.o

realclean: clean
    -rm -f *.log

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Does someone know a solution for my problem and can help me?

Please let me know if you need any further information.

Thank you!

Johannes

BQ51025: Vrect unstable

$
0
0

Part Number:BQ51025

Vrect reaches the correct voltage at power up and is stable under no load, however when I connect a load of approximately 200mA Vrect starts to oscillate, period is aprox 2seconds. I am using my own coils for transmitter and receiver based on the wurth 760308111 (transmitter) & wurth 760308103204 (receiver) both as used in the Texas EVM. However with the wurth coils the effect is much worse and the transmitter switches off aprox every 2 seconds and then back on again.

If I disable the CM_ILIM feature by pulling CM_ILIM high and power from an IDT evaluation kit transmitter, Vrect stays stable and the receiver works well. When powered from the Texas transmitter (bq500511& bq50002) my receiver switches off. It probably expects communications from the receiver; it doesn’t seem from the datasheet that this function can be switched off in the transmitter.

How can I make Vrect stable?

Compiler/TMS320F28069M: IQmath problem

$
0
0

Part Number:TMS320F28069M

Tool/software: TI C/C++ Compiler

Hi all!

I have a problem with the #include <IQmathLib.h> library. Currently I'm using a Launchpad F28069M, and the idea is that I need to calculate the sine and cosine for some variables in radians. But the IQmath lybrary is not that easy to understand.

My angles values are expressed as a 2*pi*w, and i have to update w several times during  a period of time (w will be between 10 and 10000). (This is in order to apply a FFT in my code)

I hope someone has an example of how  to apply the sine and cosine applying the IQmath lib so I can adapt it to my code.

Thanks in advance for the help!

Maria 

WEBENCH® Tools/TPS54335A: Failure for 90% duty simulation

$
0
0

Part Number:TPS54335A

Tool/software: WEBENCH® Design Tools

I simulated TPS54335A's Webench on below condition, but  failure and indicate "Calculated duty cycle exceeds limit" .

I think that TPS54335A Webench data have a bug because I tried Low fsw condition but same results, please confirm it.

If it was bug, please let me know about revision schedule.

・Vin: 13.2V~21V

・Vout: 12V

・Iout: 1.1A

【Additional information】

・When fsw is changed low value (100kHz, 500kHz, etc), results was the same (duty cycle exceeds limit).

TPS54335A datasheet is described "Min off time: 0%"

TPS54334 was simulate normally, I feel that TPS54334 and TPS54335A are near specification.

Best regards,

Satoshi

TPS54561-Q1: About SW node voltage

$
0
0

Part Number:TPS54561-Q1

Dear Sir/Madam:

I need some clarification on TPS54561-Q1. I am using it for converting 50V to 5V. As specified in the datasheet, the Sw node voltage should not exceed -0.6V.

Since my catch diode forward voltage is 0.582V@8A, and I am getting -0.9V steadily @ 1A load current during OFF time.What I can do to bring the negative voltage less than -0.6V.

My design gets almost over.I don not want to change IC.

 

Best Regards,

Jenny

TLV320AIC3104: Noise coming from the DAC

$
0
0

Part Number:TLV320AIC3104

Hi, we observe noise coming from the DAC, Can someone check if my schematic is correct ? 


CCS/TMS320F280049M: C28xx_CPU1: Trouble Removing Breakpoint with the Action "Finish Auto Run" at 0x82a7: (Error -1066 @ 0x82A7) Unable to set/clear requested breakpoint.

$
0
0

Part Number:TMS320F280049M

Tool/software: Code Composer Studio

Hi Champs,

I use F280049M EVM and load code. I got this error and code start to run automatically. i didn't set any break point in this project. I use CCSv7,1. I check e2e post and i didn't see any solution in post... Could you please tell me how to fix this ? thank you.

 

CCS/CC3200_NFC_CARD_READER: NFC Demo not detecting NFC Cards

$
0
0

Part Number:CC3200_NFC_CARD_READER

Tool/software: Code Composer Studio

Hi All, I have a CC3200 Launchpad (Rev 4.1) and a TRF-7970ABP NFC Booster Pack (v4.7) I’m trying to follow www.ti.com/.../tidua70.pdf It all works until I try to scan any NFC card. Nothing detects unfortunately as per this thread: e2e.ti.com/.../518595 Out of interest, I tried running the demo without the TRF7970A Booster pack connected and the result is the same! Any ideas on how I can start detecting NFC cards? Thanks in advance! Cheers, Tim

Compiler: Knowing in runtime our own flash code size?

$
0
0

Tool/software: TI C/C++ Compiler

Hello,

I'm working on the controlcard F2837xD.

TO prepare a future Bootlader, I need to have in my code a constante which contains the total size taken by itself in the FLASH

In my case, the flash contains many section:

codestart : > BEGIN, PAGE = 0
.text : > FLASH, PAGE = 0, ALIGN(4)
.cinit : > FLASH, PAGE = 0, ALIGN(4)
.binit : > FLASH, PAGE = 0, ALIGN(4)
.pinit : > FLASH, PAGE = 0, ALIGN(4)
 
 ...
 
/* Initalized sections go in Flash */
.econst : > FLASH, PAGE = 0, ALIGN(4)
.switch : > FLASH, PAGE = 0, ALIGN(4)

.reset : > RESET, PAGE = 0, TYPE = DSECT /* not used, */

So the code should be able to copy itself in an external SPI NOR flash. Then I need to know the size of data to copy from begin of FLASH Section.

First solution will be to copy all FLASH but this is not optimal. I'm really interested by copy only the number of data really present in the µC Flash..

How know this size?

Thank

TM4C123GH6PM: My laptop can not recognize the Tivac

$
0
0

Part Number:TM4C123GH6PM

Hello ,

I have a problem that the tm4c123gh6pm is not recognized on my laptop , I tried another laptop but the same problem

any suggestion

regards ,

AM3352: Series resistor on I2C clock

$
0
0

Part Number:AM3352

Hi,

Is it necessary to add series resistor on I2C_CLK signal?

The schematics checklist recommends a series resistor the peripheral clocks including I2C.
processors.wiki.ti.com/.../AM335x_Schematic_Checklist

But it seems the TI's EVMs or AM335x reference designs has no such series resistors on I2C clock.
We were told the same after schematic review.

Please let us know if it is necessary.

Best Regards
Kummi

Viewing all 262198 articles
Browse latest View live


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