Search found 1217 matches

by QMESAR
Wed Sep 30, 2020 8:35 am
Forum: Freelance Embedded Engineers
Topic: CREATE A USB MASS STORAGE DEVICE USING AN STM32
Replies: 12
Views: 15529

Re: CREATE A USB MASS STORAGE DEVICE USING AN STM32

Hi leigh, This is nice and a big step in the right direction. Could this be done also for code generated by MPLAX Code configurator (H and C files) not HARMONY for PIC32 ,the Code configurator generate code for P16/18 dsPIC's and some PIC32 this is the one which will be good if we can use it in FC H...
by QMESAR
Mon Sep 28, 2020 1:47 pm
Forum: Flowcode V8
Topic: CAN Bus Extended ID
Replies: 9
Views: 3564

Re: CAN Bus Extended ID

Hi.

This sounds good, keep going nice to see your progress :D
by QMESAR
Sun Sep 27, 2020 3:59 pm
Forum: Flowcode V8
Topic: CAN Bus Extended ID
Replies: 9
Views: 3564

Re: CAN Bus Extended ID

Hi Happy you had some progress, I will take a look at your Flowcharts when I have a bit of time. Just another input is that it would be better if you use the CAN RX interrupt on the receiver then you only read when there is an message in the Rx buffer,In your case as is now not that important but wh...
by QMESAR
Sun Sep 27, 2020 3:18 pm
Forum: Flowcode V8
Topic: USB Slave on PIC
Replies: 7
Views: 3313

Re: USB Slave on PIC

he problem i am finding with FC right now is that it if you arent using the paid for components, you cant really do much with it. Hi First even if you use the paid components as you mention ,there is no MASS Storage device -USB component to use directly. Then after many years working in the Embedde...
by QMESAR
Mon Sep 21, 2020 8:19 am
Forum: Flowcode V8
Topic: PWM issues
Replies: 5
Views: 2253

Re: PWM issues

That would be a good thing and make sure that you have the correct values for Period and DC as calculated by the Resolution ,check the PWM section in the datasheet very carefully example (just numbers for explanation) 100KHz Period 4099 and then 50% Dc will be 2049 and so on obviously 100% Dc will b...
by QMESAR
Sun Sep 20, 2020 2:26 pm
Forum: Flowcode V8
Topic: CAN Bus Extended ID
Replies: 9
Views: 3564

Re: CAN Bus Extended ID

