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

APCNT of Software Angle Generator Question

$
0
0

Hi i'm DaeCheol

I need how to set APCNT period in HET tool.

Because the TRM is not about APCNT period setup specific explanation.

I want to know exact pulse duration that according to set preoid count of APCNT.

Regards.


PGA450-Q1

$
0
0

I want to use SPI communication (Evaluation tab ) to transfer data  to/from GUI   from/to PGA450-Q1 IC. Do i need to make  use of any software(Keil)  and write code for  distance measurement?

and since, I dont have 58kHz transducer ,I have to go for one with 40kHz  . Will Evaluation tab allow this?

In SPI mode how will i observe  distance output? Please explain SPI communication procedure.

LP8556 driving 12x3 array or IRLEDs

$
0
0

Is the LP8556 suitable to drive an array of 12x3 IRLEDs, using the Vishay VSMY2850RG LED?

TI-RTOS - SPI and DMA Examples

$
0
0

I have modified the SPI Loopback example provided for the Tiva C TM4C123G, but am having issues when I try and send more than 200 bytes. I eventually will need to send in one communication up to 20kb at 500Kbps.

Before I raise any of the issues I am getting with my altered code. I had a few questions.

1) Are there any other examples or sample code for using SPI/DMA with TI-RTOS?

2) Should I be sending in a burst since I need to be sending up to 20kb (being able to send more than 20kb would be great also), should I being using a ping pong method instead. If so, are there any SPI/DMA TI-RTOS examples that show how to implement a ping pong method?

-----------

P.S. I am not using SPI per se, I am just using the MOSI line to send out Manchester Encoded bits, but it works the exact same way as SPI, I just don¹t need the SPI clock, as timing is contained in the communication.

BQ24030: The IC does not charge the battery

$
0
0

hi,

i have a board with BQ24030. manufactured protypes all was well.

at first mass production, i have a problem - the battery do not charge.

when connecting 5V supply to charge the battery the STAT1 led is on and STAT2 is off, but when checking the volatge on the battery it is not charging.

PSEL, CE, ISET2=high.

when disabling the NTC from the battery, by conecting 10K between TS and GND, both STAT led are on, but the battery do not charge.

AC pin is connect properly. even when connectting USB supply, same phenomena.

Where to start?

$
0
0

I have been using the SPPLEDemo_Lite on my MSP430 experimenter board with the CC256X board attached.

I have developed an iOS application that can connect to my device while it is running the SPPLEDemo_Lite project. My iOS application has a single button on it. I simply want to turn on an LED on my board when the button is pressed.

Using the Bluetopia API, how does the SPPLEDemo_Lite actually handle events that come in? I have been banging my head trying to trace it back to a place where it handles characteristic changes. You see, in LightBlue (a freely available iOS application currently on the App Store), I can subscribe to, read and write from characteristics of a service that is hosted on the Bluetopia stack in my board, but how does it work, exactly? Where does it detect changes?

It brings about so many questions in my mind, like...what is the best profile to use for my application? Has anyone come up with a tutorial video or something describing how this API works and what the best ways to handle specific designs are? Where do I start...?!

USB-To-GPIO Adapter (USB Interface Adapter)

$
0
0

Hi,

The Adapter provides an internal pull-up voltage 3.3V.  See page 30/50 in the attached document web link below.

1) How do I disable this pull-up 3.3V, so I can use my own external pull-up voltage?  I would hope it can be disabled vis GUI or software code/command.

 2) If I don't disable its internal pull-up 3.3V, then what would happen when connecting to my slave devices which also have pull-up voltage, say 5V?   

http://www.ti.com/lit/ml/sllu093/sllu093.pdf

Thanks,

Tim

Create two endpoints in a device

$
0
0

Folks,
I am having one ZC and ZED, in the ZED having 3 sensors and one relay with light. I want to create two endpoints. One for sensors and other for relay(on/off) device. How can i proceed. ZED should send sensors value to ZC and ZC will check the value, if abnormal and send a message to on/off the light to ZED.


Adapt TMS320F240 program to a F28035 Piccolo expérimenter Kit

$
0
0

