Search found 152 matches

by Lagoda
Thu Aug 01, 2019 2:51 pm
Forum: Flowcode V8
Topic: 18F67K40 UART Problem
Replies: 46
Views: 4012

Re: 18F67K40 UART Problem

OK.
Then you are sure that your circuit is not faulty.

Have you ever tried to set the HighVoltage programming mode in Configuration Settings? (This is now set to LV in your test program.)
What type of programming tool do you use?

Lagoda
by Lagoda
Tue Jul 30, 2019 10:34 pm
Forum: Flowcode V8
Topic: 18F67K40 UART Problem
Replies: 46
Views: 4012

Re: 18F67K40 UART Problem

Hi, According to the MPLAB Code Configurator: " External clock frequency is greater than recommended value(20MHz) " You may have to try with a lower frequency. But this is just an idea. Unfortunately the MCLR pin can only be input port. MCLR Disabled.png Lagoda Using MPLABX, I created a te...
by Lagoda
Tue Jul 30, 2019 1:05 pm
Forum: Flowcode V8
Topic: 18F67K40 UART Problem
Replies: 46
Views: 4012

Re: 18F67K40 UART Problem

Hi, Seokgi

The clock signal of target circuit is it working ?
I think, if the clock source is an HS quartz crystal connected to the OSC1 and OSC2 pins, then the OSC2 output must be enabled in the Project Option / Configure window.

Best Regards,

Lagoda
by Lagoda
Thu Apr 11, 2019 10:18 am
Forum: Flowcode V8
Topic: Flowcode V8 update on an offline machine
Replies: 2
Views: 684

Re: Flowcode V8 update on an offline machine

Hi Leigh, No, I copied files under C:\Program Files (x86)\Flowcode v8. :roll: :lol: Now I copied the directories as described and works. The C: ProgramData\ MatrixTSL\FlowcodeV8 is a hidden directory and it was not visible on my computer by default. Thanks for the quick response. Best Regards, Lagoda
by Lagoda
Thu Apr 11, 2019 8:28 am
Forum: Flowcode V8
Topic: Flowcode V8 update on an offline machine
Replies: 2
Views: 684

Flowcode V8 update on an offline machine

Hi, I would like to ask for some help. How to update flowcode V8 on an offline machine? What is the right procedure? I also have an online machine that has the Fowcode V8 installed. I tried to copy the Flowcode V8 directory to the offline machine, but this is not a perfect solution. New components d...
by Lagoda
Sat Feb 23, 2019 11:44 am
Forum: Bug Reports
Topic: UART Component - Display error
Replies: 6
Views: 1581

Re: UART Component - Display error

Hi,

The same situation on my computer display.

Lagoda
by Lagoda
Fri Feb 22, 2019 1:39 pm
Forum: Bug Reports
Topic: The PIC16F15344 PWM component can only be set to 8-bit mode.
Replies: 14
Views: 2258

Re: The PIC16F15344 PWM component can only be set to 8-bit mode.

Hello Ben,


I think you have quite a lot of parallel tasks now.
Fixing this problem is not urgent for me, because I manually fix the wrong part in the C file and it will work. (I already know what to change. :D )

Thanks for the help.
Have a nice weekend!

Lagoda
by Lagoda
Thu Feb 21, 2019 11:11 pm
Forum: Bug Reports
Topic: Bit problems .....
Replies: 12
Views: 1452

Re: Bit problems .....

:)
by Lagoda
Thu Feb 21, 2019 10:35 pm
Forum: Bug Reports
Topic: Bit problems .....
Replies: 12
Views: 1452

Re: Bit problems .....

Hi Osta,

I think the operator of XOR is "^". The operator of OR is "|".

Lagoda
by Lagoda
Thu Feb 21, 2019 10:16 pm
Forum: Bug Reports
Topic: Bit problems .....
Replies: 12
Views: 1452

Re: Bit problems .....

Hi Osta,

What value do you want to get as a result?
Do you agree with the calculation method that I described?

Lagoda
by Lagoda
Thu Feb 21, 2019 10:10 pm
Forum: Bug Reports
Topic: Bit problems .....
Replies: 12
Views: 1452

Re: Bit problems .....

Hi Osta,

What value do you want to get as a result?
Do you agree with the way I described the calculation?

Lagoda
by Lagoda
Thu Feb 21, 2019 8:42 pm
Forum: Bug Reports
Topic: Bit problems .....
Replies: 12
Views: 1452

Re: Bit problems .....

Hi Osta,

I think that's a good result.

0b00000001 and 0b00110010 =0b00000000,
0b00000001 and 0b00011001=0b00000001,
0b00000000 or 0b00000001=0b00000001.

Regards,

Lagoda
by Lagoda
Thu Feb 21, 2019 2:11 pm
Forum: Bug Reports
Topic: The PIC16F15344 PWM component can only be set to 8-bit mode.
Replies: 14
Views: 2258

Re: The PIC16F15344 PWM component can only be set to 8-bit mode.

OK.
I used the "Full database" option and now I have a fresh and crisp Flowcode program.
And I restarted it after updating. :wink:
The result is the same as before.

Are you getting a flawless C file from the file (PWM_test_8Bit_16F15324.fcfx) I attached?
by Lagoda
Thu Feb 21, 2019 1:49 pm
Forum: Bug Reports
Topic: The PIC16F15344 PWM component can only be set to 8-bit mode.
Replies: 14
Views: 2258

Re: The PIC16F15344 PWM component can only be set to 8-bit mode.

Hi,

This version works for me.
Flowcode_ver.jpg
Flowcode_ver.jpg (44.37 KiB) Viewed 2164 times

