Search found 66 matches

Return

by Benj
Fri Apr 28, 2017 3:34 pm
Jump to forum
Jump to topic

Re: PWM macro compilation error (PIC24FJ256GA110)

Hi Lagoda,

Thanks for letting us know. Hopefully the attached modified CAL should fix the problem for you.

Simply copy the file into your "Flowcode 7\CAL\PIC16BIT" folder and then hopefully this should solve the problem for you.

PIC16BIT_CAL_PWM.c


Let me know how you get on.
by Benj
Tue May 02, 2017 5:15 pm
Jump to forum
Jump to topic

Re: Flowcode 7 - Updates Since 7.2.1

Here are some more updates included in the archive. CAL - Code Abstraction Layer bug: Fixed SPI channel 1 compile errors on 16F18877 device Components bug: SRF component had a fixed reference to sleep pin D4, now moved to a pin property bug: Fixed a problem where LED labels were not auto updating co...
by Benj
Wed May 03, 2017 10:22 am
Jump to forum
Jump to topic

Re: Clock source and PWM problem PIC12F1572

Hello Lagoda, 1. Have you seen the IntOsc helper component available from the Tools component category? It contains specific information about what speeds are available and what C code is required to configure the oscillator correctly. Use a one second flasher to confirm you are running at the speed...
by Benj
Tue May 09, 2017 10:27 am
Jump to forum
Jump to topic

Internal Real Time Clock RTCC PIC8 & PIC16

Hello, I've managed to spend some time investigating the RTCC peripheral on board the PIC 8-bit and 16-bit devices and think I now have it cracked. Below are a set of files designed to allow you to test out the new functionality. Simply extract the files into your "Flowcode 7" folder and r...
by QMESAR
Thu Jul 20, 2017 7:09 am
Jump to forum
Jump to topic

Re: PIC32MZ2048EFM100 simulation error.

Hi.

For what it is worth your Flowchart runs fine with me in FC7 and WIN10 .
:D
by LeighM
Thu Jul 20, 2017 1:20 pm
Jump to forum
Jump to topic

Re: PIC32MZ2048EFM100 simulation error.

Runs OK on my Windows 7 (64bit) too
by STibor
Fri Jul 21, 2017 4:21 am
Jump to forum
Jump to topic

Re: PIC32MZ2048EFM100 simulation error.

I use Flowcode v7.2.0.5 and Flowcode_7_Latest_170717 files. Hello, The current version is Flowcode v7.2.1.4, I think you should update it. After the upgrade, add the repair package. Windows7 prof. 64bit HUN works perfectly for simulation. Mr. LeighM will support this developer circuit? I think this...
by Benj
Tue Aug 01, 2017 1:15 pm
Jump to forum
Jump to topic

Re: PIC32MZ2048EFM100 ADC problem.

Hello Lagoda, I think I have now made all the changes necessary to enable ADC7 rather than ADC0, though it's complicated so I'm not 100%. Simply copy the attached file into your "Flowcode 7/CAL/PIC32BIT" folder and recompile your project. We could do with a nicer way of dynamically switchi...
by medelec35
Thu Sep 14, 2017 1:09 am
Jump to forum
Jump to topic

Re: PIC12F1572 ADC problem

Hi Lagoda, To set-up alternative pins, first look at the datasheet on page 101: Alternative pins.png See which pin you want to change the function of. E.g TX which is what your currently using (not RX) from pin RA0 to RA4 Work out the required value = 4 as it's bit 2. Add the following C code at the...
by Benj
Thu Sep 14, 2017 10:54 am
Jump to forum
Jump to topic

Re: PIC12F1572 ADC problem

Hi Lagoda, I think I have found the problem. Please can you try copying the attached file into your "Flowcode 7/FCD/PIC" folder. 12F1572.fcdx Restart Flowcode and load your project and check that the ADC component properties are still set to Vref+, it might have changed thanks to the FCD c...
by Benj
Thu Sep 14, 2017 1:00 pm
Jump to forum
Jump to topic

Re: PIC12F1572 ADC problem

Thanks for letting us know. I accidentally changed the settings in the DAC instead of the ADC.

Here is the corrected definition file.

12F1572.fcdx
by electronix
Mon Sep 25, 2017 5:33 pm
Jump to forum
Jump to topic

Re: help with programming logic

You could use a suitable IC for the job such as: LM1815. it translates the sine to a nice clean TTL signal that can be captured by your PIC, I have used this IC in automotive aplications and it works like a charm.
by Benj
Mon Oct 09, 2017 3:16 pm
Jump to forum
Jump to topic

Re: How can I to set general I / O ports as an interrupt source?

Hi Lagoda, In this example, you can set any type of edge. (color of the pin may be green, red, gray or white) And I opened a new project. If I set the type of target MCU to PIC32MZ2048EFM144 then you can activate the interrupt on both edges only. The PIC32MZ device only supports both edges as part o...
by Benj
Mon Oct 09, 2017 11:43 am
Jump to forum
Jump to topic

Re: How can I to set general I / O ports as an interrupt source?

Hi Lagoda, Looks to me like it's an all or nothing thing on the silicon. i.e. if you enable the pin then it will interrupt on rising and falling edges. Unless I'm missing something. You can filter out one of the edges using software. Look at the counting multiple pulses example here. https://www.mat...
by stefan.erni
Mon Nov 27, 2017 10:38 am
Jump to forum
Jump to topic

Re: PIC32MZ2048EFM144 UART problem

Hi Lagonda I have more or less the same CPU. PIC32MZ2048EFG100. Herre are my measurements ..... https://www.matrixtsl.com/mmforums/viewtopic.php?f=7&t=19541 A little tip to the IRQ. Take a look at the compieler option of Micromips and MIPS32 https://www.matrixtsl.com/mmforums/viewtopic.php?f=7&a...
by Benj
Fri Dec 01, 2017 1:32 pm
Jump to forum
Jump to topic

Re: PIC32MZ2048EFM144 UART problem

Hi Lagoda,

Right I have found a fixed the incorrect remap pins. It effected a lot of devices so it's a nice find.

Simply extract the contents of the attached archive into your "Flowcode 7/FCD/PIC32" folder and restart Flowcode to load the changes.

PIC32.zip
by Benj
Thu Dec 07, 2017 1:10 pm
Jump to forum
Jump to topic

Re: PIC32MZ2048EFM144 Modbus Problem

Hi Lagoda, Thanks for letting us know. I have previously fixed this for 16-bit PICs. Hopefully should also be fixed for PIC32 devices now too. There's basically a multi-byte UART transmit pipeline so you're not sure when the data has been sent out unless you specifically check for it being empty bef...
by Benj
Wed Dec 13, 2017 11:49 am
Jump to forum
Jump to topic

Re: PIC32MZ2048EFM144 UART Interrupt

Hi Lagoda,

Please can you try this updated definition file and see how you get on.

Simply copy the file into your "Flowcode 7/FCD/PIC32" folder and restart Flowcode.

32MZ2048EFM144.fcdx


If this works then I'll roll out the change to the rest of the family.
by Benj
Wed Dec 13, 2017 6:45 pm
Jump to forum
Jump to topic

Re: PIC32MZ2048EFM144 UART Interrupt (SOLVED)

Brilliant thanks for letting us know and glad it's working :D

This problem was effecting all of the UART RX interrupts on PIC32MZ devices.

I've just managed to roll out and squeeze this fix into the 7.3 release which hopefully goes live tomorrow.
by Benj
Thu Jan 18, 2018 6:22 pm
Jump to forum
Jump to topic

Flowcode 7 - Updates Since 7.3

Here is a list of cumulative updated files available since the release 7.3. Simply extract the zip archive into your Flowcode 7 folder for the new files to be applied. Remember to restart Flowcode if you have it running to apply the changes. https://www.matrixtsl.com/resources/files/misc/FC7_Latest_...
by LeighM
Thu Feb 08, 2018 9:13 am
Jump to forum
Jump to topic

Re: Flowkit 2 Debugging Speed [Solved]

Hi Lagoda,

What problems are you having?
What version of Flowcode do you have?

The latest fix mentioned in this thread was just to fix the problem of the ICD not running in full speed, but fast stepping instead.
The fix involves a firmware upgrade to the Flowkit.

Leigh
by LeighM
Wed Feb 14, 2018 2:38 pm
Jump to forum
Jump to topic

Re: Flowkit 2 Debugging Speed [Solved]

Yes, Flowcode 7.3 is best for running Flowkit 2. The stepping speed issues do sound like the firmware bug. I am out of the office this week, so can PM the reflash details next Monday if that's ok.
by Benj
Mon Feb 26, 2018 11:26 am
Jump to forum
Jump to topic

Re: Bug in the Data Recorder

Hi Lagoda, I just tried your program here, you have a delay of 1ms and the data recorder shows a delay of just over 3000us or 3ms. This is due to the way Windows does timings and the simulation will never be as reliable as the timings on the real world microcontroller. The timing function of the dat...
by Benj
Mon Feb 26, 2018 5:19 pm
Jump to forum
Jump to topic

Re: Bug in the Data Recorder

Hi Lagoda, Windows provides a 10ms tick time as the absolute minimum amount of timing if you allow the application to hand back to the OS for the delay. Windows is nothing like a real time operating system and this 10ms tick can often become hundreds of milliseconds, nothing is guaranteed. We theref...
by LeighM
Tue Feb 27, 2018 9:52 am
Jump to forum
Jump to topic

Re: Port mapping bug in the ICT module.

Hi Lagoda,
Thanks for the post.
I'll raise the issue here.
Leigh