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

UC3842: how to calculate the number of turns for the pdf example

$
0
0

Part Number:UC3842

 For the example in pdf I have not found a formula for finding the number of turns  in the primary and secondary winding starting from the primary and secondary inductor of 1.5mH and 15uH respectively.

As a transformer I would like to use EE30. Please show me what formula to use to determine the number of turns.


Linux/CC2650STK: Problem configuring BeagleBoneBlack + 6lbr + CC2650STK

$
0
0

Part Number:CC2650STK

Tool/software: Linux

Hi,

I am sorry if this is a duplicated topic, but i could not find a solution.

In my current setup i have a Beagle Bone Black running 6lbr in router mode and every thing is working. I can ping nodes, nodes can connect in my local mosquitto server (running in my pc) and apparently everything is ok.

But, i must be able to run my mosquitto server inside BeagleBoneBlack but in the router mode the nodes cannot connect on it.

I would like to know if there is a updated documentation about how to setup 6lbr inside BBB in a way i can run my server and application inside BBB.

Best Regards

TM4C123GH6PM: Power supply architecture design for circuit with TM4C123GH6PM and DRV8801's

$
0
0

Part Number:TM4C123GH6PM

Hello,

I designed a custom board with TM4C123GH6PM and 2 DRV8801's. I previously posted my design at at https://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/p/633837/2343957

Basically I am powering my circuit from a 2S battery pack, 7.5 to 8.4 volts. I have to distribute the power, so I can feed both the DRV8801's and the mcu tru a switching power supply. I have to make sure no reverse voltage comes to the mcu power supply, AND if the motors drive too much momentarily, the surge will not cause a drop in the mcu's power supply.

So I designed the following circuit:

With this setup neither the motor drivers can cause backvoltage, nor it can cause a drop because of D2. Am I missing something? What kind of diodes should I be using. D1 probably needs to be able to withstand couple of amps, D2 much less, and they both need to have a low drop out voltage. The schematics marks them as 1N4004, but that is probably not the correct one.

I also wonder if I can use a 0V dropout ideal diode circuit in this scheme. The nice thing about this circuit is it has 0V drop. It is used in raspberry pi, and I got them from their github, referenced below,.

However I dont know if it can be used for this purpose, where the current and back-noise is high.

There is the diode circuit:

(reference: https://github.com/raspberrypi/hats/blob/master/zvd-circuit.png 

Best regards,

C.

TMS320F28377D: ADC protection

$
0
0

Part Number:TMS320F28377D

Hello everyone,

I'm using the TMS320F28377D microcontroller, and in my project I have current sensors and voltage sensors. Each sensor can output a voltage from 0 to 5V (depending on the measured parameter), however, I designed my project such that the maximum measured currents or voltages are associated with sensor output voltage less than 3.3V.

The problem is that I get transient overshoots (up to 4.5V) in the sensor output voltage ... I haven't interfaced the sensors to the microcontroller yet. Do I need to add a protection circuit to clamp these transient overshoots or the microcontroller has a built-in protection and won't be harmed by these overshoots?

Thanks,

Nour

AWR1642: Question about clutter removing

$
0
0

Part Number:AWR1642

Hello

The codes shown below is for the clutter removing from mmWave SDK. Is the "1<<(obj->log2NumDopplerBins-1)" for the rounding of the value pMeanVal?

If the answer is Yes, I think a correct way to do the ROUNDING for the signed number should be "(int)(num < 0 ? (num - 0.5) : (num + 0.5))". So, how does the following codes ROUND the negative number?

if (obj->cliCfg->clutterRemovalCfg.enabled)
{
    uint32_t sumVal[2];
    cmplx32ReIm_t *pSumVal = (cmplx32ReIm_t *) sumVal;
    uint32_t meanVal;
    cmplx16ReIm_t *pMeanVal = (cmplx16ReIm_t *) &meanVal;

    mmwavelib_vecsum((int16_t *) inpDoppFftBuf,
     (int32_t *) sumVal,
     (int32_t) obj->numDopplerBins);

    pMeanVal->real = (pSumVal->real + (1<<(obj->log2NumDopplerBins-1))) >> obj->log2NumDopplerBins;
    pMeanVal->imag = (pSumVal->imag + (1<<(obj->log2NumDopplerBins-1))) >> obj->log2NumDopplerBins;

    mmwavelib_vecsubc((int16_t *) inpDoppFftBuf,
      (int16_t *) inpDoppFftBuf,
      (uint32_t) meanVal,
      (int32_t) obj->numDopplerBins);
}

Regards

Peter

CCS/TMS320VC5509A: MCBSP Chip Bug on SPI mode

$
0
0

Part Number:TMS320VC5509A

Tool/software: Code Composer Studio

This is just one of the meanwhile well-known libraries and siliconbugs of TI5509/ 55xx/5509A chips, which should have been familiar for a long

time by now to the development department of TI , but in forums are only seldom or never treated. (TI  is only letting us down!)

I will describe an error that I have been searching for for five years and that always causes problems for my clients and my products every day. 

The damage is enormous! I would never have found it on any of the documentation or forums of TI.

 

TI has never ever dealt with any of my questions, not to speak of qualified answers or treatment of my reports in their libraries or chip_bugs

Even worse, in their current development area CCS3.3 - chips, which they keep on selling today, are not supported. Essential debug-processes

are not possible here anymore, (on 5509a..) because it would cost some time.. to secure the downward compatibility. It is important to say this here!

Us developers are always yet again left alone. Nobody has ever closely examined my precise descriptions of these bugs: "I will forward this...",

but never another reaction after that and never was a problem solved -- for more than 20 years that I have worked with this chips!

This additional (one mor unsolved..) error describes the SPI mode of MCBSP - I guess for all chips, also 66xx and 55xx, but  I have only tested on

5509A.

I also described a mistake in the transmission of linked lists in the USB_Controller of the same chip.  I know that this is a library mistake -

"probably not reentrante Interrupt Functions" in the "TI" USB_LIB. It remained without reaction or treatment by the producer for many years.

And it is still erroneous today! following error: 

 

In case you sometimes suspect a reading or writing error with the mode CLKSTP=03 configurated SPI master of a 5509A or of all other MCBSP

of this brand, you are probably mostly right! At least when the chip 5509A runs near its limit frequecy of 200Mhz (for me 192 Mhz), you should never!!

trust a single flag of the McBsp of the chip, if you really have to know the status! (especially with #inline) 

 

This bug then leads to displaced data in the receiver array or unwritten "last cells" when writing with the usual drivers, especially in combination with

using a DMA. In case you know this rare error of maybe all >1000 times, then you are correct here! My tag is accordingly as follows: "saving error on

MCBSP SPI of TI, bug: MCBSP_xrdy MCBSP_xempty MCBSP_rrdy" It may happen that the flag "xempty" is true, even though I just sent data in the

transceiver. Only very shortly, but yes, it may happen! Therefore the only possible sequency to secure that the value is really transmitted even under

the highest speedrate:

  1. while (!MCBSP_xrdy(spi_Mcbsp));        // sequence secure send 1.part
  2. while (!MCBSP_xempty(spi_Mcbsp));   // sequence secure the send 2nd part

only one question 2 “xempty“ without prior xrdy leads immediately after   MCBSP_write16..

sometimes to  true!!, even if these data have not been "discovered" - and thus to one value "more" for example in the later receiver, than what

we have thought. Same with the bug in the mcbsp_spi receiver: again my search and some errors without any help from TI - even when

asking them for help! Only, „such sales and forget it”…

This error happens a lot, when a DMA sends the data of a transmission, while as common earlier the command (command + e.g. flash "dummy"_Writes)

was sent before only from DSP_Core (native Code). In order to make sure in any case that the MCBSP_SPI has really transmitted the command and

the DMA can now be started for the data, the following sequence is absolutely necessary  to make sure that for example receiver data is not displaced

by one address like every >1000 writes / reads  with a full speedrate.  After the last Tranceiver_Byte ( here a Dummy_byte ) for the command sequence

following demands are absolutely necessary in this order, before starting the DMA:

 

…      last part of the (CPU) command sequence…

 MCBSP_write16 (spi_Mcbsp,(  ((command<<8)&0xFF00) | (ushort)((dest_adr>>16)) ));

while(!MCBSP_xrdy(spi_Mcbsp));

MCBSP_write16 (spi_Mcbsp,((ushort)dest_adr & 0xFFFF) ); /* Prime MCBSP DXR */

while (!MCBSP_xrdy(spi_Mcbsp));        // Sequenz„only for shure“Data out 1.Part

while (!MCBSP_xempty(spi_Mcbsp));   // Sequenz„only for shure”Data out 2.Part

(please see comments, why both alone are error_ready also someone after are realy trasnsfer…)

 DMA_start(Spi_Storage_xmt_Dma); // Now: Enable DMA channel for to begin transfer

 

The same problem occurs for the receiver! If I want to be sure that it is really empty, I ask before starting the DMA:

 

MCBSP_write16 (spi_Mcbsp,(  ((command<<8)&0xFF00) | (ushort)((dest_adr>>16)) ));

while (!MCBSP_rrdy (spi_Mcbsp));        // Sequence „only for shure“Data realy out 1.Part

while (MCBSP_rrdy (spi_Mcbsp))          // Sequence „only for shure”Data realy out 2.Part

MCBSP_read16(spi_Mcbsp);        // dummy read

 

Otherwise I have to live with the mistakes that TI has built in and that no-one there! will ever take care of!! 

Sales and forget it…  I haven't found a single source or documentation that describes this error. 

Attention: reading/writing errors McBsp SPI.

 

Why did I 20 years ago choose AMD_DSP - was it the same mistake as Microsoft and X86_Intel instead of Motorola 68xx???

Never, never! trust this brand! Take a different signal processor, I have many years of experience, no-one here  has ever helped

me. This should be a warning!

 

 

 

especially with inline

TDC1000-TDC7200EVM: Does TDC1000-7200 work with battery

$
0
0

Part Number:TDC1000-TDC7200EVM

hello,

can someone help me please,

Can  TDC1000-7200EVM work without USB, by using battery 2AA or 2AAA?

Powering a custom linear induction motor using the c2000 28027f launch pad with Boostxl drv8301 revb

$
0
0

I am trying to power custom linear induction motor by 3 phase using the  c2000 28027f launch pad with Boostxl drv8301 revb. I am looking at the tutorials but I dont completely understand them. I wanted to know if there was a way to do this.


RTOS/CC1350STK: CC1350 Sensortag motion data to excel sheet

$
0
0

Part Number:CC1350STK

Tool/software:TI-RTOS

Hello

I am using CC1350 Sensortag with Debugger DevPack and my requirement is that i have to save motion data from sensortag to an excel sheet.I could visualise sensor data's in ibm watson iot platform and Sensortag application but i cannot save these data's anywhere.How to proceed?

Thanks in advance

regards

Shyam   

CC3100: cc3100

$
0
0

Part Number:CC3100

I'm using the http client example to connect to the server and post data so far I have the code running with out error but when I check the terminal it dosent show me that I'm connecting to the server only with my mac computer if I used my code in any pc it works perfectly Please any suggection

RTOS/CC2640: I'm looking for a simple and easy method for GPIO direction switching.

$
0
0

Part Number:CC2640

Tool/software:TI-RTOS

Hi all,

I'm trying to implement the one-wired communication.

So it is necessary to change the GPIO direction alternatively.

My problem is I don't know exactly how to change the GPIO direction while CC2640 is working.

TI-RTOS examples show me only the fixed settings, Input or Output.

So I tried to create two settings for the input and output.

const PIN_Config BoardGpioInitTable[] = {
     Board_SCIO       | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW  | PIN_PUSHPULL,
  PIN_TERMINATE
};

const PIN_Config BoardGpioInitTable_SCIO[] = {
  Board_SCIO       | PIN_INPUT_EN       | PIN_NOPULL     | PIN_BM_HYSTERESIS,
  PIN_TERMINATE
};

And also I used those as below:

PIN_init(BoardGpioInitTable); //Set output when write data

PIN_init(BoardGpioInitTable_SCIO); //Set input when read data

Would this be the proper method for change the GPIO direction?

Below are my environment info.

Target: CC2640F128

IAR EWARM 7.80.1

Simplelink 2.02.01.18

TI RTOS 2.20.01.08

XCDtools 3.32.00.06

If you have any easy and simple examples for this, please help me!!!

Best regards,

James

TUSB544: AC-coupling capacitors at DRX2P/DRX2N/DRX1P/DRX1N

$
0
0

Part Number:TUSB544

Hi Team,

The datasheet shows the following and there are no AC-coupling capacitors at DRX2P/DRX2N/DRX1P/DRX1N (red part).



On the other hand, EVM has these capacitors.
(page 6)
http://www.ti.com/lit/ug/sllu260/sllu260.pdf

Could you tell me why there are AC-coupling capacitors in EVM?
Are  thes AC-coupling capacitors required?

Best Regards,
Yaita / Japan disty

CC2530: Which variable tells the voltage value?

$
0
0

Part Number:CC2530

Hi. Which variable out of the two images below (1st is in hal_adc.c & 2nd is in ZMain.c) will tell me the voltage that the CC2530 is reading? I've put each one of them in the watch 1 view, but I don't get any results. I would really appreciate any help.

CCS/MSP430F5528: baudrate of SPI example.

$
0
0

Part Number:MSP430F5528

Tool/software: Code Composer Studio

UCA0CTL1 |= UCSWRST; // **Put state machine in reset**
UCA0CTL0 |= UCMST+UCSYNC+UCCKPL+UCMSB; // 3-pin, 8-bit SPI master
// Clock polarity high, MSB
UCA0CTL1 |= 0x40; // SMCLK
UCA0BR0 = 0x02; // /2
UCA0BR1 = 0; //
UCA0MCTL = 0; // No modulation
UCA0CTL1 &= ~UCSWRST; // **Initialize USCI state machine**
UCA0IE |= UCRXIE; // Enable USCI_A0 RX interrupt

How can I find out baudrate of SPI example?

I like to connect bluetoothmodule (SPTBLE-1S) with 1000000.

Will it work with this configuration???

OMAP-L138: OMAP-L138

$
0
0

Part Number:OMAP-L138

hi yordan

OMAP-L138 EVM KIT is under review and testing

I will review the OMAP-L138 Technical Reference Manual and ask a question

I want to use ITU-BT.1120 and SMTPE 296 formats.

ITU-BT.1120 16-bit circuit is not configured in EVM KIT

So I am using ITU-BT.656 circuit configuration in EVM KIT.

However, the L-138 Technical Reference Manual ITU-BT.656 format is SD Video with embedded timing codes

My camera output is HDTV with embedded timing codes in ITU-BT.656 format and the clock is 148.5Mhz.

I would like to know if the ITU-BT.656 format can use HDTV Video with embedded timing codes.

If there is a way, please reply.

and OMAP-L138 Manual TV System Format TABLE describes that Square pixel common image format supports 1080-30p

I want to know if it supports FULL HD[1920X1080P]

Thank you


BQ76PL455A: Question about Certification

$
0
0

Part Number:BQ76PL455A

Hi Ti.

I has some questions.

I need 28S Battery AFE and I found BQ76PL455A and BQ76PL455A-Q1.

Is these parts have below certifications?

UL1973(Battery Pack Certi)

UL991(H/W Ceriti)

UL1998(S/W Certi)

IEC60730-1

Thanks.

CCS: Installation hangs on Linux at stage "Installing com.ti.ccstudio.debugserver.linux..."

$
0
0

Tool/software: Code Composer Studio

Installation media: CCS7.3.0.00019_linux-x64.tar.gz

OS: Linux ansible 4.13.9-1-ARCH #1 SMP PREEMPT Sun Oct 22 09:07:32 CEST 2017 x86_64 GNU/Linux

Tried Clearing out an existing installation, but same results.

Logs attached.

(Please visit the site to view this file)

CC2530: SimpliciTI NVOBJ Restore connection after power cycle problem

TMS320F28027F: Question about MISRA C:2004

$
0
0

Part Number:TMS320F28027F

Hi,

IEC60730 Class-B is required for customer product. When compiling with MISRA C:2004, there are a lot of warnings.

Is there any way to clear all of these warning?

There's a post in compiler team. They suggest to ask here.

e2e.ti.com/.../2356421

Br, Jordan

MSP430F6736A: ESD ratings

$
0
0

Part Number:MSP430F6736A

For MSP430F6736A& MSP430F6779A, there is no "ESD ratings" section in the datasheet.

What is the ESD ratings for these 2 devices? Are the ratings on SD24 pins same/different from other GPIO pins?

Why is ESD ratings not listed in datasheet?

There are many application notes/reference designs that addresses ESD at system/EVM level (especially SLAA666). Customer wants to know the exact ESD ratings for the device level. 

Viewing all 262198 articles
Browse latest View live


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