internal osc 64Mhz
It seems that the LUT component is not working either. Instead of a sine wave, it produces a random output. An up-down counter produces a triangular signal at the output of the PWM.
Search found 97 matches
- Tue Oct 21, 2025 4:14 pm
- Forum: General
- Topic: PIC18F15Q41
- Replies: 28
- Views: 16769
- Tue Oct 21, 2025 8:59 am
- Forum: General
- Topic: PIC18F15Q41
- Replies: 28
- Views: 16769
Re: PIC18F15Q41
Hi Martin Hi Ben, sorry, the internal EPROM seems to be working. I forgot to reactivate the address description. The timing problem is really the I2C component. Midi isn't working either. I activated a Midi send function, and something is being sent. But the receiver isn't responding. Seems to be th...
- Mon Oct 20, 2025 5:13 pm
- Forum: General
- Topic: PIC18F15Q41
- Replies: 28
- Views: 16769
Re: PIC18F15Q41
Hi Martin, The EEPROM component does not write (or read, or both), and the MIDI component does not work. The timing problem is definitely due to the I2C component. Perhaps an (i2c)-interrupt problem? If there is no I2C component such as serial EEPROM, I2C DAC, or I2C DIGIPOT, the speed of the progra...
- Fri Sep 26, 2025 4:00 pm
- Forum: General
- Topic: PIC18F15Q41
- Replies: 28
- Views: 16769
Re: PIC18F15Q41
Hello Ben, I have flashed a chip with a small program containing the components EEProm, Serial-EEPRom (i2c), Digital Pot (i2c), PWM, and UART (Midi). The timing is OK. PWM 62.5 KHz is correct. Clock out 16 MHZ (FOSC/4) is correct. The compiler runs without errors. PWM works, interrupts work, digital...
- Tue Sep 23, 2025 2:47 pm
- Forum: General
- Topic: PIC18F15Q41
- Replies: 28
- Views: 16769
Re: PIC18F15Q41
OK, the OSC speed feels like 1/100 or less.
- Tue Sep 23, 2025 11:30 am
- Forum: General
- Topic: PIC18F15Q41
- Replies: 28
- Views: 16769
Re: PIC18F15Q41
Hello Ben, I have ported a project from the PIC18F14K22 to the PIC18F15Q41. All functions are OK, but the OSC speed feels like 1/10 or less. I set INTOSC to 64MHZ and inserted the C code OSCFRQ=0x08;. The problem persists. Could you create and post a small project with the settings 64MHz, Oscillator...
- Sun Sep 21, 2025 1:20 pm
- Forum: General
- Topic: PIC18F15Q41
- Replies: 28
- Views: 16769
Re: PIC18F15Q41
Hello Ben,
I forgot to mention that the compiler runs without errors with the PIC18F05Q41 and the EEPROM component.
I forgot to mention that the compiler runs without errors with the PIC18F05Q41 and the EEPROM component.
- Sun Sep 21, 2025 1:14 pm
- Forum: General
- Topic: PIC18F15Q41
- Replies: 28
- Views: 16769
Re: PIC18F15Q41
Hello Ben, it looks very good. I2C, midi and pwm hardware now compiles without errors. However, there is a problem with the eeProm. Could you please take another look at it? Then I will run the test with the chip and post the results here. One more question: What is the flash eprom component? With t...
- Mon Sep 15, 2025 5:46 pm
- Forum: General
- Topic: PIC18F15Q41
- Replies: 28
- Views: 16769
Re: PIC18F15Q41
Hello Ben,
Midi seems OK, the compiler runs without errors. PWM too. I will test it with a chip next week and report back.
Many thanks
Midi seems OK, the compiler runs without errors. PWM too. I will test it with a chip next week and report back.
Many thanks
- Wed Sep 10, 2025 4:55 pm
- Forum: General
- Topic: PIC18F15Q41
- Replies: 28
- Views: 16769
Re: PIC18F15Q41
Hi Ben, Hi Steve, here's a comment about the I2C component to bump up the thread and make sure it's not forgotten. I'm including Ben's post so that it's clear what this is about. Thanks Hello, I think we've looked at this I2C before and ran into issues however on having another look I've spotted mor...