Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
9cf166c1
Commit
9cf166c1
authored
Sep 10, 2020
by
Guido Visser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Functions added to tune the KpKi Vals in the main pll.
parent
7da20d14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
softpll_ng.c
softpll/softpll_ng.c
+3
-6
No files found.
softpll/softpll_ng.c
View file @
9cf166c1
...
...
@@ -892,12 +892,9 @@ void spll_set_aux_mode( int channel, int mode )
// Guido's heel smerig manier om er data in te proppem
void
spll_set_pi
(
int
kp
,
int
ki
)
void
spll_set_pi
_kpki
(
int
kp
,
int
ki
)
{
//A=softpll.mpll.pi.y;
//pp_printf("output PI Y %i\n",softpll.mpll.pi.y);
softpll
.
mpll
.
pi
.
kp
=
kp
;
softpll
.
mpll
.
pi
.
kp
=
kp
;
softpll
.
mpll
.
pi
.
ki
=
ki
;
spll_show_kpki
();
//pp_printf("setted Kp %i\t Ki %i\n",softpll.mpll.pi.kp,softpll.mpll.pi.ki);
...
...
@@ -930,7 +927,7 @@ void spll_set_pi_solo_ki(int ki)
void
spll_show_kpki
()
{
// to display actual Kp Ki
// to display actual Kp Ki
of the Main PLL yes it is ugly
pp_printf
(
"setted Kp %i
\t
Ki %i
\n
"
,
softpll
.
mpll
.
pi
.
kp
,
softpll
.
mpll
.
pi
.
ki
);
pp_printf
(
"PI bypass? %i
\n
"
,
softpll
.
mpll
.
pi
.
disablecontrol
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment