Search found 1217 matches
- Fri Nov 28, 2014 8:12 pm
- Forum: Flowcode V6
- Topic: SPI Low level Component
- Replies: 8
- Views: 4732
SPI Low level Component
Hi All Please help me understand ,I am using the low level SPI Mater Component I understand that the Pins are defined as per the peripheral layout of the micro ,however it seems that the SS pin can not be changed, I would have expected that to be possible as the SS pin can be any pin it is not SPI p...
- Fri Nov 28, 2014 2:25 pm
- Forum: Flowcode V6
- Topic: Problem with setting dsPIC Clock Speed to 140Mhz
- Replies: 13
- Views: 11514
Re: Problem with setting dsPIC Clock Speed to 140Mhz
C code calls are allowed anywhere. I have used C code in macros without any issues. However, having encountered issues with clock settings in the past my best practice is to always do this in a C code icon in the main program to make sure nothing interferes with it. Thank you for the reply kersing!...
- Fri Nov 28, 2014 12:25 pm
- Forum: Flowcode V6
- Topic: Problem with setting dsPIC Clock Speed to 140Mhz
- Replies: 13
- Views: 11514
Problem with setting dsPIC Clock Speed to 140Mhz
Hi All I configure the Clock setting on a dsPIC33EP by including a C file in a macro then call the macro at the beginning of the Code or flow diagram (it is the fisrt function call) this code get never execute as you will see that my Timing is running 3 time to slow. I tested this by setting up a T1...
- Fri Nov 28, 2014 11:23 am
- Forum: Flowcode V6
- Topic: FC6 and pic18f65k80
- Replies: 11
- Views: 7864
Re: FC6 and pic18f65k80
Hi tello Great I am happy for you ! :D I would suggest that you ask benj as my knowledge of FC is is not as it should be at the moment and I can only expect a problem with the getInt() function.as said This benj will clear for you what we showed is that your Flow diagram and hardware are working cor...
- Thu Nov 27, 2014 9:56 pm
- Forum: Flowcode V6
- Topic: It's SPI Communications active?
- Replies: 11
- Views: 6655
Re: It's SPI Communications active?
I don't know if the SPI communications is active or not, why it looks like this? Hello MOSI,MISO,CLK pins you can not change as they are fixed on the micro you are using ,Consult the Datasheet for your device and you will see that the SPI for the device the SDO ,SDI and CLK pins are fixed to those ...
- Thu Nov 27, 2014 5:09 pm
- Forum: Flowcode V6
- Topic: FC6 and pic18f65k80
- Replies: 11
- Views: 7864
Re: FC6 and pic18f65k80
Hi tello if you measure on the AN0 pin what voltage do you measure on the pin because from your code I see no problem with the configuartion of the potentiometer component this should read the AN0 correctly ! maybe just for a test (1)Write to what you measure as a Voltage on the AN0 pin with a voltm...
- Thu Nov 27, 2014 3:07 pm
- Forum: Flowcode V6
- Topic: FC6 and pic18f65k80
- Replies: 11
- Views: 7864
Re: FC6 and pic18f65k80
:D I am not an expert but I am working with PIC's since 12 years my Problem is a bit like yours I am very new to FC(been programming in C ) I would think that you need to convert your AN value into a string of characters before displaying on the LCD(if not I expect it would show strange things on th...
- Thu Nov 27, 2014 12:15 pm
- Forum: Flowcode V6
- Topic: FC6 and pic18f65k80
- Replies: 11
- Views: 7864
Re: FC6 and pic18f65k80
Hi tello it seems you are using a 10MHZ Crystal Clock then your Clock frequency you define in the project settings are incorrect (this will have an effect on the LCD delays etc.) you will notice that in your project settings you have PLL enabled then your Clock frequency is 10*4 = 40MHZ change the v...
- Wed Nov 26, 2014 4:02 pm
- Forum: Flowcode V6
- Topic: FC6 and pic18f65k80
- Replies: 11
- Views: 7864
Re: FC6 and pic18f65k80
Hi tello I would advise you to just post a small code that shows your problem? the full projects is too large and I guess most user do not have the time to analyze such a big code to try and find your error for example the problem with your adc code just post a simple code that does not work ,if you...
- Mon Nov 24, 2014 7:19 pm
- Forum: Flowcode V6
- Topic: Addressable LED Strip - One Wire Timing
- Replies: 3
- Views: 3441
Re: Addressable LED Strip - One Wire Timing
I understand the pulse timing does not have to be super accurate but the only timing I have done is using PC delays.. calling lots and lots of delays seems obviously crazy so I assume there is a much better way. Just a though out of the stomach ,Most PIC's have a CCP/PWM module which has the abilit...
- Sun Nov 23, 2014 5:46 pm
- Forum: General Programming
- Topic: Using the Scope with ghost
- Replies: 9
- Views: 7526
Re: Using the Scope with ghost
Hi Martin This is just a very crude project I made to get to know how to work with the RS232 to get the data from the mcu into FC and how to display it on the FC indicators no attention is payed to good code and programming practices it is purely to try FC and the displays for implementation in futu...
- Sun Nov 23, 2014 5:04 pm
- Forum: General Programming
- Topic: Using the Scope with ghost
- Replies: 9
- Views: 7526
Re: Using the Scope with ghost
So if it was me and I was waiting for RPM data then for receiving I would set up RS232 as an RS232 RX interrupt. Hi Martin Thank you for your reply :D I use the Rx Interrupt method in some applications with Serial USB however this is the first time I use FC to display some machine data (normally I ...
- Sun Nov 23, 2014 3:29 pm
- Forum: General Programming
- Topic: Using the Scope with ghost
- Replies: 9
- Views: 7526
Re: Using the Scope with ghost
Hi Benj linking my application to the Serial and the Simulation panels worked well :D however I am not sure I handle the receiving correctly and any help regarding this will be appreciated What I did is the following (because I am not sure where FC saves the received byte the help file also does not...
- Fri Nov 21, 2014 7:22 pm
- Forum: Flowcode V6
- Topic: linking the C30 Library into FC Project
- Replies: 5
- Views: 3339
Re: linking the C30 Library into FC Project
For adc you do not need to add any library. ADC is build into Flowcode and does not require additional libraries. . I know adc is supported in FC however I want to do multiple channel simultaneously which I do not see how to do in FC this the reason I want to use the C30 lib or I need to roll out t...
- Fri Nov 21, 2014 5:59 pm
- Forum: Flowcode V6
- Topic: linking the C30 Library into FC Project
- Replies: 5
- Views: 3339
Re: linking the C30 Library into FC Project
Hi kersing I think i understand the addition which you made to the file is the lib",-ldsp, part which points to the dsp library , my uncertainty is how do you know that this needs to be added do you see it somewhere from the files in the compiler lib folder secondly i want to add the library for per...
- Fri Nov 21, 2014 3:53 pm
- Forum: Flowcode V6
- Topic: linking the C30 Library into FC Project
- Replies: 5
- Views: 3339
Re: linking the C30 Library into FC Project
Hi Kersing
Thank you very much I will work through this ,I appreciate you sharing this
Thank you very much I will work through this ,I appreciate you sharing this
- Fri Nov 21, 2014 1:53 pm
- Forum: Flowcode V6
- Topic: linking the C30 Library into FC Project
- Replies: 5
- Views: 3339
linking the C30 Library into FC Project
Hi All I have a few designs on Motor Control that I am using some of the C30 Libraries in these projects in order for me to move forward with FC in future it might be necessary to know how I can include Compiler libraries into a FC project ;i have search the Matrix learning center but nothing showed...
- Fri Nov 21, 2014 11:28 am
- Forum: Flowcode V6
- Topic: Poblem with setting scope trace colors
- Replies: 2
- Views: 2214
Re: Poblem with setting scope trace colors
Thank you very much Benj that did the job
- Fri Nov 21, 2014 10:29 am
- Forum: Flowcode V6
- Topic: Poblem with setting scope trace colors
- Replies: 2
- Views: 2214
Poblem with setting scope trace colors
Hi All I am not sure if it is me doing something wrong or a problem with FC , I change the templates in the option menu to template 2 ,3,4 etc the trace colors for the scope does show different colors for each trace however the trace color never changes in the scope I started with a white trace for ...
- Thu Nov 20, 2014 10:17 pm
- Forum: Flowcode V6
- Topic: parallel LCD
- Replies: 7
- Views: 6049
Re: parallel LCD
@billduck
dont worry I made the exact mistake only with another component
dont worry I made the exact mistake only with another component
- Thu Nov 20, 2014 6:22 pm
- Forum: General Programming
- Topic: Using the Scope with ghost
- Replies: 9
- Views: 7526
Re: Using the Scope with ghost
With test mode active the simulation is no longer active, e.g. the panels no longer simulate. We are working on improving this functionality in future to basically allow what you are suggesting but there are complications. That would be a great feature for FC ,I really hope that you guys will get t...
- Thu Nov 20, 2014 3:48 pm
- Forum: General Programming
- Topic: PIC18F65K80 hardware programming
- Replies: 7
- Views: 7353
Re: PIC18F65K80 hardware programming
Hi
I did not try this myself with FC however in the past i did use the COF file produced from other compilers and loaded the COF file into MPLAB and debugged with MPLAB and PICkit2/3
maybe you can try if it work let us know as FC also generate a COF file on compilation
I did not try this myself with FC however in the past i did use the COF file produced from other compilers and loaded the COF file into MPLAB and debugged with MPLAB and PICkit2/3
maybe you can try if it work let us know as FC also generate a COF file on compilation
- Thu Nov 20, 2014 1:41 pm
- Forum: General Programming
- Topic: Using the Scope with ghost
- Replies: 9
- Views: 7526
Re: Using the Scope with ghost
Hello Benj Thank you very much this did the job. just another question if I have a variable in which I calculate Rpm from the input pulse signal at a pin ,can I get the value over ghost and display it in a meter what I mean is the pulse trigger on pin RB0 is transformed into a Rpm of the machine i w...
- Wed Nov 19, 2014 10:04 pm
- Forum: General Programming
- Topic: Using the Scope with ghost
- Replies: 9
- Views: 7526
Using the Scope with ghost
Hi All I apologize for asking so many questions I really appreciate your help and patience with me. I what to use the Gost on my EB006V9 to send me the state of a pin and the value of an a voltage on the AN0 pin to the scope component and if possible the bit value of the conversion to a gauge my unc...
- Wed Nov 19, 2014 6:48 pm
- Forum: E-blocks
- Topic: ECIO Driver isssue in vista
- Replies: 9
- Views: 8598
Re: ECIO Driver isssue in vista
Benj The jumper is in the USB position and the ECIO is plugged into a EB061 with nothing connected to the EB061 besides the USB cable :D Thanks a million for all your help Regards Peter Update: I tried the ECIOP16 on 3 machines now with no luck. Benj would it be ok if I post the board back to you, t...