Sign in

username:

password:



Not a member?

Search c28x



Search tips

Subscribe to c28x



Ads

Discussion Groups

Discussion Groups | TMS320C28x | C2000 toolbox for Simulink : using a memory-stored variable as a parameter

Technical discussions about the TI C28x DSPs (including the C2810, C2811, C2812, F2801, F2806, F2808, F2810,, F2811, F2812, R2811 and R2812).

  

Post a new Thread

C2000 toolbox for Simulink : using a memory-stored variable as a parameter - kevindecuyper - Mar 6 7:37:36 2008



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 blocks,
but I want to use to more efficient PID-Controler from the
DMC library.

Since the C2000 doesn't have a workspace, I tried to use the
"Memory Copy" block from the Link for Code Composer Library
with no results since the parameters must come from the
workspace.

Is there a way to tell the block the the value of a
parameters must be taken from memory and not from the workspace?

Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution
for Commercial & Consumer End Equipment: www.ti.com/dm6467

You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________

 


(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )

boot loading from SCI - AminRezaie - Mar 9 8:13:30 2008

hi every body
  I try to load my code from SCI-A to F2812, I set boot mode selection pin in SCI_A mode,
  but DSP didn't echo back my code when i send data, i have a problem with scitdxa pin, when i
pulled down this pin for select a sci boot mode how it can echo back my data,
  my loader work in spi mode and i have no problem with this but I'm confuse with this.
  ti doc say dsp answer to any baud rate which auto baud rate, plz survived me
  thank you
  Amin
Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution
for Commercial & Consumer End Equipment: www.ti.com/dm6467

You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________

 


(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )

Re: boot loading from SCI - Beat Arnet - Mar 10 6:27:15 2008

Amin,
You need to use a resistor to pull SciTxdA low (for example 2.2K). I 
recommend that you use C2oooProg to confirm that the bootload mode works.

Cheers,
Beat

AminRezaie wrote:
>
> hi every body
> I try to load my code from SCI-A to F2812, I set boot mode selection 
> pin in SCI_A mode,
> but DSP didn't echo back my code when i send data, i have a problem 
> with scitdxa pin, when i pulled down this pin for select a sci boot 
> mode how it can echo back my data,
> my loader work in spi mode and i have no problem with this but I'm 
> confuse with this.
> ti doc say dsp answer to any baud rate which auto baud rate, plz 
> survived me
> thank you
> Amin
>
>  


(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )

SDFlash programing - AminRezaie - Mar 11 6:18:39 2008

Hi every body
  Thank you Beat, It's work. I want program F2812 flash with SDFlash (spectrum digital) , I
readed TMS320F28xx SDFlash Serial RS232 Flash Programming  Ref. Guide but when I want Reset my
Emulator((R)) key on sdflash toolbars this error occur:
  ERR:Failed emulation connection to the target
ERR: DSP reset failed
 I changed this file: sdopts.cfg and added these line to file.
  [EmulatorId=C1]
EmuPortAddr=0xC1
EmuPortMode=RS232
EmuProductName=SERIAL_FLASH
  [EmulatorId=C2]
EmuPortAddr=0xC2
EmuPortMode=RS232
EmuProductName=SERIAL_FLASH
  [EmulatorId=C3]
EmuPortAddr=0xC3
EmuPortMode=RS232
EmuProductName=SERIAL_FLASH
  [EmulatorId=C4]
EmuPortAddr=0xC4
EmuPortMode=RS232
EmuProductName=SERIAL_FLASH
   
  and edit CPU_Rate from 6.667L to 10.00 because my crystal is 20.00MHz.
  now I cant connect to my board to program my code in dsp flash with SDFlash.
  I use SDFlash V1.62.03how I can find higher version of SDFlash
  Thanks
  Amin
       
Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution
for Commercial & Consumer End Equipment: www.ti.com/dm6467

You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________

 


(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )

Re: SDFlash programing - gopalakrishnan vishal anand - Mar 11 15:37:15 2008

Hi AMin,

Try increasing the time-out period given in the
SDflash project options from the default value of 3000
to somewhere around 9000. It might work.

Thanks,
Vishal

--- AminRezaie <a...@yahoo.com> wrote:

> Hi every body
>   Thank you Beat, It's work. I want program F2812
> flash with SDFlash (spectrum digital) , I readed
> TMS320F28xx SDFlash Serial RS232 Flash Programming 
> Ref. Guide but when I want Reset my Emulator((R))
> key on sdflash toolbars this error occur:
>   ERR:Failed emulation connection to the target
> ERR: DSP reset failed
>  I changed this file: sdopts.cfg and added these
> line to file.
>   [EmulatorId=C1]
> EmuPortAddr=0xC1
> EmuPortMode=RS232
> EmuProductName=SERIAL_FLASH
>   [EmulatorId=C2]
> EmuPortAddr=0xC2
> EmuPortMode=RS232
> EmuProductName=SERIAL_FLASH
>   [EmulatorId=C3]
> EmuPortAddr=0xC3
> EmuPortMode=RS232
> EmuProductName=SERIAL_FLASH
>   [EmulatorId=C4]
> EmuPortAddr=0xC4
> EmuPortMode=RS232
> EmuProductName=SERIAL_FLASH
>    
>   and edit CPU_Rate from 6.667L to 10.00 because my
> crystal is 20.00MHz.
>   now I cant connect to my board to program my code
> in dsp flash with SDFlash.
>   I use SDFlash V1.62.03how I can find higher
> version of SDFlash
>   Thanks
>   Amin
>        
>

Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution
for Commercial & Consumer End Equipment: www.ti.com/dm6467

You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________

 


(You need to be a member of c28x -- send a blank email to c28x-subscribe@yahoogroups.com )