I bought a F28035 Piccolo Experimenter Kit for driving a Switched reluctance Motor, ans I have an example program for the same motor but for an TMS320F240 , is it easy to adapt and load this program in microcontroller (F28035 Piccolo),  or do you some an practical program  example  to drive a motor with my Kit.

 Thank you very much.

Sofiane.

CC2538

$
0
0

I plan to buy a CC2538, because i need OS. I am having some doubts before buying it.

1) Is Contiki OS is already ported with CC2538

2)6LOWPAN stack will provide by TI.

3)After Porting Contiki and 6LOWPAN in CC2538, how much memory will left for user to port their Application out of 512KB flash.

4)Will i get a enough support if i use that stack, as i got support while implementing Zstack.

So any expert or TI employee can respond to this post.

TPS78225 Influence on Battery Life

$
0
0

I am using 3.6 Volt Lithium Batteries in my system.   My Micro-controller, the MSP430F5336 is powered by 2.5 Volt output TPS78225 LDO.  How can I determine the effect of the LDO on the battery life?  So my understanding is the IG is the current that LDO will drain to the ground.  So basically the charge consumed by my Micro + the IGND is the current that is being depleted from the battery.  Correct?  (IGND from http://www.ti.com/lit/gpn/tps78225 on page 5, figure 6)

So is there a lower drain LDO, I need only 10 mA Max LDO with lower IGND, would anyone recommend such product?

Thanks...

AM335x ICE : Configuring Heap with SYSBIOS

$
0
0

I am working with the TI Sitara Industrial Communications Engine board (version 2) and I am having trouble getting the heap configured to work with SYSBIOS. Any attempts to allocate memory on the heap using malloc() or new causes my program to lock up. This makes me think the heap is not configured correctly, but I have configured all of the project settings that I can find.

Is there an example project configuration available for this board that has both SYSBIOS configured and the heap enabled?

Here are the relevant settings I currently have in my project:

AM335x.cmd file:

----

SECTIONS
{
.init: { boot*(.text)} > 0x80000000 /* make sure we can boot! */
}

----

.cfg file:

---

var heapMemParams = new HeapMem.Params();
heapMemParams.size = 819200;
heapMemParams.sectionName = "systemHeap";
Program.global.heap0 = HeapMem.create(heapMemParams);
Memory.defaultHeapInstance = Program.global.heap0;

Program.stack = 409600;

Program.heap = 0XC8000;

SysMin.bufSize = 0x400;

BIOS.heapSize = 0xC8000;
BIOS.heapSection = "systemHeap";


var loggerBufParams = new LoggerBuf.Params();
loggerBufParams.numEntries = 32;
var logger0 = LoggerBuf.create(loggerBufParams);
Defaults.common$.logger = logger0;
Main.common$.diags_INFO = Diags.ALWAYS_ON;

System.SupportProxy = SysMin;
BIOS.common$.instanceHeap = Program.global.heap0;
BIOS.heapTrackEnabled = false;
Memory.defaultHeapSize = 819200;

---

LMZ20501 Nano2 / Inverting configuration

$
0
0

Hi Team,

Our customer is interested in LMZ20501 and they also hope to use it with inverting configuration like SLVA317B.

http://www.ti.com/lit/an/slva317b/slva317b.pdf

I believe that this can be done thought there is no app note yet.

I would like you to confirm it just in case.

Best Regards,

Sonoki / Japan Disty

Is there any way to show more threads on same webpage

$
0
0

Like to show a list of 50 posts at one time.

Any one has any idea?

Many thanks.

Best hardware for having Wlan and GPS

$
0
0

Hi everybody,

First of all, I'm sorry because I'm a newbie and I'm a bit lost with the big quantity of forums and hardware available. Thus, I hope you understand me and if this post is not in the correct forum please move to it.

My problem is that I want to create a server with a Wifi and GPS module. The server should create a Wlan so that clients could connect to it and read the server GPS position. I need that the server could support several clients at the same time (perhaps up to 20). The server should have some storage capability (up to 20-30 MB)

I have  considered as possible hardware for this server:

1 MSP-EXP430F5529 with module CC3000 for Wifi  and CC4000 for GPS. But I thing that the MSP-EXP430F5529 only supports one of this modules.

2 DevKit8000 OMAP3530 Evaluation Kit  with WF8000-U for Wifi and GPS8100-S for GPS.

3 Pandaboard with a GPS module (I don't know which one could be used with this board).

But I don't know  if any of these hardwares could fit my needs, and if they are compatible (for example, I think that the first combination doesn't support the two modules) of if there is any better option for what I want to do.

Any advice from your side and recomendation if you have experience with any of this hardwares is welcome.

Best regards,

Joe


F2805x ePWM

$
0
0

Dear all,
I have a little question. I wanna know what will the pin become before the PWM counter start to run?Is it low, high, or tristate? What kind of register may I set for those setting?

Thanks all

M.W.

I am very confused about @ # * in addressing mode

$
0
0

Dear, 

Now, I am a rookie about assembly language, I have a problem while I read the code.
I am very confused about the @ # and * in addressing, even if I had read a lot about assembly language tool and some manual. There are many such syntax however can I never finda context about the usage and concept about @ # * clearly. 

It really confused me, take a example

MOV [loc16],ARn

[loc16] = ARn;
If(loc16 = @ARn), then only the lower 16 bits of the selected auxiliary register
is modified. The upper 16 bits is unchanged.

The above is the statement.
The example is
MOV @AR4,AR3

; Load AR4 with the value in AR3.
; Upper 16 bits of XAR4 are
; unchanged.

Why not MOV AR4,AR3   ????
Because I had read that
MOV T,@VarA
before, I guess that all the CPU register are the same; however, I must be wrong.
I can't find a rule, please help me or give me a way to find the definition about them!

Thanks!!!
Maxwell :)

IntDisable/Enable in USB-CDC-Example

$
0
0

Hi,

in USB-CDC example for BeagleBone Black there is a strange construct:

ulIntsOff = IntDisable();
IntEnable(ulIntsOff);

This disables and then re-enables ALL interrupts of the whole system, so any other interrupt is influenced too. This happens on USB connect- and disconnect-events. What is the purpose of this? Shouldn't it be done for the USB-interrupts only and not for all IRQs? With the current code this influences timing of the whole software running on the board.

recv api hangs erratically

$
0
0

Hello,

I have ported the host driver to use SPI on the LPC1343 cortex-m3 processor. For the most part, everything seems to be working. I can connect to networks, set up server, accept clients, and send data.

However, sometimes when trying to receive (using recv) the CC3000 seems to hang, causing my host code to hang in a while loop: (amount of time until this happens varies) 

unsigned char *
hci_event_handler(void *pRetParams, unsigned char *from, unsigned char *fromlen)
{

...

while (1)
{
if (tSLInformation.usEventOrDataReceived != 0)

...

many others seem to have had problems at this location.

I have viewed the CS and IRQ lines on the oscilloscope. Every IRQ is at least being serviced because I can see the CS line asserted for each IRQ assertion. Right before the hanging event, there is one final read operation, and then the IRQ line remains high permanently, and recv function hangs.

Any ideas on how to solve this issue? Since HCI is undocumented, I can't think of a way to pinpoint the issue.

EDIT: I have discovered it is not entirely related to "recv." Even if I don't attempt to receive data, if the client sends data to the CC3000 server over TCP, the CC3000 and host will tend to hang during some API call, even "send" for example.

But this problem doesn't happen if the client doesn't send data to the CC3000 server.

DM8107 RDK Interlaced NTSC Field at a time scale issue

$
0
0

I am experiencing an issue with field at a time capture of NTSC video being passed through the scaler on the RDK.  The scaler seems to distort the 720x240 fields even though it is set up to scale 720x240->720x240.  I also have the scaling coefficients set to 1/1.

Here is the VLC output with the scaler in the path:

Here is the vlc output with the scaler removed:

This is the a frame from the captureLink:

This is a frame from after the passing through the scaler:

As you can see the scaler is really distorting the image even though no scaling is being done.  Is this do to the 720x240 frame size?  Should I be setting  up custom scaler coefficents to accomplish this?

Viewing all 262198 articles
Browse latest View live


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