Search found 107 matches

by DirkB
Sat May 02, 2026 3:37 pm
Forum: Bug Reports
Topic: PIC16F18326 Interrupt error
Replies: 11
Views: 1228

Re: PIC16F18326 Interrupt error

Hi,
I'm using v10. All the entries look correct, but the chip is behaving incorrectly. The falling edge and both edges behave identically.
by DirkB
Tue Apr 28, 2026 8:41 am
Forum: Bug Reports
Topic: PIC16F18326 Interrupt error
Replies: 11
Views: 1228

Re: PIC16F18326 Interrupt error

I don't have a switch; it's a reflex coupler. It has a low slew rate. That's why I've configured the input pin as an input and set it to smittrigger using TRISA = 0b001100; and INLVLA = 0b001100;. The positive edge and both edges work, but the negative edge doesn't work. It behaves the same as if bo...
by DirkB
Sat Apr 25, 2026 11:35 am
Forum: Bug Reports
Topic: PIC16F18326 Interrupt error
Replies: 11
Views: 1228

Re: PIC16F18326 Interrupt error

Hi Martin,

these are exactly the entries (C code) in my interrupt handler. It works with other chips such as the 16F1825/27, the 18F14K22, and many others as well. You have to use a chip. In the simulation, it almost always works, even if it doesn't work on the chip.
by DirkB
Fri Apr 24, 2026 4:35 pm
Forum: Bug Reports
Topic: PIC16F18326 Interrupt error
Replies: 11
Views: 1228

PIC16F18326 Interrupt error

Hello,

I've noticed that on the PIC 16F18326, interrupts always trigger on both edges when a falling edge is set. This applies to the IOC and INT pins.

Regards
by DirkB
Wed Feb 11, 2026 5:18 pm
Forum: Bug Reports
Topic: PIC16F18426 Compiler error.
Replies: 5
Views: 2419

Re: PIC16F18426 Compiler error.

grrrh!!!

thanks ;o)
by DirkB
Fri Feb 06, 2026 1:22 pm
Forum: Bug Reports
Topic: PIC16F18426 Compiler error.
Replies: 5
Views: 2419

Re: PIC16F18426 Compiler error.

Hi Ben, The ported project now compiles without errors, thank you for that. Here is a very small program. It runs without errors in the simulation, but produces an error message during compilation. What have I overlooked? Error creating C source code: test-18426.c : 208 : error : Syntax error Autocl...
by DirkB
Fri Feb 06, 2026 9:35 am
Forum: Bug Reports
Topic: PIC16F18426 Compiler error.
Replies: 5
Views: 2419

PIC16F18426 Compiler error.

Hello, I ported a project from PIC16F1825 to PIC16F18426. PIC16F18426 does not have MIDI component and DAC component functions. If I create a project with only these two components, I get an error message. new project: https://www.flowcode.co.uk Error creating C source code: test-18426.c : 208 : err...
by DirkB
Fri Jan 09, 2026 5:20 pm
Forum: General
Topic: PIC18F15Q41
Replies: 35
Views: 28035

Re: PIC18F15Q41

Hello Martin,

Port C is not available for patching. This applies to all PIC18FxxQ41, 14-pin, and 20-pin devices. I can only send a project file once port C is also available for patching, as my PCB is designed for port C. Please also activate port C for patching.

Thank you.
by DirkB
Wed Dec 31, 2025 1:09 pm
Forum: General
Topic: PIC18F15Q41
Replies: 35
Views: 28035

Re: PIC18F15Q41

The compiler ran once without errors. After updating cal_spi.fcpx, the compiler crashes with an error message. The current project only has interrupt pins, interrupt IOC, MIDI, and digital inputs and outputs. Remapping the MIDI component only offers port C. According to the data sheet, the component...
by DirkB
Fri Dec 05, 2025 10:09 am
Forum: General
Topic: PIC18F15Q41
Replies: 35
Views: 28035

Re: PIC18F15Q41

Hello,

The error is definitely caused by the I2C component. Since the last update (PIC_CAL_SPI.c), the compiler crashes with an error message.

The description of Flowcode V.11 mentions support for the PIC Q series. Does this mean that the series is only supported by version 11?