Search found 14128 matches

by Benj
Thu Jul 02, 2020 6:27 pm
Forum: Flowcode V7
Topic: PID Temperature Control
Replies: 3
Views: 39

Re: PID Temperature Control

Hello, not sure if the DSP functions will work on a PIC18F47K40 Yes they will :D This might help. https://www.matrixtsl.com/wikiv7/index.php?title=Component:_Control_(DSP)#Proportional.2C_Integral_.26_Derivative_Control where to insert the changing temperature that will then change the duty cycle of...
by Benj
Thu Jul 02, 2020 6:24 pm
Forum: General Programming
Topic: Gyro_L3GD20
Replies: 6
Views: 241

Re: Gyro_L3GD20

Hmm I wonder if the two components have a different SPI mode, there are generally 4 modes involving the state and sequence of clock and the data but generally two of the 4 modes will work on any one slave device. As for what's causing the lockup if you could find out the specific component macro cal...
by Benj
Thu Jul 02, 2020 6:19 pm
Forum: Bug Reports
Topic: PIC24FJ256GA702 component not working query
Replies: 1
Views: 10

Re: PIC24FJ256GA702 component not working query

Hi Paul, Hmm this is a strange one. I've found the cause of the problem and it's due to the definition of the ANSEL registers in the supplied version of the compiler. If you go into Build -> Project options and then enable the supplementary code then add the following to the supplementary code defin...
by Benj
Thu Jul 02, 2020 12:52 pm
Forum: Flowcode V8
Topic: 74HC959 guidance
Replies: 3
Views: 69

Re: 74HC959 guidance

Hello,
is it possible؟ :?:
Yes it's possible but you will need to make your own macros to toggle the pins in the correct way to output the codes you need specific to your hardware setup. Should be fairly straightforward.

Let us know how you're getting on.
by Benj
Thu Jul 02, 2020 12:49 pm
Forum: Flowcode V8
Topic: Timer1 Does not work
Replies: 4
Views: 92

Re: Timer1 Does not work

Hello,

The setup is fairly straightforward and looks to be correct, could it be a Proteus sim problem? If you could try it on real hardware then that might give a much better indication.
by Benj
Thu Jul 02, 2020 10:25 am
Forum: Flowcode V8
Topic: Pictures from SD card for Webserver FileSystem
Replies: 1
Views: 48

Re: Pictures from SD card for Webserver FileSystem

Hello, Please can you attach your embeded project and I'll have a look at that for you. Could be the card is not being initialised correctly? I am also getting corruption on the JPEG image which is odd as the bitmap file is working ok and that's a larger file. I'll dig in and see whats going on. Loo...
by Benj
Thu Jul 02, 2020 10:04 am
Forum: General Programming
Topic: Gyro_L3GD20
Replies: 6
Views: 241

Re: Gyro_L3GD20

Hello, Yes this should be possible, maybe try disable the second call to the initialise to avoid initialising the peripheral twice. Maybe we could track if the peripheral is already initialised and automatically stop this from happening to make this process easier. Just checking your not calling one...
by Benj
Thu Jul 02, 2020 10:02 am
Forum: General Programming
Topic: Old EB031 bootloader
Replies: 1
Views: 44

Re: Old EB031 bootloader

Hello,

Thanks for letting us know, yes that download does seem corrupt. Wonder what's happened there.

Anyway here are the files.
EB031-Bootloader.zip
(3.26 MiB) Downloaded 2 times
by Benj
Mon Jun 29, 2020 2:51 pm
Forum: Bug Reports
Topic: IR sensor error
Replies: 6
Views: 259

Re: IR sensor error

Hello,

Please can you post your project file and I'll investigate for you.
by Benj
Mon Jun 29, 2020 12:07 pm
Forum: Flowcode V8
Topic: Timer1 Does not work
Replies: 4
Views: 92

Re: Timer1 Does not work

Hello,

Have you tried this on real hardware or just inside the Proteus sim?
by Benj
Mon Jun 29, 2020 11:51 am
Forum: Bug reports
Topic: SSD1322 macro crashes FC7 test
Replies: 40
Views: 3555

Re: SSD1322 macro crashes FC7 test

Hello,

I've sent you a PM.
by Benj
Mon Jun 29, 2020 10:48 am
Forum: Flowcode V8
Topic: Piezo Sounder accuracy
Replies: 11
Views: 226

Re: Piezo Sounder accuracy

