EmbeddedRelated.com
Memfault Beyond the Launch

Datatype declaration for variables in F2812

Started by naay...@gmail.com in TI C200016 years ago 1 reply

Hi all, Can any one tell me how do we declare data type for the variables having a fractional value float n=0.2; int16 A=540; float...

Hi all, Can any one tell me how do we declare data type for the variables having a fractional value float n=0.2; int16 A=540; float B=50e-06; float C=2.109375e-06;, i have assigned n,B,C as float. but DSP working in Fixed point.Should i mention the above as frac? how many bits whether it will take float as 16bit or 32 bit? or frac as 16bit or 32bit? if i give float16 it gives erro...


Accessing the ADC result registers in F2812

Started by naay...@gmail.com in TI C200016 years ago 1 reply

Hi all, Could you please tell me how do i perform computation with ADC outputs? I need to write commands in C. I know that ADC outputs can be...

Hi all, Could you please tell me how do i perform computation with ADC outputs? I need to write commands in C. I know that ADC outputs can be accessbile through ADC result register. Incase if i do some computation with the results in ADC,should i get the value of ADCresult register in hexa, or binary or decimal? For example, i want the result of realtime voltage input, it would be in ADC res...


Section violation error in C2000prog serialprogrammer

Started by narc...@gmail.com in TI C200016 years ago

i have converted the .out file of examples given in TIdcs to intel hex files using hex2000 utility. i tried to program these files using...

i have converted the .out file of examples given in TIdcs to intel hex files using hex2000 utility. i tried to program these files using c2000prog. but it shows SECTOR VIOLATION error. could anyone help me? i think there is some problem with .cmd files. MEMORY { PAGE 0 : /* For this example, H0 is split between PAGE 0 and PAGE 1 */ /* BEGIN is used for the "boot to HO" bootloade...


How to access data stored in FLASH and using label directive

Started by hema...@gmail.com in TI C200016 years ago 2 replies

Hello, I am using eZdsp(F2812) as a standalone controler.I am having problems with FLASH programming.I am trying to execute simple addition...

Hello, I am using eZdsp(F2812) as a standalone controler.I am having problems with FLASH programming.I am trying to execute simple addition program running from FLASH with initialized data stored in FLASH.But I am not getting any result stored in third variable which I am trying to store back in FLASH.I feel I am unable to access the data stored in FLASH.Is there any way to access data sto...


problem erasing flash STATUS_FAIL_PRECOMPACT

Started by aclo...@gmail.com in TI C200016 years ago

Hello, I'm working with the development kit ezdsp320f2808. I'm having problems programming flash. When I try to program it with sdflash and...

Hello, I'm working with the development kit ezdsp320f2808. I'm having problems programming flash. When I try to program it with sdflash and xd5510usb jtag module, appears this message : ERR: Erase target algorithm failed. ERR: Algo return value = 0x0018 ERR: Erase flash failed. WARNING: THE CONTENTS OF THE SECURITY PASSWORD LOCATIONS IN THE FLASH MAY NOT BE IN THE EXPECTED STATE. FOR FURTHE...


How to do Watchdog reset ?

Started by sanj...@gmail.com in TI C200016 years ago

Hi ALL, I want WDCR and SCSR configuration details for watchdog reset. I have gone through the data sheet and configure them as per my...

Hi ALL, I want WDCR and SCSR configuration details for watchdog reset. I have gone through the data sheet and configure them as per my understanding. In my case watchdog reset (I can monitor low reset signal at XRS pin using CRO) is happening. Sometime it is re-executing a code and sometimes it is not !!! And even if it is re-executing a code the WDFLAG bit in WDCR register is not getting set to ...


Error with >#pragma CODE_SECTION<

Started by jose...@cern.ch in TI C200016 years ago

Hi, I want to use the #PRAGMA CODE_SECTION directive, but the Compiler (CCS 3.1.0) gives the error: error: badly formed pragma. I have tried...

Hi, I want to use the #PRAGMA CODE_SECTION directive, but the Compiler (CCS 3.1.0) gives the error: error: badly formed pragma. I have tried all things but none seems to work... where is the error? Thanks > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > The File where the related functions are used is: #include "DSP_ClkSystem.h" #include "DSP280x_Device.h


C2000 toolbox for Simulink : using a memory-stored variable as a parameter

Started by kevindecuyper in TI C200016 years ago 4 replies

Hello, I've been toying with the C2000 toolbox for a little while now, but I'm hitting a wall on this one. What I'm trying to do is a PID...

Hello, I've been toying with the C2000 toolbox for a little while now, but I'm hitting a wall on this one. What I'm trying to do is a PID controler whose parameters can be changed by an external source or using a RTDX channel. In fact this problem might arise for every block whose parameters can't be specified from the outside. Now I could create the controler with basic Simulink bloc...


F2812 ADC output fluctuates

Started by Salih Cihan Tek in TI C200016 years ago 6 replies

Hi all, I'm trying to use the ADC on the ezDSP F2812 development board. I made a simple voltage divider in a breadboard using resistors and...

Hi all, I'm trying to use the ADC on the ezDSP F2812 development board. I made a simple voltage divider in a breadboard using resistors and then buffered it with a voltage follower before sending it to the ADC pin for experimenting with the ADC. The breadboard is powered by a 3V3 voltage regulator. (It doesn't take it power from the board) When i looked at the output values of the AD...


Seeking for help in TMS320F2808 program

Started by Chong in TI C200016 years ago 3 replies

Hi, I am new to this discussion group and hopefully someone can help to sort out my problem. I just got my 1st program flash into...

Hi, I am new to this discussion group and hopefully someone can help to sort out my problem. I just got my 1st program flash into TMS320F2808 DSP on eZDSP board. In the application, I need to update some parameters/values from time to time. Because I included all these variable in the main program, I then need to flash the entire program everytime I updated the values. I am just wondering ...


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright


Memfault Beyond the Launch