Page 4 of 4
Re: Glue questions
Posted: Fri Nov 07, 2025 2:04 am
by Niek6502
Does the PIC have an option to change the drive speed (rise/fall times) of the output like STM parts do?
Not that I could find.
-Niek.
Re: Glue questions
Posted: Fri Nov 07, 2025 6:13 am
by John West
Does the PIC have an option to change the drive speed (rise/fall times) of the output like STM parts do?
Quickly looking at the datasheet, I think the SLRCON* "Slew Rate Control" registers might do that. They default to 1, which means slow. And reading further (in the I/O and CLKOUT Timing Specifications), that'll get about 20ns back.
Re: Glue questions
Posted: Fri Nov 07, 2025 6:39 pm
by Niek6502
Quickly looking at the datasheet, I think the SLRCON* "Slew Rate Control" registers might do that. They default to 1, which means slow. And reading further (in the I/O and CLKOUT Timing Specifications), that'll get about 20ns back.
Ah - I missed that. I will give that a go over the weekend. Thanks!
-Niek.
Re: Glue questions
Posted: Sun Nov 09, 2025 4:39 pm
by Niek6502
Quickly looking at the datasheet, I think the SLRCON* "Slew Rate Control" registers might do that. They default to 1, which means slow. And reading further (in the I/O and CLKOUT Timing Specifications), that'll get about 20ns back.
Ah - I missed that. I will give that a go over the weekend.
Did another test:
First input of the scope (yellow line) shows an output of a CLC with maximum slew rate, the second input (blue line) shows a CLC output with the default slow slew rate. Quite a difference. For my rig at 1MHz this will be more than adequate. Thanks John!
-Niek.