Search found 16 matches

Return

by Benj
Fri Apr 07, 2017 10:24 am
Jump to forum
Jump to topic

Re: pic 18f47k40 timer interrupt problem

Hello,

Thanks for letting us know.

Can this problem be related to PIC32 interrupts problem?


No this is just a register naming problem in the device definition file. Let me investigate for you and it should be a relatively easy fix.
by Benj
Fri Apr 07, 2017 5:12 pm
Jump to forum
Jump to topic

Re: pic 18f47k40 timer interrupt problem

Hello,

Right here are some updated definition files for the device family which should solve all the timer interrupt related compile errors and hopefully provide some PWM pins.

PIC_update.zip
by Benj
Mon Apr 10, 2017 10:28 am
Jump to forum
Jump to topic

Re: pic 18f47k40 timer interrupt problem

Hello, Thanks for letting me know. Timer interrupts tested and working on hardware except timer0. Hopefully Timer 0 should also be working now. Interrupt On Change (IOC) produces the same compiler errors like TimerInterupt did. Interrupt on PIN (INTn pin) produces the same compiler errors like Timer...
by Benj
Mon Apr 10, 2017 1:10 pm
Jump to forum
Jump to topic

Re: pic 18f47k40 timer interrupt problem

Hello, I'm not getting those compile errors any more with the latest definitions so hopefully they are fixed, maybe you need to re-open Flowcode? I have improved the PWM CAL component now so that the alternate remap pin banks are now available for you to use. The file needs to be copied into your &q...
by Benj
Tue Apr 11, 2017 9:57 am
Jump to forum
Jump to topic

Re: pic 18f47k40 timer interrupt problem

Thanks for letting me know.

Hopefully the last set of updates files here. These should fix the compilation errors for channels 3 and 4 and also allow the PWM to spring into life on all channels and timer options.

PIC.zip


Let me know how you get on.
by Benj
Thu May 04, 2017 11:14 am
Jump to forum
Jump to topic

Re: pic18F47K40 I2C compilation error

Thanks for letting us know. I think I have now fixed the problem.

Simply copy the attached file into your "Flowcode 7/CAL/PIC" folder and the project should then compile correctly.

PIC_CAL_I2C.c


Let us know how you get on.
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 Benj
Mon Jul 03, 2017 3:10 pm
Jump to forum
Jump to topic

Re: Timer interrupts calling a macro

Hello, An interrupt can only ever call one macro due to the way the code generation works. If you enable an interrupt calling macroA and then disable and re-enable this time calling macroB then this will not work as you expect. One way to get around this is by using a global variable. Enable your in...
by Benj
Thu Aug 17, 2017 3:53 pm
Jump to forum
Jump to topic

Re: some 18F67K40 compilation errors

Hello, Looking at your program, some of the compilation errors are being caused by the SPI_Master component as there are no hardware remap pins specified in the comp properties. Another problem is being caused by the ADC CAL so here is an updated version that solves that problem. Simply copy to the ...
by Benj
Wed Aug 22, 2018 12:28 pm
Jump to forum
Jump to topic

Re: dsPIC33EP512MU810 PWM remapable pins

Hello,

RE1, RE3 and RE6 are all RPIxx type remappable pins, this means they can only be used for remapped inputs.

Remap pins marked RPxx can be both input and output.
by Benj
Fri May 15, 2020 2:48 pm
Jump to forum
Jump to topic

Re: Modbus TCP slave invalid response

Right I've now found and fixed the problem. While I'm here I'll make sure it's as robust as I can get it and then I'll push it to the update system. I was forming the reply as it is done for the serial mode but in the TCP mode you are first suppost to echo back the 6 header bytes and I wasn't doing ...
by Benj
Fri May 15, 2020 1:48 pm
Jump to forum
Jump to topic

Re: Modbus TCP slave invalid response

I've got a nice test bed up and running for this now. I think one of the major issues was we were expecing the master to open up the TCP connection when it wanted to send a command but instead it seems to open the connection and then kept alive. This seems a tad foolish for long term communications ...
by Benj
Fri May 15, 2020 11:48 am
Jump to forum
Jump to topic

Re: Modbus TCP slave invalid response

Many thanks for letting us know and reminding me of this. I'll try and replicate the problem today. It's very hectic here at the moment, trying to balance a full time job with looking after a 2 year old is not ideal. Still i'll see if I can get this sorted for you as it certainly should be compatibl...
by Benj
Fri May 15, 2020 9:28 pm
Jump to forum
Jump to topic

Re: Modbus TCP slave invalid response

Should all be fixed now in the slave and the master. The only problem that remains as far as I am aware is that if you run the Modbus TCP slave in the simulator you can connect fine the first time but if you disconnect the master then you will need to stop and restart the simulation before the conne...
by jgu1
Tue May 26, 2020 5:21 pm
Jump to forum
Jump to topic

Re: MAX31864 SPI

Hi Talig!

Please will you share with me too? I will be grateful...

Br Jorgen
by kabouras_33
Tue May 26, 2020 8:03 am
Jump to forum
Jump to topic

Re: MAX31864 SPI

Really you would do that for me???
Thank you very very very much!!!!!!!!!!