Before testing, I updated the Flowcode program.
It is also installed on multiple computers and each has a faulty result.
I did not modify the files that are part of Flowcode. :cry:
by Lagoda
Thu Feb 21, 2019 12:17 pm
Forum: Bug Reports
Topic: The PIC16F15344 PWM component can only be set to 8-bit mode.
Replies: 14
Views: 2258

Re: The PIC16F15344 PWM component can only be set to 8-bit mode.

Hi Ben,

In my C file, this line looks like this:

#define MX_PWM_NEW_TMR_CONF

(If I overwrite CONF2 then it works. :) )
by Lagoda
Wed Feb 20, 2019 8:48 pm
Forum: Bug Reports
Topic: The PIC16F15344 PWM component can only be set to 8-bit mode.
Replies: 14
Views: 2258

Re: The PIC16F15344 PWM component can only be set to 8-bit mode.

Hi Ben, I found something. The content of the T2CLKCON register is 0x00 so the selection of the clock source is incorrect (T2CKIPPS) If I write 0x01 (Fosc / 4) into this register, the PWM signal appears on the selected port. I only checked the proportions of the waveform with an old oscilloscope, bu...
by Lagoda
Tue Feb 19, 2019 6:01 pm
Forum: Bug Reports
Topic: The PIC16F15344 PWM component can only be set to 8-bit mode.
Replies: 14
Views: 2258

Re: The PIC16F15344 PWM component can only be set to 8-bit mode.

Hi Ben,

I also tried Channel 3 and Channel 4, but they don't work either.

Lagoda
by Lagoda
Tue Feb 19, 2019 12:53 pm
Forum: Bug Reports
Topic: The PIC16F15344 PWM component can only be set to 8-bit mode.
Replies: 14
Views: 2258

Re: The PIC16F15344 PWM component can only be set to 8-bit mode.

Hi Ben, Thanks for the quick response. I forgot about this option. :oops: I tried the PWM macro with a PIC16F15324 MCU on a CURIOSITY board. The PWM output is not working. :( I also tried it with 8 Bit resolution, but it doesn't do anything. What I have noticed is that the PWM macro offers 6 channel...
by Lagoda
Sun Feb 17, 2019 8:19 pm
Forum: Bug Reports
Topic: The PIC16F15344 PWM component can only be set to 8-bit mode.
Replies: 14
Views: 2258

The PIC16F15344 PWM component can only be set to 8-bit mode.

Hi Ben,

I would like to use the PWM periphery of the PIC16F15344 MCU in 10-bits mode.
The PWM component macro only supports 8-bits mode.
Is it possible to upgrade to 10 bits?

Thank you in advance,

Lagoda
by Lagoda
Mon Feb 11, 2019 7:54 pm
Forum: Bug Reports
Topic: Import FC7-project into FC8 --> SPI errors
Replies: 1
Views: 680

Re: Import FC7-project into FC8 --> SPI errors

Hello Jörg, I have already detected similar migration errors. When I load my projects from FlowCode v7 to FlowCode v8, the values ​​of Component Macros Properties are settings back by default. Then I set the correct parameters again on the Flowcode V8 Component Macro Properties tab and after that I ...
by Lagoda
Fri Feb 08, 2019 9:06 am
Forum: Bug Reports
Topic: Selecting a 2.048V reference voltage in PIC16F15324
Replies: 6
Views: 1133

Re: Selecting a 2.048V reference voltage in PIC16F15324

Hello Ben, For now, this seems to be a paranormal phenomenon. On another desktop PC, the unchanged project file produces a hex file without error and the MCU works correctly. On this machine is same Flowcode version 8.1.1.11 , but it is not completely up to date. I don't understand. :roll: Best rega...
by Lagoda
Thu Feb 07, 2019 2:09 pm
Forum: Bug Reports
Topic: Selecting a 2.048V reference voltage in PIC16F15324
Replies: 6
Views: 1133

Re: Selecting a 2.048V reference voltage in PIC16F15324

I've tried the next change in PIC_CAL_ADC.c, but the situation hasn't changed.
CAL_ADC_mod.jpg
CAL_ADC_mod.jpg (18.27 KiB) Viewed 1114 times

Does this help you?
by Lagoda
Thu Feb 07, 2019 1:04 pm
Forum: Bug Reports
Topic: Selecting a 2.048V reference voltage in PIC16F15324
Replies: 6
Views: 1133

Re: Selecting a 2.048V reference voltage in PIC16F15324

Hi,


I didn't update, because it was up to date.
by Lagoda
Thu Feb 07, 2019 12:34 pm
Forum: Bug Reports
Topic: Selecting a 2.048V reference voltage in PIC16F15324
Replies: 6
Views: 1133

Re: Selecting a 2.048V reference voltage in PIC16F15324

Hi Ben,


Thanks for the quick response.
I made the change and restarted the Flowcode.
Unfortunately, the situation is the same as before.

Maybe the value from the Vref variable does not come from the properties tab?

Do you have any ideas yet?
by Lagoda
Thu Feb 07, 2019 9:04 am
Forum: Bug Reports
Topic: Selecting a 2.048V reference voltage in PIC16F15324
Replies: 6
Views: 1133

Selecting a 2.048V reference voltage in PIC16F15324

Hi Ben, I would like to use the ADC module of PIC16F15324 MCU . The Vdd of the circuit is 3.3V. I set the reference voltage source to the FVR on the AD Properties tab. I inserted the following line in C code: FVRCON = 0x82; to select the 2.048V internal reference source. But is not working. Based on...