PIC18F15Q41

For general Flowcode discussion that does not belong in the other sections.
DirkB
Posts: 118
http://meble-kuchenne.info.pl
Joined: Thu Dec 10, 2020 3:55 pm
Has thanked: 1 time
Been thanked: 4 times

Re: PIC18F15Q41

Post by DirkB »

Hello Ben,

Interrupts do not work on the PIC18FxxQ41 family—neither the IOC nor the interrupt pins. For the 14-pin chip, Port B is also offered for PPS. The 14-pin chips do not have Port B. I cannot run any tests if the interrupts aren’t working. Could you please complete support for this family?

Thank you

Dirk

BenR
Matrix Staff
Posts: 2267
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 625 times
Been thanked: 833 times

Re: PIC18F15Q41

Post by BenR »

Hi Dirk,

Thanks for reporting I'll look into it now for you. Which specific chips have you tested and are you using v10 or v11?

I've been through and checked the 1804Q41, 1805Q41, 1806Q41 devices in V10 and V11 and they are all correctly avoiding the use of PortB for the IOC.

I can't see any reasons so far that would explain the interrupts not working. Are you driving clean edge signals at VCC and GND?

I'll check these latest definition files are current on the library updates server.

DirkB
Posts: 118
Joined: Thu Dec 10, 2020 3:55 pm
Has thanked: 1 time
Been thanked: 4 times

Re: PIC18F15Q41

Post by DirkB »

Hi Ben,
Hmm, the 14-pin chips don’t have a Port B. I’m still working with Flowcode V10. When I try to select one of these chips, that’s what it offers me. See attachment Screenshot 2026-08-09 105518.png. Could it be that these chips only work with Flowcode V11? Interrupts just aren’t working—neither UART, nor Pin INT, nor IOAC.
I’m using optocouplers with a low slew rate. That’s why pins A2 and A3 are set as smith triggers via INLVLA = 0b00001100;.
This works perfectly with the 16F18426, for example.
I’d like to use the 18F04Q41, 18F05Q41, 18F06Q41, 18F14Q41, 18F15Q41, and 18F16Q41.

Can you upload the chip components here?

Thanks

Dirk
Attachments
Screenshot 2026-08-09 105518.png
Screenshot 2026-08-09 105518.png (35.71 KiB) Viewed 2530 times

medelec35
Valued Contributor
Posts: 2367
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 748 times
Been thanked: 808 times

Flowcode v10 Re: PIC18F15Q41

Post by medelec35 »

Hi Dirk.
The blank entries have nothing to do with working on FC11 but not FC10.
It's just data that has not been added to the peripherals.xml file
I have added the data for you.

First close Flowcode 10.
Then browse to this location using File Explorer, it's hidden by default so just paste the link into your address bar.

Code: Select all

%ProgramData%\MatrixTSL\FlowcodeV10\FCD
Keep a copy (or rename) of the original peripherals.xml, then replace with the attached file.
There are a fair few changes, so hopefully the are all correct.
When you next open Flowcode v10, all the new device data should be present.
Attachments
peripherals.xml
(98.01 KiB) Downloaded 33 times
Martin

Post Reply