Search found 92 matches

by Pascal_2016
Thu Jun 10, 2021 1:49 pm
Forum: Flowcode V8
Topic: Error message with I2C slave and 32MX220
Replies: 2
Views: 2624

Re: Error message with I2C slave and 32MX220

Hello,

the microcontroller is not so critical, but unfortunately I had to notice that your example for the I2C does not work with 18F25J50, Arduino Nano, 16F1939 nor with 24F16K102. I even get an error message on the master with 18F25J50, Arduino Nano and 16F1939.
The 24F16K102 is at least ...
by Pascal_2016
Sun Jun 06, 2021 4:32 pm
Forum: Flowcode V8
Topic: Error message with I2C slave and 32MX220
Replies: 2
Views: 2624

Error message with I2C slave and 32MX220

When I want to address the 32MX220 as I2C slave I get the following error message.

Flowcode2.o: In function 'main':
Flowcode2.c:(.text.main+0x38): undefined reference to 'FC_CAL_I2C_Slave_Init_1'.
Flowcode2.c:(.text.main+0x54): undefined reference to 'FC_CAL_I2C_Slave_Status_1
collect2.exe: error ...
by Pascal_2016
Fri Mar 27, 2020 9:09 am
Forum: Flowcode V8
Topic: PIC 32MX150 and 24FJ64GB002 SPI Slave Error
Replies: 4
Views: 2893

Re: PIC 32MX150 and 24FJ64GB002 SPI Slave Error

Hi, Benj,

thank you for your extensive help
by Pascal_2016
Mon Mar 23, 2020 10:23 pm
Forum: Flowcode V8
Topic: PIC 32MX150 and 24FJ64GB002 SPI Slave Error
Replies: 4
Views: 2893

Re: PIC 32MX150 and 24FJ64GB002 SPI Slave Error

Hello,

the right file
by Pascal_2016
Sun Mar 22, 2020 10:29 pm
Forum: Flowcode V8
Topic: PIC 32MX150 and 24FJ64GB002 SPI Slave Error
Replies: 4
Views: 2893

PIC 32MX150 and 24FJ64GB002 SPI Slave Error

Hello
I try to run the 32MX150 and the 24FJ64GB002 as "SPI Slave".

Unfortunately I get the following error message during build.

C:\Program Files (x86)\Flowcode\Common\Compilers\pic16\batchfiles\pic16_C30_comp.bat "SPI_Slave_Error" "D:\PR6751~1\" "24FJ64GB002"

D:\PR6751~1>xc16-gcc -c -mcpu ...
by Pascal_2016
Mon Mar 16, 2020 10:23 pm
Forum: Flowcode V8
Topic: PIC 32MX USB Error
Replies: 5
Views: 3929

Re: PIC 32MX USB Error

Hi, Benj,

I have performed a full data update. The file is located on my computer in the directory "C:\Program Files (x86)\Flowcode v8\DefaultData\FlowcodeV8\CAL\PIC32BIT\USB\CDC" but apparently this is the wrong directory.

Where can I set the correct path or where do I have to write the directory ...
by Pascal_2016
Sun Mar 15, 2020 1:02 pm
Forum: Flowcode V8
Topic: PIC 32MX USB Error
Replies: 5
Views: 3929

PIC 32MX USB Error

Hello,

I want to send a 32MX250F128B via USB data.

When I compile the program I get the error message
"D:\PR6751~1\32Bit\Flowcode1_2.c:441:23: fatal error: CDC_Setup.h: No such file or directory
:Macro implementations"

Can someone help me fix this bug
by Pascal_2016
Sat Dec 07, 2019 7:22 pm
Forum: Flowcode V8
Topic: PIC 32MX320
Replies: 6
Views: 4256

Re: PIC 32MX320

Hello

I have configured the PIC 32MX320F128H as follows:

#pragma config FWDTEN = OFF
#pragma config POSCMOD = OFF, FNOSC = 7, FPBDIV = 0

FRCDIV = 0

So the clock frequency is 8MHz. Proved by blinking LED and oscilloscope.

Then I set the UART as follows:

U1BRG = 103; // Baudrate 19200 at 8MHz ...
by Pascal_2016
Mon Nov 18, 2019 11:13 pm
Forum: Flowcode V8
Topic: PIC 32MX320
Replies: 6
Views: 4256

Re: PIC 32MX320

Hello,

I have a chipkit UNO32. Bootloader as shown in the appendix.
by Pascal_2016
Sun Nov 17, 2019 1:43 pm
Forum: Flowcode V8
Topic: PIC 32MX320
Replies: 6
Views: 4256

Re: PIC 32MX320

Hello,

QMESAR thank you so much for pointing that out. I have selected the "ChipKit UNO 32 Bootloader" template and made port E0 blink at 1.0 Hz intervals. My oscilloscope showed a frequency of 1.33 Hz which seems a bit too high to me. After adding the component "UART (Serial)" I wanted "UNO32 ...
by Pascal_2016
Fri Nov 15, 2019 7:31 pm
Forum: Flowcode V8
Topic: PIC 32MX320
Replies: 6
Views: 4256

PIC 32MX320

Hello

I have a chipKIT-Uno32 board I can also use this under flowcode 8, or i have to consider some special features
by Pascal_2016
Sun Nov 03, 2019 10:44 pm
Forum: Flowcode V8
Topic: interrupt activate and deactivate
Replies: 9
Views: 6523

Re: interrupt activate and deactivate

Hello MJU

