Search found 1217 matches
- Tue Dec 09, 2014 1:19 pm
- Forum: Flowcode V6
- Topic: ECIO40P16 PWM Chip Output
- Replies: 9
- Views: 6217
Re: ECIO40P16 PWM Chip Output
Hi Just to show you an example below is the code I use to run 2 PWM's set at 10KHZ on an ECIO40P16 . You can achieve any frequency you need by setting up the PTPER register with pre-scalers , then you can use multiple modes op operation for the PWM module check out the Referance manual on PWM for th...
- Tue Dec 09, 2014 8:31 am
- Forum: Flowcode V6
- Topic: ECIO40P16 PWM Chip Output
- Replies: 9
- Views: 6217
Re: ECIO40P16 PWM Chip Output
I'm very surprised that the chip cannot output PWM frequencies of 20KHz for DC motors without using software interrupts. will the PWM support the 50Hz PWM frequency of RC Servo Motors with 1-2mSec pulse width? In my opinion it is not the chip ,The chip can do that ,it is the way the FC PWM componen...
- Mon Dec 08, 2014 9:48 pm
- Forum: Flowcode V6
- Topic: PIC24FJ64GB004 USB serial enumerates, no data send/receive
- Replies: 24
- Views: 12065
Re: PIC24FJ64GB004 USB serial enumerates, no data send/recei
Thank you for the reply
I see you are using the real USB port then I am not much of help to you as USB is out of my league ,I only use the UART - USB VCP setup
however I guess the pin mapping is still valid to look at and I hope one of the more experienced guys will help you
I see you are using the real USB port then I am not much of help to you as USB is out of my league ,I only use the UART - USB VCP setup
however I guess the pin mapping is still valid to look at and I hope one of the more experienced guys will help you
- Mon Dec 08, 2014 9:10 pm
- Forum: Flowcode V6
- Topic: flowcode V6 - 18F1330 PWM
- Replies: 6
- Views: 4300
Re: flowcode V6 - 18F1330 PWM
Hi Guys I just had a look at the datasheet of the 18F1330 and it has the same power Control module as the PIC18xx31 and in my opinion it is possible to run individual PWM pins or the pair combinations as for the advanced PWM schemes the OVDCOND register allows you to achieve the individual pin PWM ,...
- Mon Dec 08, 2014 8:45 pm
- Forum: Flowcode V6
- Topic: flowcode V6 - 18F1330 PWM
- Replies: 6
- Views: 4300
Re: flowcode V6 - 18F1330 PWM
advanced PWM peripherals cannot even be enabled individually. @Benj I am not a 18F1330 user however I use the 2431and 4431 and the 4331 a lot and I use single PWM on this device by setting the OVDCON and OVDCONS registers and by setting the Pins to individual mode I apologize if i misunderstood you...
- Sun Dec 07, 2014 3:44 pm
- Forum: Flowcode V6
- Topic: PIC24FJ64GB004 USB serial enumerates, no data send/receive
- Replies: 24
- Views: 12065
Re: PIC24FJ64GB004 USB serial enumerates, no data send/recei
Just a question did you remap the pins to the correct UART module you are using as the PIC24 has re-mappable pins you need to make sure that you map to the correct pin Can you post your config for the USB serial(the properties panel ) As you will see by placing the RS232 Component there is no pins s...
- Sun Dec 07, 2014 1:19 pm
- Forum: Flowcode V6
- Topic: reading and writing to an EEPROM in V6
- Replies: 5
- Views: 4070
Re: reading and writing to an EEPROM in V6
Yes Kersing is correct in my original post you will see both the EEPROM functions it is only by accident that the CAL one is highlighted you should read the help file for each component which will tell you the function of each of them
- Sat Dec 06, 2014 8:56 pm
- Forum: Flowcode V6
- Topic: reading and writing to an EEPROM in V6
- Replies: 5
- Views: 4070
Re: reading and writing to an EEPROM in V6
If you go to the search panel and enter EEPROM you will find it
- Sat Dec 06, 2014 10:28 am
- Forum: Flowcode V6
- Topic: Compiling issue
- Replies: 8
- Views: 4964
Re: Compiling issue
Just had a look too it looks very good :D This will be great if FC will allow the use of the standard included Libraries through C files as they have advance peripheral support such as CCP /SPI/I2C Advance PWM module ect which would be great While you are making the change allow the user have more a...
- Fri Dec 05, 2014 11:02 pm
- Forum: Flowcode V6
- Topic: Compiling issue
- Replies: 8
- Views: 4964
Re: Compiling issue
Thank you Ben for the information
- Tue Dec 02, 2014 3:42 pm
- Forum: Flowcode V6
- Topic: Problem with setting dsPIC Clock Speed to 140Mhz
- Replies: 13
- Views: 11515
Re: Problem with setting dsPIC Clock Speed to 140Mhz
Thank you GTF that helps a lot
- Tue Dec 02, 2014 3:25 pm
- Forum: Flowcode V6
- Topic: Problem with setting dsPIC Clock Speed to 140Mhz
- Replies: 13
- Views: 11515
Re: Problem with setting dsPIC Clock Speed to 140Mhz
Hi Benj Just a feed back I added the lines of code as you suggested that helped in the sense that I could use the macro call and the controller would run however it did a few times not start to run after discussions with Microchip Field application engineer I had to include a while loop that checks ...
- Tue Dec 02, 2014 1:24 pm
- Forum: Flowcode V6
- Topic: Compiling issue
- Replies: 8
- Views: 4964
Re: Compiling issue
Benj wrote: We will be moving to a newer compiler for PIC and dsPIC shortly in the new year
I personally hope you are moving direction XC8 and XC16
- Tue Dec 02, 2014 1:21 pm
- Forum: Flowcode V6
- Topic: Problem with setting dsPIC Clock Speed to 140Mhz
- Replies: 13
- Views: 11515
Re: Problem with setting dsPIC Clock Speed to 140Mhz
Thank you BenJ and GTF for your help I appreciate it
- Mon Dec 01, 2014 6:28 pm
- Forum: Flowcode V6
- Topic: Problem with setting dsPIC Clock Speed to 140Mhz
- Replies: 13
- Views: 11515
Re: Problem with setting dsPIC Clock Speed to 140Mhz
Ben Thank you very much I will do as you advise. I am just not on the same page with you with the 58 setting it depends what you use for N1 and N2 in the PLLPRE and PLLPOST(in my understanding) also M is 2 + the value you write to the PLLFDB ,I use 0 and that is always 2 in each of them then FOSC = ...
- Mon Dec 01, 2014 3:19 pm
- Forum: Flowcode V6
- Topic: Problem with setting dsPIC Clock Speed to 140Mhz
- Replies: 13
- Views: 11515
Re: Problem with setting dsPIC Clock Speed to 140Mhz
Hi Benj
This is the macro I am using ,thanks for looking at this
This is the macro I am using ,thanks for looking at this
- Mon Dec 01, 2014 1:26 pm
- Forum: Feature requests
- Topic: Support for 16F17XX Family
- Replies: 3
- Views: 3805
Re: Support for 16F17XX Family
David
Thank you for your reply.I understand this totally,
Thank you for your reply.I understand this totally,
- Mon Dec 01, 2014 10:59 am
- Forum: Flowcode V6
- Topic: SPI Low level Component
- Replies: 8
- Views: 4732
Re: SPI Low level Component
Hi Benj For master functionality it's probably best for you to use your own CS pin and clear / set it yourself using an output icon in single bit mode. Thank you for the information :D That works fine using an user defined pin however my concern is that the SS pin is allocated and configured in the ...
- Mon Dec 01, 2014 10:20 am
- Forum: Flowcode V6
- Topic: FC6 and pic18f65k80
- Replies: 11
- Views: 7865
Re: FC6 and pic18f65k80
Hi Tello
This sound very good thank you for informing
Good luck
This sound very good thank you for informing
Good luck
- Mon Dec 01, 2014 9:18 am
- Forum: General Programming
- Topic: How to measure pulse period?
- Replies: 9
- Views: 15216
Re: How to measure pulse period?
Victor I have no idea why you cannot open the project files in FC6 Demo. maybe one of the experience FC guys can help us with this problem :D Doesn't Flowcode have enough facilities to measure pulse without custom code, by using existing icons and created macros? I did not find any blocks(component ...
- Sun Nov 30, 2014 10:04 pm
- Forum: General Programming
- Topic: How to measure pulse period?
- Replies: 9
- Views: 15216
Re: How to measure pulse period?
Hi I have modified the project I added some code that outputs a pulse corresponding to the Input pulse low time all you need to do now is do the maths and load the timer value and you have your pulse this code should give you a kick start , There might be small problems as you go a long as I did not...
- Sun Nov 30, 2014 6:34 pm
- Forum: General Programming
- Topic: How to measure pulse period?
- Replies: 9
- Views: 15216
Re: How to measure pulse period?
What I suggest you do is try to build upon the project I posted with your own code and post it here when you have problems and all of us can try to help you , this way you will learn FC and me too :D Here is the C file I used for the pulse measurement anybody else with a better solution please let u...
- Sun Nov 30, 2014 6:28 pm
- Forum: General Programming
- Topic: How to measure pulse period?
- Replies: 9
- Views: 15216
Re: How to measure pulse period?
Hi I do not have a PIC12F615 however I have a PIC12F675 and played a bit with you idea. what i did as you will see I used the INT0 pin on the PIC to measure the input Pulse,I set the Interrupt to occur on the Falling edge and then I start Timer1 and set the Interrupt to occur on the rising edge in a...
- Sat Nov 29, 2014 4:45 pm
- Forum: General Programming
- Topic: How to measure pulse period?
- Replies: 9
- Views: 15216
Re: How to measure pulse period?
Hello
Your PIC has a CCP/PWM which is designed to do things as you want to do measure a pulse/duty cycle/low or high Pulse time etc it is just a matter of configuring the CCP module
Check the data sheet for the device section Capture Compare it will help you to achieve your goal.
Your PIC has a CCP/PWM which is designed to do things as you want to do measure a pulse/duty cycle/low or high Pulse time etc it is just a matter of configuring the CCP module
Check the data sheet for the device section Capture Compare it will help you to achieve your goal.
- Sat Nov 29, 2014 4:34 pm
- Forum: Feature requests
- Topic: Support for 16F17XX Family
- Replies: 3
- Views: 3805
Support for 16F17XX Family
Hi Team Please consider to support the PIC16F17XX family of micro's ,these devices are very handy as they have PSMC ,Configurable logic Cell and Numeric control Oscillator modules together these module can measure decode and generate very complex and onother nice feature is the core independent peri...