Search found 5 matches

by konsgn
Thu May 12, 2011 4:46 pm
Forum: General Remark and Questions
Topic: error generating code using blockset
Replies: 1
Views: 2503

Re: error generating code using blockset

I don't think you can use the Sumulink embedded PWM generator at such a high carrier frequency, especially since your timestep is set to 1ms. If you want to generate a PWM output from the PIC microcontroller look into using "Output Compare" and set the module to mode 5 where you set the up...
by konsgn
Thu May 12, 2011 3:12 pm
Forum: bug reports
Topic: Main function not found
Replies: 1
Views: 1559

Re: Main function not found

Hi All, I got the error fixed. By moving it to a folder located within the subdirectories that also house the dsPIC install, it started working. I do still have a couple of questions. 1. Why does the z^-1 delay block take up a ridiculous amount of memory? Does it create a variable for every timestep...
by konsgn
Fri Apr 29, 2011 2:10 pm
Forum: bug reports
Topic: Main function not found
Replies: 1
Views: 1559

Main function not found

Hi Lubin, I've been working on a model to write to an LCD display based on the PIC30F6015. I've been able to fix a memory error with an overflow in .bss by removing z^-1 delays in the thousands. However now that the memory error is fixed, I get to the output display from the PIC compiler telling me ...
by konsgn
Wed Apr 27, 2011 9:01 pm
Forum: General Remark and Questions
Topic: PIC32 SPI
Replies: 7
Views: 7494

Re: PIC32 SPI

Hi Lubin, I've been working a lot on getting SD card capability for logging data in Simulink. I have placed all the relevant headers and C files provided by Microchips Application Solution MDD file system in the working directory of the model. I have also removed any nested folders. The problem I ha...
by konsgn
Wed Jan 05, 2011 4:01 pm
Forum: General Remark and Questions
Topic: PIC32 SPI
Replies: 7
Views: 7494

PIC32 SPI

Greetings,

I was wondering what the progress was on getting SPI functionality for the PIC32MX line?
What about using the C function call to call working C32 compiler code that would handle the SPI communication?
Are there any workarounds for getting SPI working?

Thank you,
Konsgn

Go to advanced search