TimeSyncGPIO
A command of the separate bcma command line; see Commands for other chip families.
TimeSyncGPIO command.
TimeSyncGPIO CONFigure set GpioNum=<tsgpio_num> [ClksHI=<>] [ClksLO=<>]\
[PHaseADJLOwer=<>] [PHaseADJHIgher=<>]\
[OUTput=y/n] [OneShotMode=y/n]
CONFigure get GpioNum=<tsgpio_num>
PHaseADJust set GpioNum=<tsgpio_num> [LOwer=<>] [HIgher=<>]
PHaseADJust get GpioNum=<tsgpio_num>
Built-in help
CONFigure set
Sets the configuration of the tsgpio.
Options supported by this command:
GpioNum - TSGPIO being configured
If unspecified, default of 0 is assumed.
ClksHI - Duration (in number of TS_CLKs) the output signal
remains in HIGH state.
ClksLO - Duration (in number of TS_CLKs) the output signal
remains in LOW state.
OUTput - Set to <y> to configure the TSGPIO as Output.
Set to <n> to configure the TSGPIO as Input.
By default, OUTput=y is assumed.
OneShotMode - Set to <y> to generate a OneShot pulse and stop
(i.e., one high and one low ).
By default, OneShotMode=n is assumed.
PHaseADJustHI - Upper 20 bits of the phase adjust value.
PHaseADJustLO - Lower 32 bits of the phase adjust value.
PhaseAdjust is used to steer the output signal.
CONFigure get
Gets the configuration of the tsgpio.
Options supported by this command:
GpioNum - TSGPIO number
If unspecified, default of 0 is assumed.
PHaseADJust set
Sets the Phase Adjust registers.
Options supported by this command:
GpioNum - TSGPIO number
If unspecified, default of 0 is assumed.
HI - Upper 20 bits of the phase adjust value.
LO - Lower 32 bits of the phase adjust value.
PHaseADJust get
Gets the Phase Adjust registers.
Options supported by this command:
GpioNum - TSGPIO number
If unspecified, default of 0 is assumed.
Built-in examples
conf set gn=1 chi=250000000 clo=250000000 output=y
conf set gn=2 output=n
conf get gn=1
phadj set gn=1 hi=0 lo=16000
phadj get gn=1