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

TPS57060-Q1: Switching frequency tolerance

$
0
0

Part Number:TPS57060-Q1

Hello Team,

we need more detailed description about the internal switching frequency tolerance of our part:

In our datasheet there is a range of 450 to 720kHz for Vin=12V and RT=200kOhm.
Is this including a resistor tolerance? and which value?
What about the complete Vin range of the device? Is there also a change?

There is also a chart available about junction temperature but only for Vi=12V and RT=200k. What about deviation across Vin and RT?

Many Thanks

Josef


CCS/CC2640: ccsv9 Project Copy/Paste leaves something behind

$
0
0

Part Number:CC2640

Tool/software: Code Composer Studio

I imported spp_BLE_server_cc2650lp_app from GitHub Example 2.2 into ccsv9 with both boxes checked for "Automatically import referenced projects found in the same directory" and "Copy projects into workspace". There are no issues building spp_BLE_server_cc2650lp_app.

I used copy/paste on project spp_BLE_server_cc2650lp_app and renamed the project GENII_spp_ble_server_cc2640genII_app. I used copy/paste on the CC2650_LAUNCHPADXL folder to create a new CC2640_GENII folder so that I could modify the board files. I changed a Predefined Symbol from CC2650_LAUNCHXL to xCC2650_LAUNCHXL and added CC2640_GENII. The only other changes I made are to pin assignments in the board files.

When I build GENII_spp_ble_server_cc2640genII_app, I get one error "#20 identifier UARTCC26XX_HWAttrsV2 is undefined." I have verified that my CC2640_GENII.c file is identical to the CC2650_LAUNCHXL.c except for the filename.

I put my modified board files into the CC2650_LAUNCHPADXL folder and I get the same error.

I'll be darned if I can't figure out why this one constant is undefined in my copied project but not the original. Maybe there's a path somewhere that I need to update, but where?

CCS/TMS320F28335: tms320f28335

$
0
0

Part Number:TMS320F28335

Tool/software: Code Composer Studio

Hi,

I tried to debug my code using "xds 200 usb debugger"  in the target board while i started to debug there was no error, while i tried for the second time i got "target device in low power mode"  and then cannot debug,

this thing continues for so many iterations initially board gets detected after a 5 to 10 seconds delay board gets into target power loss mode. Kindly help me to resolve this

Thanks

Sasi 

Linux/AM3358: Can't read DM Timer control register

$
0
0

Part Number:AM3358

Tool/software: Linux

I'm using AM3358 SoC on Beagle Bone Black compatible board. I want to use DM timers (timer 6 and 7). But I can't read from timer 6's control register. I do it the following way:

.....

#define TIMER6_BASE_REG 0x48048000

.....

....

    printk(KERN_INFO"!!!Trying to read Timer6 register manualy with readl...\n");
    printk(KERN_INFO"!!!Timer6 control register address:%x...\n",TIMER6_BASE_REG + (OMAP_TIMER_CTRL_REG & 0xff));
    
    void __iomem *io = ioremap(TIMER6_BASE_REG + (OMAP_TIMER_CTRL_REG & 0xff), SZ_4K);
    printk(KERN_INFO"!!!Remapped address:%x...\n",(unsigned long*) io);
    printk(KERN_INFO"!!!Trying to read...\n");

....

    //omap_dm_timer_enable(cpts->odt);
    //omap_dm_timer_enable(cpts->odt2);

    unsigned int address = 0;
    address = readl(io);
    printk(KERN_INFO"!!!Value:%x...\n",address);
    printk(KERN_INFO"!!!Reading done succesfully...\n");