Hi. Looking at your FC flowchart a few things that I will change and try again(I do not have a 2685 chip to check for you) 1- It does not mean if you send an ID(2018) from TX buffer 0 in your send code it will end up in Rx Buffer 0 in the receiver 2- You have to check (poll in your case Interrupt dr...
by QMESAR
Sun Sep 20, 2020 9:18 am
Forum: Flowcode V8
Topic: CAN interrupt (external CAN) for the ECIO40P16
Replies: 7
Views: 3152

Re: CAN interrupt (external CAN) for the ECIO40P16

An alternative would be to connect the MCP2515 INT pin to one IOC pin then you trigger a interrupt with the IOC pin and check both buffers , read the one that has a message.This option you do not need any C code written to the 2515 as the INT pin alweays toggle on and message received ,just configur...
by QMESAR
Sat Sep 19, 2020 5:08 pm
Forum: Flowcode V8
Topic: PWM issues
Replies: 5
Views: 2253

Re: PWM issues

Hi. In my humble opinion the problem is a PWM Resolution problem In basics the PWM has a specific resolution for a given frequency and if there is a small mismatch between the set period and set DC you will see this in any signal generation probably not when driving for example a DC bridge for a DC ...
by QMESAR
Fri Sep 18, 2020 6:05 pm
Forum: Flowcode V8
Topic: CAN Bus Extended ID
Replies: 9
Views: 3564

Re: CAN Bus Extended ID

Hi.
It will be helpful if you post your Flowchart to the topic that people can see your code and help you.

Question
  • what variable type are you using for the ID. Byte, unsigned Integer or unsigned Long.
    Are you using Mask and filters
by QMESAR
Fri Sep 18, 2020 3:06 pm
Forum: Flowcode V8
Topic: CAN interrupt (external CAN) for the ECIO40P16
Replies: 7
Views: 3152

Re: CAN interrupt (external CAN) for the ECIO40P16

Hi. The MCP2515 has 2 Pins that can beset to Go low when the buffer has valid data and high when the buffer is empty RX0BF and RX1BF ,what you need to do is Connect these to pins to the ECIO40P16 IOC pins (Interrupt on change pins) Configure from Flowcode Interupt Icon the 2 IOC interupts Set the co...
by QMESAR
Mon Sep 14, 2020 4:13 pm
Forum: Flowcode V8
Topic: Arduino CAN bus SparkFun CAN
Replies: 35
Views: 10671

Re: Arduino CAN bus SparkFun CAN

Hi
so the CAN component does not seam to work like it should.
I can assure you that the SPI CAN /external MCP2515 Component works ,I use it on various CAN projects with PIC16 and PIC 18's
Do you do a hard reset of the CAN Controller before you send the Configuration/initialization
by QMESAR
Fri Jul 24, 2020 5:48 am
Forum: Flowcode V8
Topic: neeed hellp please ...Trouble with DHT22
Replies: 3
Views: 2282

Re: neeed hellp please ...Trouble with DHT22

Hi, Simulate in Flowcode and use real hardware to test your project,when it is not working in Proteus go to the Proteus Forum with your license (for Proteus) and ask why it not working. You also do realize Proteus 8.3 is very old you are 8 Proteus update versions behind :D We do not support Proteus .
by QMESAR
Sun Jul 19, 2020 6:56 am
Forum: Flowcode V8
Topic: Timer1 Does not work
Replies: 20
Views: 6156

Re: Timer1 Does not work

Hi.

Did you probe the XT pins with a scope to see what the XT signal looks like and it drive level???`
if so can you post the scope print !
if not then do it
by QMESAR
Tue Jul 14, 2020 10:10 am
Forum: Flowcode V8
Topic: Searchlight Controller Over CAN-BUS
Replies: 4
Views: 2265

Re: Searchlight Controller Over CAN-BUS

Thank you for adding the flowcharts
by QMESAR
Mon Jul 13, 2020 6:10 pm
Forum: Flowcode V8
Topic: Searchlight Controller Over CAN-BUS
Replies: 4
Views: 2265

Re: Searchlight Controller Over CAN-BUS

Hi, Welcome to the Forum hope you will enjoy your time with us, In General any delays in Code does slow things down and is not a recomened way ,Normally programmers set flags to indicate certain Actions has been done for example set a flag when a button is pressed and the Code reacts to the Flag ,th...
by QMESAR
Thu Jul 02, 2020 9:50 am
Forum: Flowcode V7
Topic: PID Temperature Control
Replies: 4
Views: 5279

Re: PID Temperature Control

Hi
Flowcode has Control Functions as Components go to DSP tab and use them search the wiki and you will find examples of using the PID contol components
by QMESAR
Mon May 04, 2020 2:54 pm
Forum: Flowcode V8
Topic: undeclared identifiers in functions - Flowcode V8 -Raspberry Pi 3B+
Replies: 7
Views: 3291

Re: undeclared identifiers in functions - Flowcode V8 -Raspberry Pi 3B+

In my opinion from the error code it looks like the code generated for the Timer function(component) is trying to configure a PIC Timer
which I am not sure if it will work on a RPI.

as a test try to disable the Functions you use for the Timer and see if it compiles then with the timer code disabled
by QMESAR
Tue Mar 31, 2020 6:12 am
Forum: Feature Requests
Topic: Group all files except *.fcfx in directory
Replies: 5
Views: 7419

Re: Group all files except *.fcfx in directory

I can see the need for this ,I actually like the proposals :D
by QMESAR
Sat Mar 21, 2020 6:08 am
Forum: Bug Reports
Topic: pic32mm compiler problem
Replies: 5
Views: 3703

Re: pic32mm compiler problem

Hi .

In my opinion it is not an Compiler problem but and definition file error
P1.jpg
P1.jpg (122.08 KiB) Viewed 3167 times
by QMESAR
Sat Feb 29, 2020 3:05 pm
Forum: Flowcode V8
Topic: I2C LCD printing strings
Replies: 22
Views: 10344

Re: I2C LCD printing strings

Hi,
You schematic shows a 20Mhz clock your SW is setup for 48Mhz ,and the configuration looks suspicions to me
if this is the actual state of your project 20Mhz clock the LCD will never work as the baud rates are incorrect
p2.jpg
p2.jpg (23.46 KiB) Viewed 8316 times
p1.jpg
p1.jpg (36.58 KiB) Viewed 8316 times
by QMESAR
Tue Feb 18, 2020 12:48 pm
Forum: Flowcode V8
Topic: mLoader and Windows10
Replies: 35
Views: 13005

Re: mLoader and Windows10

Hi.
Many users use the PicKit 3/4 with FLowcode and as you will see on your BL0080 board it has ICSP6 pin connector to which the PicKit3/4 connects.
https://www.microchipdirect.com/product ... oaded=true
by QMESAR
Mon Feb 17, 2020 2:26 pm
Forum: Bug Reports
Topic: IOC Error Pic16F1455
Replies: 2
Views: 2148

Re: IOC Error Pic16F1455

Ok Thanks Ben
by QMESAR
Mon Feb 17, 2020 12:32 pm
Forum: Flowcode V8
Topic: Program/Code Size
Replies: 3
Views: 2378

Re: Program/Code Size

Hi Abhi. Out of many years experience developing Firmware for Production stuff this is what I learned and has been following this rule for at least 15 years. For prototyping and first tests we always use the micro with the largest memory ,then at the B sample stage ( at this time your Firmware shoul...
by QMESAR
Mon Feb 17, 2020 6:02 am
Forum: Bug Reports
Topic: IOC Error Pic16F1455
Replies: 2
Views: 2148

IOC Error Pic16F1455

Hi Team. Not sure if it a bug or I am the bug any case PIC16F1455 I set pin RA5 (only 1 pin) as IOC pin Interrupt on Rising edge . The Interrrupt never fires, As you see here the normal configuration in FC. P1.jpg Then I moved the IOC interrupt to the top and do a C code setup just below it then the...
by QMESAR
Tue Feb 11, 2020 3:56 pm
Forum: Flowcode V8
Topic: E-Blocks2 and Flowcode8: Programmer
Replies: 14
Views: 5504

Re: E-Blocks2 and Flowcode8: Programmer

Hi,

Did you install the USB Driver for the EB0080?

just an thought :D