Search found 8 matches

by ianjoh
Fri May 17, 2024 11:31 am
Forum: Projects - Embedded
Topic: Secondary oscillator on a PIC16F18425
Replies: 4
Views: 54

Re: Secondary oscillator on a PIC16F18425

HI Martin That setting still does not trigger the interrupt as the 32Khz crystal is not oscillating, pins 2 & 3 are firmly off. I have tried just about every setting available! I think the confusion with the FC is that the SOSC uses the same pins as OSC1 & OSC2 so when they are off so is the SOSC. T...
by ianjoh
Thu May 16, 2024 11:15 pm
Forum: Projects - Embedded
Topic: Secondary oscillator on a PIC16F18425
Replies: 4
Views: 54

Re: Secondary oscillator on a PIC16F18425

Hi Martin Thank you for your reply. I have been waiting for some new crystals and matching caps rather than the lucky scrap bin find. 32.768 KHz crystal on pins 2 & 3 and Timer0 as your suggestion If I set the Software Oscillator Mode to EXTOSC I get oscillation on the 'scope and the PIC runs (slowl...
by ianjoh
Mon May 13, 2024 7:26 pm
Forum: Projects - Embedded
Topic: Secondary oscillator on a PIC16F18425
Replies: 4
Views: 54

Secondary oscillator on a PIC16F18425

Hi all I am trying to set up a secondary oscillator using a 32.768 KHz xtal to give an accurate tick for a timing counter. Looking at the data sheet on page 8 pin allocation table it would seem that the SOSC shares the same block on pins 2 & 3 as the OSC1 & OSC2 which is ok as I will use the INT OSC...
by ianjoh
Wed Apr 17, 2024 8:42 pm
Forum: Projects - Embedded
Topic: Rs232 display driver
Replies: 5
Views: 937

Re: Rs232 display driver

Hi Martin
That is a fab idea, thanks for the introduction!

Regards Ian
by ianjoh
Tue Apr 16, 2024 12:59 am
Forum: Projects - Embedded
Topic: Rs232 display driver
Replies: 5
Views: 937

Re: Rs232 display driver

Thank you for your reply Ben I understand it better now, I have set the UART to send char and changed the LUT data format to suit and it is now sending as expected but not yet changing the font colour so I need to look at and tweak what I am sending. The display and its "bolt on" PIC based driver ar...
by ianjoh
Mon Apr 15, 2024 12:48 am
Forum: Projects - Embedded
Topic: Rs232 display driver
Replies: 5
Views: 937

Rs232 display driver

Early stage of a project to drive a Message Maker Led matrix display. I can display a message string, and clear it using hex sent from a byte array as it is only 10 bytes. The hex required to send default settings so I can change to font colour is much longer at 40 plus bytes so I thought I could us...
by ianjoh
Sun Feb 18, 2024 8:23 pm
Forum: General
Topic: New Project interrupt timer slow
Replies: 4
Views: 294

Re: New Project interrupt timer slow

Ah thank you! A perfect answer.

I got a bit bamboozled by the sheer amount of options with selecting frequency modes, lots to learn.
by ianjoh
Sat Feb 17, 2024 11:45 pm
Forum: General
Topic: New Project interrupt timer slow
Replies: 4
Views: 294

New Project interrupt timer slow

This is a new PIC to me, an upgrade from my usual 16F688 so the I can make use of the PWM function. However I am unable to get the interrupt timer in the properties faster then 15Hz with a 4Mhz HS external crystal. I am looking for around 1kHz. Have I got a setting wrong somewhere? Before i get too ...