This causes page fault as far as I understood. Here is dmesg output:
....
[  116.075307] !!!Trying to read Timer6 register manualy with readl...
[  116.081849] !!!Timer6 control register address:48048024...
[  116.087630] !!!Remapped address:fa048024...
[  116.091998] !!!Trying to read...
[  116.095419] Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa048024
[  116.103413] pgd = db0b8000
[  116.106244] [fa048024] *pgd=48011452(bad)
[  116.110450] Internal error: : 1028 [#1] SMP ARM
[  116.115181] Modules linked in: rpmsg_rpc rpmsg_char virtio_rpmsg_bus pruss_soc_bus pru_rproc pruss_intc rpmsg_pru rpmsg_core pruss omap_mailbox
[  116.128689] CPU: 0 PID: 141 Comm: sh Not tainted 4.14.40 #126
[  116.134687] Hardware name: Generic AM33XX (Flattened Device Tree)
[  116.141050] task: dbc48380 task.stack: dbf5e000
[  116.145797] PC is at cpts_ptp_enable+0x290/0x4c4
[  116.150613] LR is at cpts_ptp_enable+0x290/0x4c4
[  116.155432] pc : [<c065c00c>]    lr : [<c065c00c>]    psr: 60000013
[  116.161982] sp : dbf5fe50  ip : 00000003  fp : 00000000
[  116.167427] r10: 00000000  r9 : dbf5ff80  r8 : c1ef9350
[  116.172882] r7 : dbf42810  r6 : c170aa44  r5 : fa048024  r4 : dbf42820
[  116.179696] r3 : c1748028  r2 : c1748028  r1 : ffffff30  r0 : 00000014
[  116.186508] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[  116.193954] Control: 10c5387d  Table: 9b0b8019  DAC: 00000051
[  116.199946] Process sh (pid: 141, stack limit = 0xdbf5e218)
[  116.205764] Stack: (0xdbf5fe50 to 0xdbf60000)
[  116.210317] fe40:                                     00000002 dbf42820 db09c040 db09c040
[  116.218860] fe60: 000cd2f0 dbf5ff80 00000000 c0674258 00000000 00000001 00000002 00000000
[  116.227399] fe80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  116.235949] fea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000002 db006e50
[  116.244484] fec0: db006e40 c034603c 00000000 00000000 00000000 c0345f40 00000002 000cd2f0
[  116.253020] fee0: dbf5ff80 00000000 00000002 00000000 000cb2e0 c02c1708 c02c1a2c c0194c78
[  116.261565] ff00: c1789e54 c17c8b0b 00000000 c01b2f60 dbf731fc c01b34bc 00000000 dbf731fc
[  116.270102] ff20: 00000000 c02c35a8 00000001 00000000 c02c1a2c 000cb008 dbf86c80 00000002
[  116.278638] ff40: 000cd2f0 dbf86c80 00000002 000cd2f0 dbf5ff80 c02c197c dbf86c80 de03b200
[  116.287170] ff60: de03b180 dbf86c80 dbf86c80 00000000 00000000 000cd2f0 00000002 c02c1b44
[  116.295708] ff80: 00000000 00000000 00000000 00000000 00000001 000cd2f0 00000004 c0108064
[  116.304255] ffa0: dbf5e000 c0107ea0 00000000 00000001 00000001 000cd2f0 00000002 00000000
[  116.312788] ffc0: 00000000 00000001 000cd2f0 00000004 000cab64 00000020 00096bc4 000cb2e0
[  116.321323] ffe0: 000ca244 bef9c910 0001a358 b6ebaab8 60000010 00000001 9fdf6861 9fdf6c61
[  116.329888] [<c065c00c>] (cpts_ptp_enable) from [<c0674258>] (pps_enable_store+0x74/0x98)
[  116.338430] [<c0674258>] (pps_enable_store) from [<c034603c>] (kernfs_fop_write+0xfc/0x1dc)
[  116.347162] [<c034603c>] (kernfs_fop_write) from [<c02c1708>] (__vfs_write+0x1c/0x120)
[  116.355428] [<c02c1708>] (__vfs_write) from [<c02c197c>] (vfs_write+0xa0/0x168)
[  116.363067] [<c02c197c>] (vfs_write) from [<c02c1b44>] (SyS_write+0x3c/0x90)
[  116.370438] [<c02c1b44>] (SyS_write) from [<c0107ea0>] (ret_fast_syscall+0x0/0x28)
[  116.378344] Code: e59f0214 ebed2656 e59f0210 ebed2654 (e5951000) 
[  116.384714] ---[ end trace 2960ceeb42aafca8 ]---
....

I tried to read from ethernet registers the same way (from 4a100000 physical address) and it's working fine... My guess was that I couldn't access the DM Timer control register because the timer itself (or the clock of the timer) were not enabled and I tried the following before accessing register:

omap_dm_timer_enable(cpts->odt);
omap_dm_timer_enable(cpts->odt2);

Also I tried to comment the following string in /drivers/clocksource/time-ti-dm.c in omap_dm_timer_prepare function:
//omap_dm_timer_disable(timer);

Nothing seemed to help...

I am using buildroot to build zImage. The kernel is 4.14.40 linux kernel from git://git.ti.com/processor-sdk/processor-sdk-linux.git (SDK 5.0, commit 47961). My device tree andre attached to the post. What can be the problem, why I can't access DM Timer control register?

(Please visit the site to view this file)

CC1352R: DMM Integration Issue

$
0
0

Part Number:CC1352R

Hello,

I am using CC1352R REV E boards with SDK3.0.1.

I followed these guide dev.ti.com/.../dmm_integration.html.

I followed complete steps successfully and ran both example i.e. rfSensor and ble5_simple_peripheral_cc13x2r1lp_app.

As mentioned in these guide i opened two UART ports one is for "BLE" and one data port is for "Collector".

The output on BLE port is fine but i am not able to see anything on "Collector" data port and

also when i am trying to connect through "Light Blue" mobile app i am not able to connect it and showed these message "No Data available" on mobile app.

So,Can you help me in knowing how to resolve this issue?

Thank you,

Kartik.

[FAQ] What method is best used for estimating specification values between those given in the datasheet?

$
0
0

The most common example of this question comes from the fact that Standard Logic devices are specified at 1.65V, 3V, and 4.5V, however most engineers use our devices at 1.8V, 3.3V, and 5V.

Supplies are not perfect in any system -- they can fluctuate up or down significantly. MOSFET resistances increase at lower voltages, so the datasheet specifications are not tested at the nominal supply values , but at approximately 10% below nominal.  I can't tell you why it's not exactly 10% -- these values have been used for decades and have become standardized throughout the industry.  At 5V, it's exactly 10% (0.5V), but at 3.3V it's rounded to ~9%.  At 1.8V it's ~8%. My assumption is that these values were rounded a bit to give easier values to work with -- 1.62V isn't as "nice" of a number as 1.65V, and in the end, they both achieve the same goal, which is to provide a 1.8-V supply lower limit for testing.

In many cases, the best option is to use the datasheet values for your design -- even if you know your supply is exactly 3.302V and will never change.  They provide a 'worst case' value that will prevent errors in the design.

If, for some reason, you really need a value between those given in the datasheet, linear interpolation is the TI approved method for getting intermediate points. You might be saying "but not all those specs are linear" -- and you'd be right.  The fact is though, that across a small range (for example, between 1.65V and 3V), the variation from linear will be minor, and the datasheet values provide some headroom to the specifications. This method gives a safe approximation that is backed by TI and our characterization process.

The equation for linear interpolation is:

Most typically, the "x" values will be the supply, and the "y" values will be the spec, with "y" being the value you are trying to get, and "x" being the specific supply value at which you are trying to get it.

I have already implemented this into an example Excel file if you would like to use that:

(Please visit the site to view this file)

If you need values beyond the datasheet specs, for example, if you need a 5.1V value and the datasheet only gives 3V and 4.5V values, then linear extrapolation is used. The equation and method are the same as above, except your data point will be outside the range of the given supplies. I would recommend only doing this for values very close to the given datasheet specs, since this method becomes more inaccurate the farther the supply is from the given values.

Compiler/TMS320F28377S: Issue using ram above 64k

$
0
0

Part Number:TMS320F28377S

Tool/software: TI C/C++ Compiler

Hi,

When  I use my code inside the first 64k everything works fine. But If I start moving data above it, I got strange behavior. 

The default memory model is large so that is not the problem.

Any suggestion what can cause this?

I use compiler: c2000_18.1.5.LTS

Thanks!

MSP430FR5969: FRAM Is corrupting after some time

$
0
0

Part Number:MSP430FR5969

Hi

I am using MSP430FR5969 with Dual Image, One image for Application code and second for extra image.

At startup bootloader checks image CRC and starts application.

But I received some devices from field Dead and when i read code from Dead device using FET pro.

Then i compared with memory of healthy device and i saw some bytes changes in FRAM section where code is saved.

So under what conditions this can happen, because this is memory where actual code is saved.

Please help.

Thanks in advance

Vivek Pathak


Linux/WL1801MOD: hostapd/wpa_supplicant compatibility issue with openssl 1.1.x

$
0
0

Part Number:WL1801MOD

Tool/software: Linux

Hi everybody , 

I must use openssl1.1.x   for company request .

now  hostapd/wpa_supplicant  ( needed to use service like acs )  in latest driver  vR8.7SP3  is compatible with openssl 1.0.x  but not with 1.1.x .

how can I proceed ?    is there any patch to apply  ? any workaround ? 

as main processor I m using   AM3352 , latest SDK .

best regards

Carlo

Compiler/TMS320F28377S: TSET instruction does not seem to work.

$
0
0

Part Number:TMS320F28377S

Tool/software: TI C/C++ Compiler

I tried to test the TSET instruction using the following code. I do not see VarA being changed at all. Can someone please help?

Thanks,

Dhammika

-----------------

Uint16 VarA, VarB;

int main(void)
{
    asm("    NOP               ");
    asm("    TSET   @_VarA,#4  ");
    asm("    SB     $10,NTC    ");
    asm("    TSET   @_VarB,#6  ");
    asm("    SB     $20,UNC    ");
    asm("$10:                  ");
    asm("    TCLR   @_VarB,#6  ");
    asm("    NOP               ");
    asm("$20:                  ");

    return 0;
}

MSP430F6736A: calibration of energy consumption by load in EVM430F6736 development board.

$
0
0

Part Number:MSP430F6736A

Hi All,

I'm working with EVM430F6736 energy meter. Software part: For calibration of energy, to set  the energy threshold like (#define ENERGY_100MWATT_HOUR_THRESHOLD              (SAMPLES_PER_10_SECONDS*3600L*10L)). If the accumulated energy is greater than this threshold means, energy consumed to be incremented. The accumulated energy attained the threshold level for every 10 seconds. How the energy threshold is fixed?.  ( I referred the EVM development board document. As per the document, this threshold calculation isn't same. In document, it takes samples / sec. Here in this software, samples per 10 sec. )

Thanks & Regards,

Anitha.L

MAX3221:

$
0
0

Part Number:MAX3221

Hello,
we use a MXA3221CPWR and have problems in the series.

It happens again and again on some boards the -V voltage at the MAX3221 is only -1,5V. The boards come from our PCB assembler and put them into operation in an ESD environment and assemble the device. The IC does not break soft, but during production. The default rate is about 20%. We exchange the IC after that everything is OK again. Do you have any advice as to what could happen.
Many Thanks

cc2640r2f implementing multiply HID connections

$
0
0

Hello everybody.
I have  such a question.
I worked with 'MULTIROLE' project on cc2640r2f. It handles multiply connections to cc2640r2f board.
Also I 've  got HID keyboard example also using with cc2640r2f, but only with one device connected.

My question is, does it possible to mix this two projects to have cc2640r2f as a HID keyboard, to which can connect up to 4 devices (mobile phones)
and it can act like a HID  keyboard simultaneously for all this devices in one time.

All my best.
Ivan.

TMS320F28067: CAN Tx stops working at a random time

$
0
0

Part Number:TMS320F28067

Hello,

colleagues of mine identified that the CAN communication stops in a test setup at a random time with a TMS320F28067 processor. We connected to the non-communicating CPU via JTAG (without loading a new firmware image and also without resetting the CPU in order to preserve the error situation).

We use Mailbox 0 in Tx direction. We see that Mailbox 0 holds a message and the corresponding transmit request bit inside register CANTRS is being set but never cleared by the peripheral. So it looks like the CAN controller stops transmitting the message located inside Mailbox 0. We also measured via oscilloscope that the CAN_TX pin of the CPU has always a high level, so no messages are being transmitted.

Here is a screen-shot of the relevant registers:

The registers that we checked are:

CANME = 63 -> Mailbox 0…5 are enabled.

CANMD = 62 -> Mailbox 0 is selected as a Tx Mailbox.

CANTRS bit 0 -> TRS0=1, which means a transmit request has been set for Mailbox 0. We expect this bit to get 0 after the message is being shifted out but this never happens.

CANES = 16 -> No power down or bus-off state. So no error indication that would prevent a transmission of a CAN telegram.

CANTEC = 0 -> No transmission error.

CANTIOC = 9 -> CANTX pin is used for transmission.

CANTSC is incrementing, which means CAN controller is clocked.

Can you please help us to check why the CPU stops suddenly shifting our messages on the CAN bus? Is there any further register we can look at?

Best regards,

Andreas

CCS/TMS320F28335: Could you recommend me A C2000 for my DC-AC power design?

$
0
0

Part Number:TMS320F28335

Tool/software: Code Composer Studio

We are new to C2000 and are trying to use C2000 for our AC-DC design.

The AC  input is 592V±15V;

The  DC output is DC:200V±2V.

Could you recommend me A C2000 for our design and if you have any reference design for such an AC-DC design?

Thanks a lot.


Linux/CC2538: CC2538

RTOS/TDA3: LIST OF QUESTIONS ABOUT TDA3: TARGET PURPOSES FOR DSP / M4 MCU

$
0
0

Part Number:TDA3

Tool/software: TI-RTOS

HELLO

JUST WONDER WHAT IS EXACT PURPOSE FOR DSP / M4 BUILT-IN TDA3 CHIPSET.

Q1:

IS M4 A STATE-MACHINE TO HAVE MINIMIZED / TAILORED CODES CONTROL EVE / VIU / DISPLAY SUBSYSTEM? IN OTHER WORDS M4 ONLY TAKE CHARGE OF DATAFLOW / CONTROLFLOW CONTROL? AND ALL TASKS ARE IN PROCESSING WITH EVE / DISPLAY SUBSYSTEM / DSP?

Q2:

IS RTOS TARGET AT RUNNING UPON DSP / M4?

Q3:

IS DSP A SELF-BOOT TYPE DSP / ASKED TO LOAD BOOT CODES FROM EXTERNAL FLASH?

ARE ALL INTERFACE:

UART

I2C

SPI

PWM

GPIO

McASP

CAN

ETHERNET

DIRECTLY CONTROLLED BY M4 / DSP?

Q4: HOW TO CONFIGURE RIGHT CLOCK SOURCE FOR BOTH OF DSP / M4?

Q5: HOW TO SET UP REQUIRED IOS FOR BOTH OF DSP / M4?

Q6: HOW TO SETUP McASP BYPASS AND ROUTE OUT TO CODEC WITH DAC?

Q7: CAN DSP SUPPORT AUDIO CODEC / AUDIO PROCESSING SDK?

Q8: HOW THE DSP / M4 COMMUNICATE WITH EACH OTHERS? BY IPC? BY SHARED MEMORY?

Q9: HOW TO CONTROL DATAFLOW FROM INCOMING TO OUTGOING? FOR EXAMPLE HOW TO PIPELINE VIDEO FRAMES?

Q10: DOES DISPLAY SUBSYSTEM SUPPORT INVERSION FUCTION TO ROTATE OUTPUT VIDEO FOR DIFFERENT DISPLAY ORIENTATION?

Q11: DOES DISPLAY SUBSYSTEM SUPPORT POP (PICTURE OVER PICTURE: 2 INCOMING VIDEO OVERLAY IN A DISPLAY) / PIP (PICTURE IN PICTURE: 2 INCOMING VIDEO INSIDE ANOTHER IN A DISPLAY). IT IS TO SAY SUPPORY LAYER CONTROL FOR ANY 2 DIFFERENT INCOMING VIDEO FOR AN OUTPUT TO ONE DISPLAY.

Q12: DOES RTOS WITH ENOUGH DRIVER SUPPORT FOR TDA3 WITH LESS OF A15 / GPU  TO CONTROL EVE / VIU / DISPLAY SUBSYSTEM DIRECTLY / DDR / EMMC / SD CARD?

Q13: DOES SDK SUPPORT FILESYSTEM TO BE BUILD UPON DSP? M4?

Q14: DOES SDK SUPPORT ETHERNET DRIVER / PROTOCOL STACK?

Q15: DOES SDK SUPPORT CAN DRIVER WITH CAN PROTOCOL STACK INCLUDING CAN IL?

Q16: DOES SYS/BIOS RTOS SUPPORT THIRD PARTY GUI TOOL / LIBRARY? OR TI HAS SELF-BREW TOOL TO DEVELOP LOW END AUTOMOTIVE AROUND VIEW PRODUCT? GENERALLY DEVELOP GUI BY OSD WITHOUT SPECIFIC TOOL SUPPORT IS VERY A TOUGH CODE JOB.

Q17: CAN PWMSS DIRECTLY BE USED IN DISPLAY BACKLIGHT CONTROL?

Q18: CAN DISPLAY SUBSYSTEM SUPPORT TRANSPARENCY PICTURE?

Q19: CAN DISPLAY SUBSYSTEM SUPPORT PICTURE MASK FUNCTION?

Q20: HOW TO CONTROL DDR? BY DSP? M4?

Q21: HOW TO DEAL WITH INCOMING PACKET FROM ETHERNET IF YOU DON'T SUPPORT PROTOCOL STACK AND PARSER IN YOUR SDK?

Q22: CAN YOUR SUPPORT TSN ETHERNET TRANSCEIVER?

Q23: CAN VIU SUPPORT BT.656 WITH DEVICE LIKE TECHPOINT HD-TVI RX 4 CHANNEL 1080P / 60FPS? AT LEAST DUAL CHANNELS?

Q24: ANY SUGGESTION TO SYSTEM POWER DEVICE SELECTION?

Q25: CAN DCAN / MCAN BE SET FOR THE OTHER USES? FOR EXAMPLE UART INTERFACE? GPIO?

Q26: DOES SDK CONTAIN SAMPLE CODES FOR M4? / DSP?

Q27: DOES CCS SUPPORT TO SETUP IOs FOR M4 / DSP?

BQ24650: How many V lead-acid batteries can bq24650 charge

$
0
0

Part Number:BQ24650

Hello,

I have a project to charge 24V lead-acid batteries. I am not sure whether BQ24650 can meet my needs. I watched the process of lead-acid charging. When the overvoltage of lead-acid batteries is 29V in the process of overvoltage charging, I hesitated a little whether BQ24650 can meet my needs. If not, can you recommend other charging chips that can charge 24V lead-acid batteries?

TINA/Spice/TVS3301: TI Tina model needed

$
0
0

Part Number:TVS3301

Tool/software:TINA-TI or Spice Models

Hi,

Was trying to convert the TVS3301 PSPICE model to Tina model but encounter error.

It seem like TINA doesnt recognize $CDNENCSTART.

Can anyone help on this ?

Thanks!

Hoong Wei

BQ28Z610: read registers via I2C?

$
0
0

Part Number:BQ28Z610

Team,

Are there ways to read the BQ28Z610 registers to identify which "system level protection" have kicked in?
For example can BQstudio + EV2300 / EV2400 be used for that? Or do you need an external MCU board to run customer SW to access I2C?
Can the EV2300/EV2400 connect to a custom board or only to the EVM?

Are the some guidelines on how to debug problems during developments?
The actual problem manifest itself with the BQ28Z610 that open/close the FET at a 25ms rate that make the pack voltage level oscillating between 3.8 and 4.2V:

Thanks in advance,

A.

Viewing all 262198 articles
Browse latest View live


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