Search found 5 matches

by learner
Tue Dec 11, 2007 5:25 pm
Forum: Advanced Simulink & RTW Questions
Topic: counter application
Replies: 8
Views: 5022

Hi Lubin,

I updated my old version of C30 and now it works.

Thanks!

Learner
by learner
Mon Dec 10, 2007 8:36 pm
Forum: Advanced Simulink & RTW Questions
Topic: counter application
Replies: 8
Views: 5022

Hi Lubin, Thanks for your answers for my questions. Here is another question: when I build your example model dsPIC_33f_Explorer16.mdl I got the following error message: error: Invalid -mcpu option. CPU 33FJ256GP710 not recognized. while the other three examples succeeded in building. I noticed that...
by learner
Tue Dec 04, 2007 5:30 pm
Forum: Advanced Simulink & RTW Questions
Topic: counter application
Replies: 8
Views: 5022

Hi Lubin, Thanks again for your reply. If I go with the "C Function Call" block (I know it is only available for full version), 1) Is there any restrictions/limitations for me to write/read any Special Function Registers (SFR) of the dsPIC within the C code (provided I don't corrupt other code)? 2) ...
by learner
Mon Dec 03, 2007 5:50 pm
Forum: Advanced Simulink & RTW Questions
Topic: counter application
Replies: 8
Views: 5022

Hi Lubin, Thanks for your reply on the counter issue. Like you suggested, I think the "C Function Call" block can do the work. However, I still think that a couple of Simlink blocks capable of doing the timer/counter configuration, control and reading/resetting will be the perfect solution since tha...
by learner
Fri Nov 30, 2007 4:25 pm
Forum: Advanced Simulink & RTW Questions
Topic: counter application
Replies: 8
Views: 5022

counter application

Hi Lubin, I am considering to use your dsPIC simulink blockset for my project and I have tested some blocks on my target board and it works really great! However, one application that I am really concerned about is the use of timer as counter. I need to count the input pulses (with frequency varies ...