Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ti-connected-launchpad
rtos_raw_public
Commits
3cbe6a01
Commit
3cbe6a01
authored
Aug 24, 2016
by
Matthias Wenzl
Browse files
fixed sdspi pin mismatch bug for ssi2
parent
e3ba9562
Changes
1
Hide whitespace changes
Inline
Side-by-side
TM4C1294XL/EK_TM4C1294XL.c
View file @
3cbe6a01
...
...
@@ -463,8 +463,8 @@ const SDSPITiva_HWAttrs sdspiTivaHWattrs[EK_TM4C1294XL_SDSPICOUNT] = {
GPIO_PIN_0
,
/* MISO PIN */
GPIO_PORTD_BASE
,
/* SPI MOSI PORT */
GPIO_PIN_1
,
/* MOSI PIN */
GPIO_PORT
C
_BASE
,
/* GPIO CS PORT */
GPIO_PIN_
7
,
/* CS PIN */
GPIO_PORT
H
_BASE
,
/* GPIO CS PORT */
GPIO_PIN_
2
,
/* CS PIN */
},
{
SSI3_BASE
,
/* SPI base address */
...
...
@@ -504,8 +504,8 @@ void EK_TM4C1294XL_initSDSPI(void)
GPIO_PIN_0
,
GPIO_STRENGTH_4MA
,
GPIO_PIN_TYPE_STD_WPU
);
GPIOPadConfigSet
(
GPIO_PORT
C
_BASE
,
GPIO_PIN_
7
,
GPIOPadConfigSet
(
GPIO_PORT
H
_BASE
,
GPIO_PIN_
2
,
GPIO_STRENGTH_4MA
,
GPIO_PIN_TYPE_STD
);
GPIOPinConfigure
(
GPIO_PD3_SSI2CLK
);
...
...
Write
Preview
Supports
Markdown
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