with PICs I have solved the problem, because there is an interrupt enable flag which disables the interrupt until the interrupt is activated again.
by Pascal_2016
Sun Oct 27, 2019 10:52 pm
Forum: Flowcode V8
Topic: Integrate PICKIT into flowcode
Replies: 2
Views: 2304

Re: Integrate PICKIT into flowcode

Thank you very much for your help.
by Pascal_2016
Wed Oct 23, 2019 9:07 pm
Forum: Flowcode V8
Topic: Integrate PICKIT into flowcode
Replies: 2
Views: 2304

Integrate PICKIT into flowcode

Hello Community

I want to embed the PICKIT 3 in my flow code. I have tried this according to the instructions "PICkit3 - IPE (NEW)".

From my point of view everything works until the moment the mLoader is loaded. Then I get the error message "No device detected". What else do I have to set to load ...
by Pascal_2016
Sat Oct 12, 2019 1:13 pm
Forum: Flowcode V8
Topic: interrupt activate and deactivate
Replies: 9
Views: 6523

Re: interrupt activate and deactivate

Hello Martin,

my problems are described by the unprofessional program in the appendix.

1. MCU: 18F26J50
2. any button
3. description of the example:
- the interrupt for the key is deactivated when the event occurs and
activated after about 1000ms
- A square wave signal with > 5Hz is applied ...
by Pascal_2016
Fri Oct 11, 2019 1:59 pm
Forum: Flowcode V8
Topic: interrupt activate and deactivate
Replies: 9
Views: 6523

Re: interrupt activate and deactivate

Hello, Martin,

thank you very much for your detailed answer. Of course I deactivate the interrupt for Microchips MCUs with time-critical interrupts. This meant that the code to deactivate the interrupt has to be introduced into the program as C code. Since the program should run both on a PIC and ...
by Pascal_2016
Thu Oct 10, 2019 6:26 pm
Forum: Flowcode V8
Topic: interrupt activate and deactivate
Replies: 9
Views: 6523

interrupt activate and deactivate

Hello

In my program, I must activate the interrupt and deactivate.

If the interrupt was triggered I have to deactivate it to activate the interrupt again at the end of the procedure.

So far I have always performed these actions as follows.

1. at the start of the program I activated the interrupt ...
by Pascal_2016
Fri Sep 13, 2019 2:43 pm
Forum: Flowcode V8
Topic: Help with the "ILI9341 Display 8bit Data Bus"
Replies: 4
Views: 3578

Re: Help with the "ILI9341 Display 8bit Data Bus"

Hallo Alkaline, Hallo Beny

many thanks for the quick and comprehensive help.
by Pascal_2016
Sat Sep 07, 2019 6:03 pm
Forum: Flowcode V8
Topic: Help with the "ILI9341 Display 8bit Data Bus"
Replies: 4
Views: 3578

Help with the "ILI9341 Display 8bit Data Bus"

Hello Forum,

I have an ILI9341 display 8bit data bus. This can be easily plugged into the Arduino UNO. The display works with the Arduino Library.
If I use the component "ILI9341 16 bit Interface" nothing is displayed.
What surprises me a bit is, that I can't find an 8 or 16 bit data bus in the ...
by Pascal_2016
Wed Aug 28, 2019 9:19 pm
Forum: Flowcode V8
Topic: with gLCD_ST7565R_SPI1 only half of the display can be written
Replies: 2
Views: 4635

with "gLCD_ST7565R_SPI1" only half of the display can be written to

sorry the attachment was not taken along because of error message from the tool
by Pascal_2016
Wed Aug 28, 2019 9:14 pm
Forum: Flowcode V8
Topic: with gLCD_ST7565R_SPI1 only half of the display can be written
Replies: 2
Views: 4635

Re: with "gLCD_ST7565R_SPI1" only half of the display can be written to

Hello Benj,

Enclosed the datasheet and a screen shot of the attributes of the "gLCD_ST7565R_SPI1".
by Pascal_2016
Tue Aug 27, 2019 10:14 pm
Forum: Flowcode V8
Topic: with gLCD_ST7565R_SPI1 only half of the display can be written
Replies: 2
Views: 4635

Re: with "gLCD_ST7565R_SPI1" only half of the display can be written to

Sorry, unfortunately an error message was displayed twice which made me believe that no reply was sent.
by Pascal_2016
Tue Aug 27, 2019 10:09 pm
Forum: Flowcode V8
Topic: with gLCD_ST7565R_SPI1 only half of the display can be written
Replies: 2
Views: 4635

Re: with "gLCD_ST7565R_SPI1" only half of the display can be written to

Hello, Benj,

unfortunately, the display size has been set to inactive and is only half the height. I can't adjust the height of the display with that.
by Pascal_2016
Mon Aug 26, 2019 10:05 pm
Forum: Flowcode V8
Topic: with gLCD_ST7565R_SPI1 only half of the display can be written
Replies: 2
Views: 4635

with gLCD_ST7565R_SPI1 only half of the display can be written

Hello

I want to display text and graphics on my display.

I use the following component:

1. an Arduino UNO
2. a graphic display with the ST7565 SPI controllers
3. the flowcode component "gLCD_ST7565R_SPI1".

When I clear the screen, only half the screen is cleared. I can only display the text in ...
by Pascal_2016
Fri Aug 23, 2019 12:32 pm
Forum: Flowcode V8
Topic: Error in the SPI interface
Replies: 7
Views: 9100

Re: Error in the SPI interface

Hello

" Are you 100% sure the SPI bus is working and you are addressing right device? "
-> I am sure that the SPI interface doesn't work under flowcode 8, because it works under Arduino-IDE with the same display.

" On FC7 i remeber the ENC ethenet module had habit to stuck the program when trying ...