Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
3214ff07
Commit
3214ff07
authored
11 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
SAMA5 I2S Kconfig update
parent
390378bf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
arch/arm/src/sam34/Kconfig
+4
-0
4 additions, 0 deletions
arch/arm/src/sam34/Kconfig
arch/arm/src/sama5/Kconfig
+28
-52
28 additions, 52 deletions
arch/arm/src/sama5/Kconfig
with
32 additions
and
52 deletions
arch/arm/src/sam34/Kconfig
+
4
−
0
View file @
3214ff07
...
...
@@ -231,6 +231,10 @@ config ARCH_CHIP_SAM4L
default n
select ARCH_RAMFUNCS
config ARCH_CHIP_SAM4E
bool
default n
config ARCH_CHIP_SAM4S
bool
default n
...
...
This diff is collapsed.
Click to expand it.
arch/arm/src/sama5/Kconfig
+
28
−
52
View file @
3214ff07
...
...
@@ -1418,31 +1418,25 @@ choice
default SAMA5_SSC0_RX_MCKDIV
config SAMA5_SSC0_RX_RKINPUT
bool "
External Clock
"
bool "
RK input
"
---help---
The SSC receiver clock is an external clock provided on the RK input
pin.
pin.
Sample rate determined by the external clock frequency.
config SAMA5_SSC0_RX_TXCLK
bool "Transmitter Clock"
---help---
The SSC receiver clock is transmitter clock.
The SSC receiver clock is transmitter clock. RX sample rate is the same
as the TX sample rate.
config SAMA5_SSC0_RX_MCKDIV
bool "MCK/2"
---help---
The SSC receiver clock is the MCK/2 divided by a up to 4095.
The SSC receiver clock is the MCK/2 divided by a up to 4095. Desired
sample rate must be provided below.
endchoice # Receiver clock source
config SAMA5_SSC0_RX_EXTFREQ
int "External reciver clock frequency"
default 100
depends on SAMA5_SSC0_RX_RKINPUT
---help---
If the receiver clock is provided via a clock input on the RK pin,
then the frequency of the receiver clock must be provided.
if !SAMA5_SSC0_RX_RKINPUT
choice
prompt "Receiver output clock"
...
...
@@ -1474,31 +1468,25 @@ choice
default SAMA5_SSC0_TX_MCKDIV
config SAMA5_SSC0_TX_TKINPUT
bool "
External Clock
"
bool "
TK input
"
---help---
The SSC transmitter clock is an external clock provided on the TK input
pin.
pin.
Sample rate determined by the external clock frequency.
config SAMA5_SSC0_TX_RXCLK
bool "Receiver Clock"
---help---
The SSC transmitter clock is receiver clock.
The SSC transmitter clock is receiver clock. TX sample rate is the same
as the RX sample rate.
config SAMA5_SSC0_TX_MCKDIV
bool "MCK/2"
---help---
The SSC transmitter clock is the MCK/2 divided by a up to 4095.
The SSC transmitter clock is the MCK/2 divided by a up to 4095. Desired
sample rate must be provided below.
endchoice # Transmitter clock source
config SAMA5_SSC0_TX_EXTFREQ
int "External transmitter clock frequency"
default 100
depends on SAMA5_SSC0_TX_TKINPUT
---help---
If the transmitter clock is provided via a clock input on the TK pin,
then the frequency of the transmitter clock must be provided.
if !SAMA5_SSC0_TX_TKINPUT
choice
prompt "Transmitter output clock"
...
...
@@ -1518,8 +1506,8 @@ endif # !SAMA5_SSC0_TX_TKINPUT
endif # SAMA5_SSC0_TX
config SAMA5_SSC0_MCKDIV_SAMPLERATE
int "
Internal transmitter clock frequency
"
default
1
00
int "
Sample rate
"
default
480
00
depends on SAMA5_SSC0_RX_MCKDIV || SAMA5_SSC0_TX_MCKDIV
---help---
If the either the receiver or transmitter clock is provided by MCK/2 divided
...
...
@@ -1570,31 +1558,25 @@ choice
default SAMA5_SSC1_RX_MCKDIV
config SAMA5_SSC1_RX_RKINPUT
bool "
External Clock
"
bool "
RK input
"
---help---
The SSC receiver clock is an external clock provided on the RK input
pin.
pin.
Sample rate determined by the external clock frequency.
config SAMA5_SSC1_RX_TXCLK
bool "Transmitter Clock"
---help---
The SSC receiver clock is transmitter clock.
The SSC receiver clock is transmitter clock. RX sample rate is the same
as the TX sample rate.
config SAMA5_SSC1_RX_MCKDIV
bool "MCK/2"
---help---
The SSC receiver clock is the MCK/2 divided by a up to 4095.
The SSC receiver clock is the MCK/2 divided by a up to 4095. Desired
sample rate must be provided below.
endchoice # Receiver clock source
config SAMA5_SSC1_RX_EXTFREQ
int "External reciver clock frequency"
default 100
depends on SAMA5_SSC1_RX_RKINPUT
---help---
If the receiver clock is provided via a clock input on the RK pin,
then the frequency of the receiver clock must be provided.
if !SAMA5_SSC1_RX_RKINPUT
choice
prompt "Receiver output clock"
...
...
@@ -1626,31 +1608,25 @@ choice
default SAMA5_SSC1_TX_MCKDIV
config SAMA5_SSC1_TX_TKINPUT
bool "
External Clock
"
bool "
TK input
"
---help---
The SSC transmitter clock is an external clock provided on the TK input
pin.
pin.
Sample rate determined by the external clock frequency.
config SAMA5_SSC1_TX_RXCLK
bool "Receiver Clock"
---help---
The SSC transmitter clock is receiver clock.
The SSC transmitter clock is receiver clock. TX sample rate is the same
as the RX sample rate.
config SAMA5_SSC1_TX_MCKDIV
bool "MCK/2"
---help---
The SSC transmitter clock is the MCK/2 divided by a up to 4095.
The SSC transmitter clock is the MCK/2 divided by a up to 4095. Desired
sample rate must be provided below.
endchoice # Transmitter clock source
config SAMA5_SSC1_TX_EXTFREQ
int "External transmitter clock frequency"
default 100
depends on SAMA5_SSC1_TX_TKINPUT
---help---
If the transmitter clock is provided via a clock input on the TK pin,
then the frequency of the transmitter clock must be provided.
if !SAMA5_SSC1_TX_TKINPUT
choice
prompt "Transmitter output clock"
...
...
@@ -1670,8 +1646,8 @@ endif # !SAMA5_SSC1_TX_TKINPUT
endif # SAMA5_SSC1_TX
config SAMA5_SSC1_MCKDIV_SAMPLERATE
int "
Internal transmitter clock frequency
"
default
1
00
int "
Sample rate
"
default
480
00
depends on SAMA5_SSC1_RX_MCKDIV || SAMA5_SSC1_TX_MCKDIV
---help---
If the either the receiver or transmitter clock is provided by MCK/2 divided
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment