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

EMAC and PHY

$
0
0

Hi all, 

I'm using Hercules TMS570 kit.  I would like to send few bits of information from one board to another just using EMAC, MDIO and PHY and without using any standard ethernet protocol. I took the PHYdp83640 file from the lwIP example software, to use for my work. But, i don't understand how are the EMAC or the MDIO and PHY connected. Is there any PHY register where i need to copy the data in order to put that into the bus ? 
 Is there any document where i could get detailed information on Ethernet functionality on this device ? 


C6654 DDR3 initialization problem

$
0
0

Hello,

We have a custom board that uses a C6654 DSP and two K4B1G1646G DDR3 chips.  The code is loaded over Ethernet and since it is too large to fit in L2 memory, we use the ROM boot loader to configure the DDR3 and then load the code.  The majority of the boards work fine and we have no DDR3 issues, but about 5% of the boards do not initialize the DDR3 properly when we use the ROM boot loader.  For the boards that show this problem, one of the DDR3 chips does not read or write (but the other DDR3 chip usually works, depends on the board).  The DDR3 configuration registers are set to the correct values after the boot process on all boards.  During debugging I noticed that if you write the SDCFG register with the same value as used during initialization (trigger another SDRAM initialization sequence) after the initial boot process the DDR3 starts working on the problem boards.  This was confirmed to work by doing it through the debugger and also by sending another DDR3 configuration table that only sets SDCFG after the first table during the boot process.

On the boards that show the above problem, I discovered that setting INITREF_DIS in the SDRFC register to 1 before starting the configuration process and then setting it to 0 before writing SDCFG seemed to cause the issue (I tried it since that is what the RBL does).  If INITREF_DIS is set to 0 at the beginning of the DDR3 configuration process (i.e. before writing SDTIM1/2/3, DDR_PHY_CTRL_1, etc.) the DDR3 comes up fine.

My questions are why does when INITREF_DIS is set to 0 seem to cause the above behavior and why does this only affect some boards/DSPs?

Thanks,

Mark

Why did not well operates local and two remote temperature sensors of AMC7812?

$
0
0

Hi,

I tested AMC7812 with PIC32, but the local and two remote temperature sensor have odd operation.

When the AMC7812 is in external reference mode, these temperature sensors work well.

But ADC-n-data-register has reference voltage value, when ADC channel are open. 

And in internal reference mode, local temperature data register have 255.875, D1 and D2 temperature data register has value of -50 ~ -70 range.

Besides, ADC value is fluctuated by unknown issues.

Does anybody have same problem?

Best Regards,

Seung Joon Lee

TMS320F28377D have HRCAP module?

$
0
0

I find hrcap module in document SPRUHM8(Page 144).

But I don't find introduction of hrcap module.

I want to know whether TMS320F28377D have HRCAP module.

CC2541 in Deep Sleep (PM3) with Watchdog Timer

$
0
0

Hello,

We have a device built up on CC2541. Our device goes into sleep (Deep Sleep/PM3) for a very long time. When we want to connect, we wake it up (there is a push button for that) and connect it.

Now, the problem is that we want to use watchdog timer. So, when our device goes into sleep, the watchdog timer will reset our device so we are able to stay into sleep mode.

Can anyone suggest a possible solution for this problem.

Thanx in advance.

DLP® 0.45 WXGA DMD COMPLETE PROJECTOR DESIGN

$
0
0

We are starting a project to design our DLP PICO PROJECTOR. Its will be based on DLP® 0.45 WXGA DMD and DLP® Digital Controller for the DLP4500 DMD. We are finding very little that explains the process in designing the entire system. There was a good bit that discussed the optics but not what other electronics are needed and what software programming is needed to tie it all together. We have already purchased the LIGHT CRAFTER 4500. But this is to expensive for our end product. We must design the entire system and eliminate what is not necessary. 

feel free  to send me emails to monito@microaxiom.com

Also where do I call to speak with someone from TI's DLP sales group? Do they offer phone support anymore? Wow! Its nice to hear a voice and talk to a person once in a while.

Any information is good app notes, example code and designs anything at all to help design an entire system from the ground up!

TLV320AIC3120 External Microcomputer Control Using the EVM

$
0
0

Hi,

If we pull up I2S_ENABLE node to 3.3V, can we control TLV320AIC3120 with the external microcomputer by using connector of P2?
We believe that because 100P-JMDSS-G-1-TF(LF)(SN) is used in the EVM, we use 100R-JMDSS-G-1-TF(LF)(SN).
Could you please advise to us about it?
By the way, what is these connector of P1 and P2 that are described in page 17 of the EVM user's guide used for?
What is the purpose of this connector?

Best Regards,
Kato

CC2540dk kit

$
0
0

Hello,

I intend to develop a general purpose wireless link around BLE standard and therefore want to order a cc2540dk dev kit. I want to primarily use a number of sensor nodes to transmit wireless data to a central hub. My simple question is this: Is this kit a good place to start working with someone with no prior experience with Bluetooth and with limited experience with low level programming? Does this kit come with some preloaded source code for initial demo purpose?

Also, is it possible to have multiple wireless nodes (all CC2540 based) communicate with a central CC2540 based controller? I will greatly appreciate some help.

PS: CC2564 (dual mode with BLE) datasheet quotes up to 10 simultaneous connections; no such thing mentioned on CC2540 datasheet. I prefer CC2540 because it is a SoC solution so may not require an external MCU. Please correct me if wrong.


optimizing EDMA PCIe transfers for read/write and multiple cores

$
0
0

TI experts-

We're implementing PCIe outbound transactions using EDMA.  We have C66x-to-host transfers working ok, but we're having trouble with host-to-C66x.  When we use a data test pattern, the initial 50 or so bytes are ok, but then we see repeated bytes.  The point where data starts repeating is not consistent.  For now we're using blocking transfers; i.e. we wait in CPU code for EDMA to complete.

At this point we have some general questions:

  -is there a fundamental difference in EDMA config
   for read vs. write?

  -do we need to use a different EDMA controller for
   read vs. write?  Or just a different channel
   within the same controller?

  -when we run the same code on multiple cores,
   should we assign different groups of cores to
   different EDMA controllers?  If so is there a
   recommended grouping?

If there is already an online document that discusses techniques for optimizing EDMA transfers for PCIe, please let us know.  I've attached a small .c file that has our current EDMA config.  Thanks.

-Jeff
Signalogic

how to output printf() in CCS v5.4.0 's console window

$
0
0

Hi, I'm using CCS v5.4.0 to make code for  MSP430. I put  'printf("Hello\n");' into my code and hope can see the output in the 'console window' when I run the program. I tried it but I didn't see 'Hello' in the console window. Very appreciated if someone can give me a clue why it didn't appear in console window.

Lei

direct socket between CC3000 and iphone

$
0
0

Hi,

I want to connect the CC3000 module directly with the iphone (no intermediate server/network).  Is this possible?

Is this possible by setting up the iphone as a hotspot?  Then do i always need to have 3G/4G service?

Also, once the phone is setup as a hotspot, how to I transfer that information over to the CC3000 module?

Thanks so much!

Moving to Windows 7 and need help on migrating from CCSv3.1 to v5.x

$
0
0

A little background:

Safety critical aircraft system - upgrading a compiler requires us to do a bunch of work, so we avoided it.

IT is forcing us to upgrade from Windows XP to Windows 7, so we can no longer limp along with v3.1.  We are able to build the project in Windows 7, but our verification group cannot run the debugger.  We need a path forward.

Current decision is fully migrate from v3.1 to v5.x for both the build and debugging to get all of the pain out of the way.

We perform our build from the command line using gmake.  I've been told by another engineer who has worked on this a little that he was able to install the v5x tools and update the project build scripts to the new paths and get the project to build.

The problem came when he tried to load and run it in the debugger (hooked to a Spectrum Digital XDS510 USB emulator).  The application just resets.

We are not using any of the TI operating system functions or libraries ( a few math libraries only ).

