Home     Company     Products     Services     Community     Download     Store
    [Home arrow Community arrow Forum ]
Community
Community
Login Form





Lost Password?
No account yet? Register
Evidence Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Code generator for Flex. Really good but... (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Code generator for Flex. Really good but...
#124
desmomito (User)
Junior Boarder
Posts: 27
graphgraph
User Offline Click here to see the profile of this user
Code generator for Flex. Really good but... 6 Months, 4 Weeks ago Karma: 0  
Hi,
I'm starting to use the code generator for Flex Full board and I'm really interested in that. I'd like to design a digital control system all with Scicos code generator. I've read the documentation in order to understand how to use the dsPIC inputs and outputs. I've seen for example that the PWM is fixed at 1ms. I'd like to customize my application in order to have the specifications I want to achieve. For example I'd like to have a 16kHz PWM, different use of the ADC, etc..How can I manage to do that ? Should I modify the Scicos block ? Is there any docs that explain those points ?


Thanks in advance,
Pasquale.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#126
paolo.gai (Admin)
Admin
Posts: 116
graph
User Offline Click here to see the profile of this user
Re:Code generator for Flex. Really good but... 6 Months, 4 Weeks ago Karma: 4  
Hi Pasquale...

You need to look inside the files which implement each scicos block, and modify them!

You can find them under the /ee/contrib/scicos .

The demo application which is generated is inside /examples/pic30/pic30_scicos

bye

PJ
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#128
desmomito (User)
Junior Boarder
Posts: 27
graphgraph
User Offline Click here to see the profile of this user
Re:Code generator for Flex. Really good but... 6 Months, 4 Weeks ago Karma: 0  
Thank you,
but what I want to know is how to build my own library. I know I can start modifying that files but I'd like to create new ones starting from them. Do you have more docs on how to do that ? I know it's not really easy but I'm really interested in do that.


Thank you,
Pasquale.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#129
paolo.gai (Admin)
Admin
Posts: 116
graph
User Offline Click here to see the profile of this user
Re:Code generator for Flex. Really good but... 6 Months, 4 Weeks ago Karma: 4  
There is a post in the early days of this forum which documents how to manage and create new Scicos blocks...

http://www.evidence.eu.com/component/option,com_fireboard/Itemid,262/func,view/id,6/catid,3/

It's probably the case to insert it into the manuals

You need to:

- generate new blocks using the block generator from Roberto. You can find it in Roberto Bucher's home page at http://web.dti.supsi.ch/~bucher/

- create your own Scicos palette (described before in the forum)

- create your scicos library into contrib (described before in the forum)

bye

PJ
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#134
desmomito (User)
Junior Boarder
Posts: 27
graphgraph
User Offline Click here to see the profile of this user
Re:Code generator for Flex. Really good but... 6 Months, 3 Weeks ago Karma: 0  
Thank you.
Now I'm trying to buil the first application using the code generator. What I've done is to follow the explanation written in "Scilab/Scicos code generator for Flex" and I've built the example (Sinus+Led). I moved on MPLAD, I've imported the "pic30.elf". Than I programmed the Flex using MPLAB "Program Target Device". Than I removed the MPLAD ICD2, I switched off the Flex and than I swtiched on again. I can see that the LED goes on and off but just 4 or 5 times and than nothing happen. Also if I switch off and on again the Flex nothing happen. Where am I wrong ?


Thank you,
Pasquale.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#135
paolo.gai (Admin)
Admin
Posts: 116
graph
User Offline Click here to see the profile of this user
Re:Code generator for Flex. Really good but... 6 Months, 3 Weeks ago Karma: 4  
hmmm... quite strange.

Are you able to correctly program the board with the other examples we provide under RT-Druid? (e.g., the simple periodic task example)?

PJ
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
Evidence S.r.l. - PIVA: 01638690501
Via Carducci 64/A - Ghezzano - Pisa - Italy
Privacy Policy