Search found 111 matches

by DirkB
Mon May 25, 2026 5:04 pm
Forum: General
Topic: PIC18F15Q41
Replies: 39
Views: 49895

Re: PIC18F15Q41

I've been experimenting a bit, INT pins 0, 1, and 2 aren't working. If I switch to IOC, is there an entry for that!? // Unterbrechung st_bit(INTCON0, GIE); IOCAP=0x0; IOCAN=0x4; IOCCP=0x0; IOCCN=0x0;st_bit(PIE0, IOCIE); Yes, the last line is a bit strange. The interrupt works then, but only once. If...
by DirkB
Mon May 25, 2026 12:10 pm
Forum: General
Topic: PIC18F15Q41
Replies: 39
Views: 49895

Re: PIC18F15Q41

Sorry, the DAC works. I didn't realize it's an 8-bit DAC, not a 5-bit one. Unfortunately, the EEPROM isn't working.
by DirkB
Mon May 25, 2026 10:54 am
Forum: General
Topic: PIC18F15Q41
Replies: 39
Views: 49895

Re: PIC18F15Q41

Sorry, unfortunately, the DAC isn't working either—neither in the simulation nor on the chip.
by DirkB
Mon May 25, 2026 8:59 am
Forum: General
Topic: PIC18F15Q41
Replies: 39
Views: 49895

Re: PIC18F15Q41

Hello Ben,
interrupts 0, 1, and 2 are not working. When mapping the PIC18F05Q41, Port B is also listed as an option.
The PIC18F05(06)Q41 has 14 pins. It does not have a Port B. Only the 20-pin chips have a Port B. When will the component be completed?
I2C is also very important.


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

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: 2280

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: 2280

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: 2280

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: 3563

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: 3563

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...