Hi Ian, The piezo component is likely using a software loop which will generally always be a bit inaccurate. A way you could do it much more accuratley would be to use a timer interrupt to generate the output frequency. You could then use a second timer interrupt to monitor the passing of time and u...
by Benj
Mon Jun 29, 2020 10:44 am
Forum: Flowcode V7
Topic: ENC28J60 - Component
Replies: 4
Views: 119

Re: ENC28J60 - Component

Hi Steve, The ENC is fairly low level so I think this should be possible. However it might get fairly technical in terms of permissions etc. Definatley worth a go. I've also found there is a limit to how much data you can send in one chunk with this, seems limited to 256 bytes though this doesn't se...
by Benj
Fri Jun 26, 2020 3:19 pm
Forum: Bug Reports
Topic: Problem with latest update
Replies: 13
Views: 465

Re: Problem with latest update

Thanks Bruno, Think it's something I've done, looking into it now.
by Benj
Fri Jun 26, 2020 3:18 pm
Forum: Flowcode V8
Topic: Problems with update
Replies: 1
Views: 75

Re: Problems with update

Many thanks for lettig us know. We are aware of the issue and are looking into it.

Think it's something I've done :o .
by Benj
Wed Jun 24, 2020 12:05 pm
Forum: Flowcode V8
Topic: MULTIPLE UARTS PROBLEM
Replies: 3
Views: 221

Re: MULTIPLE UARTS PROBLEM

Hello,

With the latest updates you should be allowed up to 16, let me know if this isn't the case and I'll make sure this is on the update system. We have recently had a few issues moving to a new server and this may have been missed.
by Benj
Tue Jun 23, 2020 11:09 pm
Forum: Bug Reports
Topic: Modbus TCP slave invalid response
Replies: 12
Views: 490

Re: Modbus TCP slave invalid response

I've now made that change for you, thanks for letting us know.

Hopefully that will solve the problem but let us know how you get on.
by Benj
Tue Jun 23, 2020 10:58 pm
Forum: Bug Reports
Topic: Modbus TCP slave invalid response
Replies: 12
Views: 490

Re: Modbus TCP slave invalid response

Hi George,

Thanks that's a great find, I'll investigate for you and see if I can spot the problem.
by Benj
Tue Jun 23, 2020 10:16 am
Forum: Bug Reports
Topic: IR sensor error
Replies: 6
Views: 259

Re: IR sensor error

Fix should be available now using Help -> Check for updates.
by Benj
Tue Jun 23, 2020 10:15 am
Forum: Flowcode V8
Topic: PIC18F47Q10 ADC not working
Replies: 28
Views: 994

Re: PIC18F47Q10 ADC not working

Should be available via the update system for you now.
by Benj
Tue Jun 23, 2020 9:56 am
Forum: Flowcode V5
Topic: Flowcode v5 for dsPIC registration issues .
Replies: 12
Views: 1860

Re: Flowcode v5 for dsPIC registration issues .

Thanks for letting us know, glad your up and running again :D
by Benj
Mon Jun 22, 2020 2:59 pm
Forum: General Programming
Topic: SuperCapacitor Backup supply
Replies: 13
Views: 6583

Re: SuperCapacitor Backup supply

Hi Steve,

Wow that's a decent amount of time to keep the MCU running for. How long does it take the cap to charge back up when powered on again?
by Benj
Mon Jun 22, 2020 2:57 pm
Forum: Flowcode V8
Topic: MPU6050
Replies: 26
Views: 1423

Re: MPU6050

Hello, If your using USB on the ECIO then when you reset it to program you will need to hold the reset button for at least a couple of seconds. This just gives the PC chance to see the USB disconnect before the bootloader reconnects. Hope this helps. Also reset the ECIO to make it pop up in device m...
by Benj
Mon Jun 22, 2020 2:54 pm
Forum: Programming Tips & Tricks
Topic: Connecting 2 to 9 switches on one ADC pin
Replies: 12
Views: 567

Re: Connecting 2 to 9 switches on one ADC pin

Brilliant and easy to follow, thanks for sharing :D
by Benj
Mon Jun 22, 2020 2:44 pm
Forum: Flowcode V8
Topic: PIC18F47Q10 ADC not working
Replies: 28
Views: 994

Re: PIC18F47Q10 ADC not working

Hello,

I'm running with the 64MHz INTOSC too so that shouldn't be causing any issues.

The attached should solve the ADC problems for you.
PIC_CAL_ADC.c
(148.92 KiB) Downloaded 23 times
Simply copy the file here.
C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC

I'll get both fixes pushed to the update system ASAP.