Search found 288 matches
- Tue Jan 15, 2019 9:21 am
- Forum: General Programming
- Topic: Logic help - Ignoring short pulses
- Replies: 5
- Views: 3682
Re: Logic help - Ignoring short pulses
Hello Martin & mnf Below is a short depection of what I am looking to achieve. This is basically a signal coming of of a comparitor. I had the raw signal going through a low pass filter before entering the comparator but I was adding too much delay on the filtered signal. So I reduced the value of t...
- Mon Jan 14, 2019 5:30 pm
- Forum: General Programming
- Topic: Logic help - Ignoring short pulses
- Replies: 5
- Views: 3682
Logic help - Ignoring short pulses
Hello I have spent far longer on this issue than I really should, it seems so simple but I cant seem to get it right and I seem to be going round in circles. I have an IOC pin that I need to use to time the length of high and low puslses. I am increasing a variable in a timer between any changes on ...
- Tue Jan 08, 2019 10:47 am
- Forum: General Programming
- Topic: Not compiling into new micro controller
- Replies: 25
- Views: 10909
Re: Not compiling into new micro controller
Hi Leigh
Please can you let me know when I can perform the update without needing to add the file again?
Thanks
Please can you let me know when I can perform the update without needing to add the file again?
Thanks
- Mon Jan 07, 2019 12:14 pm
- Forum: Flowcode V8
- Topic: PWM on one channel also shown on disabled channels
- Replies: 6
- Views: 3013
Re: PWM on one channel also shown on disabled channels
OK, thanks Ben
- Mon Jan 07, 2019 10:35 am
- Forum: Flowcode V8
- Topic: PWM on one channel also shown on disabled channels
- Replies: 6
- Views: 3013
Re: PWM on one channel also shown on disabled channels
Quick update So, the duplication of the PWM on the other channels is down to hardware as you have suggested... thanks... To test it I just soldered a PIC to a new board with only athe bypass caps, crystal and its caps and the other channels look clean. I will look at updating the design with some pu...
- Mon Jan 07, 2019 9:34 am
- Forum: Flowcode V8
- Topic: PWM on one channel also shown on disabled channels
- Replies: 6
- Views: 3013
Re: PWM on one channel also shown on disabled channels
It's difficult to get the schematic as this is only a very small section of the whole design. I understand the theory on using bootstraps (which I am in this case IRS2011). For both thte the high side and low side there is a direct connection between the PWM output of the PIC into dhe driver, betwee...
- Sat Jan 05, 2019 3:21 pm
- Forum: Flowcode V8
- Topic: PWM on one channel also shown on disabled channels
- Replies: 6
- Views: 3013
PWM on one channel also shown on disabled channels
Hello All So, I have a PWM on channel 1 on the dsPIC30F3011. This gives a next signal. However when I take a scope to the other PWM channels (even though they are disabled) I get a scalled mirror of the signal. The IC works from 5V and the PWM coming out of the disabled PWM is around 120mV (see pic)...
- Thu Jan 03, 2019 3:44 pm
- Forum: General Programming
- Topic: Not compiling into new micro controller
- Replies: 25
- Views: 10909
Re: Not compiling into new micro controller
Hello Leigh
It just does not seem to be my day today...
I copied and pasted teh location and relpaced the file.
I then re-started FC8, saw the update, downloaded update and re-started again.
Compiled the program again, and tested it on hardware.
The PWM is still coming out of PortD
It just does not seem to be my day today...
I copied and pasted teh location and relpaced the file.
I then re-started FC8, saw the update, downloaded update and re-started again.
Compiled the program again, and tested it on hardware.
The PWM is still coming out of PortD
- Thu Jan 03, 2019 3:09 pm
- Forum: General Programming
- Topic: Not compiling into new micro controller
- Replies: 25
- Views: 10909
Re: Not compiling into new micro controller
Hi Leigh
I have had to put it into a differnet place C:\Program Files (x86)\Flowcode v8\DefaultData\FlowcodeV8\FCD\PIC16 but it does not seem to be working. IS it in the wrong location?
I have re-started FC8 as well, but the PWM is still going out of PortD
Thanks
I have had to put it into a differnet place C:\Program Files (x86)\Flowcode v8\DefaultData\FlowcodeV8\FCD\PIC16 but it does not seem to be working. IS it in the wrong location?
I have re-started FC8 as well, but the PWM is still going out of PortD
Thanks
- Thu Jan 03, 2019 2:14 pm
- Forum: General Programming
- Topic: Not compiling into new micro controller
- Replies: 25
- Views: 10909
- Thu Jan 03, 2019 2:09 pm
- Forum: General Programming
- Topic: Not compiling into new micro controller
- Replies: 25
- Views: 10909
Re: Not compiling into new micro controller
Hi Leigh
I think you may have missed the last post.
I think you may have missed the last post.
- Thu Jan 03, 2019 1:58 pm
- Forum: General Programming
- Topic: Not compiling into new micro controller
- Replies: 25
- Views: 10909
Re: Not compiling into new micro controller
Hmmmm, I have just taken the scope to all the pins around the micro. It seems I am getting a PWM output at the correct duty cycle but on the wrong pin. I did not know there were re-mappable or alternative pins for the PWM's... However, the PWM is coming out on EMUD2/OC2/IC2/INT2/RD1 which seems a li...
- Thu Jan 03, 2019 1:38 pm
- Forum: General Programming
- Topic: Not compiling into new micro controller
- Replies: 25
- Views: 10909
Re: Not compiling into new micro controller
Hi Leigh OK, so when I change from channel 6 down to channel 3 I can now compile. But I think I am missing something. In simulations the PWM works OK but I get nothing on the hardware when I just enable the PWM and set a duty cycle. I have tried fiddling with the configuration settings, but still no...
- Wed Jan 02, 2019 4:33 pm
- Forum: General Programming
- Topic: Not compiling into new micro controller
- Replies: 25
- Views: 10909
Re: Not compiling into new micro controller
Hi Leigh Thanks for the reply. I only need 3 standard PWM channels, but everytime I add the third one I get the error code listed on the previous post. This happened a little while back with a different micro and Ben managed to doing an update on V8.1 to get it working. (I am using Channels 2, 4 & 6...
- Wed Jan 02, 2019 1:20 pm
- Forum: General Programming
- Topic: Not compiling into new micro controller
- Replies: 25
- Views: 10909
Re: Not compiling into new micro controller
Hi Ben
I need answer to this please, I think it may need another update.
Thanks
I need answer to this please, I think it may need another update.
Thanks
- Thu Dec 20, 2018 3:03 pm
- Forum: General Programming
- Topic: Not compiling into new micro controller
- Replies: 25
- Views: 10909
Re: Not compiling into new micro controller
Hello Ben I have the same problem again, but now with a dsPIC30F3011. I am getthing the following compiling errors. I only get the error when I have the Channel 6 PWM component on the dashboard. C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\/PIC16BIT\PIC16BIT_CAL_PWM.c: In function 'FC_CAL_PWM_Enable_2': ...
- Wed Dec 12, 2018 3:00 pm
- Forum: General Programming
- Topic: Modbus Slave
- Replies: 7
- Views: 4715
Re: Modbus Slave
Great, thanks Ben
Worked first time!!
Many thanks
Worked first time!!
Many thanks
- Mon Dec 10, 2018 12:27 pm
- Forum: General Programming
- Topic: Modbus Slave
- Replies: 7
- Views: 4715
Re: Modbus Slave
Hello
I'm the second post above I have compiling issues when I use the RS485 bus and set the data direction pin.
I am using the dsPIC33EP32MC504, does anyone have any advice on getting this working? I have filled in all the component proporties.
Thanks
I'm the second post above I have compiling issues when I use the RS485 bus and set the data direction pin.
I am using the dsPIC33EP32MC504, does anyone have any advice on getting this working? I have filled in all the component proporties.
Thanks
- Fri Dec 07, 2018 12:51 pm
- Forum: General Programming
- Topic: Not compiling into new micro controller
- Replies: 25
- Views: 10909
Re: Not compiling into new micro controller
Thanks Ben
Downloaded the 8.1 patch, did the updates and ran a test program. It all seems to be working OK so far.
Thanks
Downloaded the 8.1 patch, did the updates and ran a test program. It all seems to be working OK so far.
Thanks
- Fri Dec 07, 2018 12:15 pm
- Forum: General Programming
- Topic: Not compiling into new micro controller
- Replies: 25
- Views: 10909
Re: Not compiling into new micro controller
Hi Ben
I have refreshed the updates, but there is still nothing there. Do they take a long time to come through?
Thanks
I have refreshed the updates, but there is still nothing there. Do they take a long time to come through?
Thanks
- Thu Dec 06, 2018 7:35 pm
- Forum: General Programming
- Topic: Not compiling into new micro controller
- Replies: 25
- Views: 10909
Re: Not compiling into new micro controller
Hello Martin Yes I have noticed this, but I need 3 to work on this project. How can I get access to the other PWM's? Can they not work with flowcode at all? (and why is there a drop down menu for the option to choose 6 channels?) I dont need to do anything too complex with the PWM and only need 8bit...
- Thu Dec 06, 2018 4:51 pm
- Forum: General Programming
- Topic: Not compiling into new micro controller
- Replies: 25
- Views: 10909
Not compiling into new micro controller
Hello I have receindtly redesigned a PCB and needed ti change the micro on it to one of the slightly newer ones PIC16F15323 from a PIC16F1503. I need 3 PWM's on the program which worked fine with the 1503 but for some reason when I transition over to the 15323 I get the compiling errors below. I hav...
- Wed Dec 05, 2018 12:04 pm
- Forum: General Programming
- Topic: Modbus Slave
- Replies: 7
- Views: 4715
Re: Modbus Slave
Hi Ben Yeah, I knew this. I was just hoping to keep the 0x00 registers blank and start from 1. The problem I am having is that if I request the data from register 1, I get the data from register 2. And if I request the data from register 2 I get the data from register 3. The data I have stored in th...
- Wed Dec 05, 2018 10:08 am
- Forum: General Programming
- Topic: Modbus Slave
- Replies: 7
- Views: 4715
Re: Modbus Slave
Hello Again... I apologise for the multiple questions, however I am still learning MODbus and need to know if what I am seeing should be correct. Here we have the master (PC software) writing a 0 to to the coil in address 1, and the PIC replies OK with a duplicate of the of the transmitted message. ...
- Wed Dec 05, 2018 9:21 am
- Forum: General Programming
- Topic: Modbus Slave
- Replies: 7
- Views: 4715
Re: Modbus Slave
Hello Also found another potential issue... When I select the RS485 bus and select the data directional pin I get compiler errors (and select the pin A10). This is the only change I make before I get any compile errors. http://www.matrixtsl.com Launching the compiler... C:\Program Files (x86)\Flowco...