I'm just getting started myself, so I don't have a lot of other information yet.  Thanks in advance for any help or guidance you can provide.

Regards,

Robert Allen

Principal Software Engineer - UTC Aerospace Systems

Energy metering project while interfacing between MSP430F47197 & LCD 8x2

$
0
0

***** Need your feedback and suggestion on the following please! :)

I have a project ahead that I need to show kWH on the display while I am using a 8x2 LCD on my board plus a micro-controller MSP430f47197. LCD drivers is tested and I am able to send data from the MCU to the LCD. Also, I have an energy-meter sample code which is designed for the Evaluation module (not the one that I have!) but it interfaces between the above-mentioned MCU and a different LCD that I am already using. (A bigger, more expensive, and ...)

So, I guess I am ready to start off the project!

However, energy metering process is pretty complicated and has its own foreground and background processes to calculate current and voltage multiplication and energy calculation.

So, in your opinion, what is the best way to approach in order to get my board worked and calculate the KWH if you have a code which includes the same MCU but a different LCD driver from the one that I have?

In other words, I have a couple of ".c" and ".h" files with a "main.c" that I may change the "display.c" as in a new design the LCd is connected to P7 and P8 of the MCU whereas on the Evaluation module it is connected to some other pins.

Or, you may suggest me to start over again and write something from ground up? What do you think?

Thanks!

porting driver for Marvell switch 88E6165

$
0
0

Hi guys! 

 I need help in porting 88E6165 driver in kernel. I'm a newbie in Linux. I'm working on Sitara AM1705.

 

I have DSDT driver sources, but  they are imho used in userspace.

How to setup driver in kernel space?

On various forums I read that default dsa driver used for this purpose. So, I setup this feature in kernel, but how to setup board specific code correctly I don't know. Do anyone have a such experience? DSA driver output:

...

 Distributed Switch Architecture driver version 0.1
dsa: probe of dsa.0 failed with error -22

 ...

CC2541 drops connection during for() loops...RF lockup?

$
0
0

I have a CC2541 running a modified version of SimpleBLEPeripheral, communicating with an iOS device. Upon connection w/ the iOS device, I issue ConnParamUpdate to get my desired parameters, most important of which is my Supervision Timeout, which I want to be as high as possible based on the problems I'm seeing. I am familiar with the ConnParam rules on iOS, and I have a packet sniffer running, showing me that I get a response of SUCCESS after my ConnParamUpdates.

After updating the parameters, the iOS dumps a lot of data over to the Peripheral, the last few bytes of which are a footer. When the Peripheral sees the footer, it calls a function which takes all of this data (which it has been storing in NVM using HalFlashWrite in real-time as the data comes over piece by piece), reads it back from NVM using HalFlashRead, and then writes it out to SPI Flash using a flashWrite function I wrote. This is accomplished using a nested for() loop, where I basically do this:

for( do this 40 times)

{

for (do this 8 times)

{

HalFlashRead();

flashWrite()

}

}

My problem is that after a few cycles of HalFlashRead and flashWrite, my radio stops responding, and the connection eventually times out on the iOS side of things. Since iOS isn't great at dropping connections, I'm being forced to end the connection from the CC2541 -- I don't want to have to keep connecting/disconnecting all the time, so I'm trying to figure out what's causing the iOS to consider the connection as "timed out". To be clear, the iOS log shows the connection as "timed out" only once the Supervision Timeout has been reached, but I know that the iOS has "given up" on the connection long before this Supervision Timeout, because the CC2541 stops responding during this heavy for() loop processing. This is what I think, anyway.

I see the L2CAP-C packets on my Bluetooth sniffer just stop coming up, shortly after I enter this heavy processing loop -- as if the iOS device gives up trying to send them, even though the Supervision Timeout has definitely not been reached yet.  This nested for loop only takes a second (two at the very most) to complete, and if my Supervision Timeout is set to, say, 5 seconds, then there are 3 seconds after this heavy process during which I would *assume* that the CC2541 radio would pick back up with communication to the iOS device, but this doesn't happen. Instead, the iOS shows that the connection has terminated / timed out. It's worth mentioning that I know my Supervision Timeout settings are being understood by the iOS device, because I can watch the log file report a connection timeout after 3 seconds, or 5 seconds, depending on what I set the Supervision Timeout at.

