Forums More c28x
sprintf function
inHi all, I'm using the sprintf function like: Result = sprintf(strFloat,"%3.3f",stInterpVars.fResult); Where: Result - number of copeid...
Hi all, I'm using the sprintf function like: Result = sprintf(strFloat,"%3.3f",stInterpVars.fResult); Where: Result - number of copeid charectars. strFloat - destination, type char[]. stInterpVars.fResult - source, type double. The function is working, I got the correct result in destination, but there is a memory leak. The function overwrite other variable. Does someone know what ...
Creating PWM
inDear Friends I am a bit new to DSPs and I am trying to create PWM using TMS320F2812. Would you please let me know how can I create a...
Dear Friends I am a bit new to DSPs and I am trying to create PWM using TMS320F2812. Would you please let me know how can I create a PWM? Regards Mahdi Momeni
Cannot view PWM while running program in flash memory
inHi all, I am running very simple program which generates PWM, in Flash memory of F2812 and trying to view the same in scope. But i am unable to...
Hi all, I am running very simple program which generates PWM, in Flash memory of F2812 and trying to view the same in scope. But i am unable to view it. My program didn't have any computation part, i just tried how flash works. I am able to run my program, verify the program in flash successfully after erase operation. Can any one point out the reason why i am unable to view the PWMs generated ...
synchronizing ADC and PWM in TMS320f2812
Hi, I am using a ezdsp 2812 for some control purpose. I want to have an ISR tied to underflow interrupt of Event manager A timer2. In the ISR i...
Hi, I am using a ezdsp 2812 for some control purpose. I want to have an ISR tied to underflow interrupt of Event manager A timer2. In the ISR i would like to sense a voltage calculate the difference with a fixed reference based on the difference would like generate PWM pulses. My question is : How to make sure I get the latest voltage information in the ADC. If I give a SOC in the beginn...
Re: F281x PWM EVA vs EVB phase difference
Hi Bala, The problem is that EVA and EVB have 2 separate timers. The phase separation of PWMs from the two units has to do with when the EVA...
Hi Bala, The problem is that EVA and EVB have 2 separate timers. The phase separation of PWMs from the two units has to do with when the EVA timer (T1) is started relative to EVB (T3). The best way to minimize this separation is to start T3 timer immediately after T1 timer. To close the gap more, you can initialize the T3 timer with start count so it equals T1 when it is started. This initial val...
Error using IQmath functions in F2812
inHi everybody, 1) I am using IQ numbers for my calculation. But having the following error, can you please tell me how can i rectify that? I...
Hi everybody, 1) I am using IQ numbers for my calculation. But having the following error, can you please tell me how can i rectify that? I have included F2812.cmd and IQmath.cmd file. Is it because of that? Is it necessary to include IQmath.cmd file? should i change any setting in memory or sections part of both the linker files? ---------------------------- checknew.pjt - Debug ------...
SPI Related
inHi This is Srinivas Reddy... In our application we are using F2812 controller.I want to communicate this controller with...
Hi This is Srinivas Reddy... In our application we are using F2812 controller.I want to communicate this controller with two slaves(inclinometer and Gyrometer).So we need to establish communiaction between one master and two slaves. Actual SPI interface has only one chipselect pin.In case of single master single slave operation we gave output of chipselect pin is low through hardware permanen...
FFT of C28x
Hi=A3=ACeveryone=A3=ACI am a new member of DSP group. I am trying to do FFT= =20 using TMS 32028335 kit. I use the fft library that TI...
Hi=A3=ACeveryone=A3=ACI am a new member of DSP group. I am trying to do FFT= =20 using TMS 32028335 kit. I use the fft library that TI provided.=20 Everytime I tried to build the build.pjt in the fft library, the CCS=20 will say an error as below: "[Linking...] "C:\CCStudio_v3.3\C2000\cgtools\bin\cl2000" - @"Debug.lkf" > > error: linking files with incompatible memory models (fi
sample algorithm for hex2dec and dec2hex in F2812
inHi all, Can any one have sample code to convert hexadecimal ADC result register output value to decimal output and vice versa? If so, please...
Hi all, Can any one have sample code to convert hexadecimal ADC result register output value to decimal output and vice versa? If so, please send me the sample codes. Can any one come across this issue? Thanks in advance regards OMAP35x EVM jump-starts low-power apps The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building applications based ...
Controlling PWM Waves With DSP 2028
Hello, I am fairly new but have a simple background to DSP. My problem I am faced with is being able to output a certain number of PWM waves...
Hello, I am fairly new but have a simple background to DSP. My problem I am faced with is being able to output a certain number of PWM waves from the DSP, I wish to trigger this from an interrupt caused from a peripheral pin, Basically I set up the two examples from TI and I have successfully got the PWM and ADC examples working correctly. My problem comes when I wish to use the two examples t...
Ask a Question to the DSPRelated community
To significantly increase your chances of receiving answers, please make sure to:
- Use a meaningful title
- Express your question clearly and well
- Do not use this forum to promote your product, service or business
- Write in clear, grammatical, correctly-spelled language
- Do not post content that violates a copyright