I am wondering three things:

1) Why do these function calls seem to block the RF performance of the CC2541? I thought the RF stuff had the highest priority

2) Is this an issue with L2CAP or LL? Am I missing Connection Events? Maybe an interrupt lockup has occurred?

3) Since the RF does seem to be blocked, I need a way to "kick" it back into gear once my heavy HalFlash and SPI Flash processing is done. I have plenty of time to do this, because the Supervision Timeout is more than twice the length of time that this heavy processing takes.

My goal here is to not have to disconnect the BLE connection during this NVM and SPI Flash processing.


Stepper motor digital encoder

$
0
0

Hi there,

I'm looking to build a general purpose open source stepper motor digital encoder from the LDC1000 for a Kickstarter project. Steppers typically have 200 steps/rev, however many people run steppers at up to 16x micro-stepping, giving 3200 steps/rev. I'd like to sense these steps to ensure the stepper motor moved correctly.

The thought is to go with a gear counting style application or perhaps the swirl measurement with 2 LDCs. I'd rather keep cost down and do gear counting so I only need one LDC. I can print a conductive ink gear with high resolution to create 3200 "gears" at the outside diameter of a plastic circle that would mount to the stepper motor axis. The diameter of the printed conductive ink circle would be at it's widest 42mm. I could perhaps make the "gears" be about 1mm in length and put them as far out on the circle as possible, i.e. at 41mm diameter stretching out to the 42mm in diameter. The circumference of that circle is roughly 132mm so the "gears" would have to be 20 microns of conductive ink, 20 microns of no ink, etc. Is it feasible to detect gears this small? The datasheet and marketing materials refer to detecting sub-micron resolution so it seems I'm well above that at 20 microns.

A further question is, what size coil on a PCB would be needed to detect the 20 micron wide gears and their movement? From reading the datasheet and forum it seems like a coil the size of the circle would be needed, but if you are counting gears is it a different formula? I could do a coil with a 42mm diameter if needed but it would make for a large final package. Or, could I do a much smaller coil, say a 10mm one, since I'm detecting gears with motion parallel to the coil rather than detecting distance? Would a 1 layer PCB coil be good enough as well? 

Thanks,
John

High sample rate being the priority; 'ability to Connect PCM5102 DAC to Multiple digital sources.. '

$
0
0

not interested in MP3's or anything low fidelity but as a Project interest here for next week or as soon as I can get my hands on an attainable interface I'm looking at building a product to source 32 bit resolution files to a device that comes highly recommended for it's outstanding ability to out stand nuclear blast !   ...yes,  I know people who use Vacuum tubes from MiG 16 Russian aircraft to power their headphones..** 

Hello E2E, I noticed your Ti site has some fantastic tools geared towards helping consumers and I appreciate that as I've been trying to soak up as much information as I can. I've recently been to a Meeting where High fidelity instrumentation and during the presentation I realized that there is a niche market where people use Nuclear certified MiG 16 Vacuum tubes to power their headphones.. I had been there for about two hours and I had the chance to talk to several people about topics relating to the technical aspect of music play,  anyway I've always been kind of an authority and well, when I had to tell this gentleman whom I have the utmost respect for that my $200 dollar headphones sounded better than his $12,000 dollars worth of equipment because of source files I using: so I had an epiphany - I said to myself, ugghh..   I need an interface that can stream HD to that kinda analog equipment and I'm not talking about those up-sampled HDtracks they've been passing off to audiophiles..   here I’ll just give you some details.

General
Complete name                            : B:\[[96KHZ_32BIT]]\mUsic viNyL\zEpPelin - viNyL\1969 - Led Zeppelin II  {Atlantic SD 8236}, Siv6228\Led Zeppelin - II (1969).wv
Format                                   : WavPack
File size                                : 911 MiB
Duration                                 : 41mn 38s
Overall bit rate mode                    : Variable
Overall bit rate                         : 3 058 Kbps
 
Audio
Format                                   : WavPack
Format profile                           : 4.06
Duration                                 : 41mn 38s
Bit rate mode                            : Variable
Bit rate                                 : 3 058 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 96.0 KHz
Bit depth                                : 32 bits
Compression ratio                        : 2.009
Stream size                              : 911 MiB (100%)
Encoding settings                        : -m

 

 …  .. now..  forgive me.. but,   You can actually hear the inner groove noise,  and the needle scratching the record aS you  PLaY this..   those guys at the meet weren't playing anything that I would even closely consider, or even remotely mistake as comparable..  and this was HiGH FiDeLiTy! Equipment..!! anyway, there’s really only one amp that remotely mentions that it can play 32 bit files.. but even so..  we don’t even know if it can even stream 32 bit to It’s DAC..  these guys may be at the head of the stream but, when I heard that..  and I realized what was going on in the industry and how easy it would be to blow these guys a-w-a-y!! “Like to Smith-or-iNNes,” I realized I need to build a prototype amplifier and I’d like to do it next Week.. !  I have an intellectual gentleman with 27 years in the industry giving me references such as David Halfler, Bob Windlar and Bob Pease helping me build the analog part and having access to not only an unmentionable supply of analog circuits but also (pre) proprietary circuit designs.  So ok, I've been on your sit and here is what I know:

  • I am a Fan of the Burr Brown dac and I do Like the PCM 5102A and the TUSB1310A's ability to pipeline it's Data to the Converter listed herein' but
  • I also want to stream 48K files from the apple Ipod i.e  bluetooth,  WLAN and or Hard plug..  so I wanted to ask you about connectivity and.. 
  • the android..  AISO, HDMI..  and or Bluetooth | WLan..  as well as.. 
  • I'd be cool if this all came in one small footprint.. :) 

I hope I have posted this in the right place; I will send 32 bit files to anybody that can help me out. 

oh.. and ..   Bam..! 

‘ I’m an open book..’ 

LMH1983 oparetion

$
0
0

Hi all.

There is a question of LMH1983.

To the table of Audio FORMAT detection code, It is checking that four sorts of word clocks are published.
To Support Format Lookup Table of Table.1 Since only two sorts were published, it checked.
Are they four sorts of 32k,44.1k,48k,96kHz? (Word clock)

At the time of a word clock input, Although the signal was outputted TOF2 and TOF3, TOF1 did not output.
Is it normal now?  (Three TOF are made a setup of output enabling. )

In addition.
There is a question about the HOLDOVER operation at the time of a reference input being lost.

In resister 05h is 2Bh (default) and 18h is 01h (default) and 19h is FFh (default),
Although the 1Ah is 00h (default) and 1Bh is 01 h (default) oparate it,

In this state, when a reference input is lost, it goes into HOLDOVER operation,

The error output voltage of PLL1 should keep the error output voltage at the time of there being a reference input.
However, error voltage will not be kept if actual operation on an evaluation board cuts the input of a reference,
It will change on unfixed voltage.

Why doesn't it carry out normal HOLDOVER operation?

Best Regerds,
Hisa Kobayashi.

Linear indutive transducer

$
0
0

Hi,

With LDC1000 I can measure a inductive position sensor (one coil with two wires that change inductance with position) between 7mH and 25mH? After, I need a acquisition frequency of 1kHz - 1,5 kHz (in other words, the digital value of inductance in MCU must be updated each 1 ms maximum.

Is possible with LDC1000? 

Thanks in advance.

Best regards

Confusion on RP Min/Max settings on LDC1000evm

$
0
0

I have an LDC1000EVM module and am a little confused. Sorry if my question is really basic. I want to use my own wound coils so not PCB coils. I do not have a $20K impedance tester. I can measure the inductance of the wound coil say 50uH.

How do I go about determining the correct Rp min and Rp Max settings for this coil? I want to experiment with different sizes of wound coils and come up with a set of parameters that make the best use of the coil.

Any help would be appreciated.

Viewing all 262198 articles
Browse latest View live


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