aboutsummaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorjaseg <jaseg@jaseg.net>2013-12-27 03:02:26 +0100
committerjaseg <jaseg@jaseg.net>2013-12-27 03:02:26 +0100
commita95e0305aeaffadf071e963863c102b30b76993a (patch)
treec499d709443fbef32c3b03c8ecaee5e23d3ce2a9 /firmware
parentf2731bac95ebcd91a2a4b289fefa635ae7c34094 (diff)
downloadmatelight-a95e0305aeaffadf071e963863c102b30b76993a.tar.gz
matelight-a95e0305aeaffadf071e963863c102b30b76993a.tar.bz2
matelight-a95e0305aeaffadf071e963863c102b30b76993a.zip
Some fixes to the host software geom stuff, added a small demo script
Diffstat (limited to 'firmware')
-rw-r--r--firmware/main.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/firmware/main.c b/firmware/main.c
index a7a0436..93351cb 100644
--- a/firmware/main.c
+++ b/firmware/main.c
@@ -272,11 +272,10 @@ int main(void) {
MAP_SysCtlPeripheralEnable(SYSCTL_PERIPH_SSI2);
MAP_SysCtlPeripheralEnable(SYSCTL_PERIPH_SSI3);
- /* 200kBd */
- MAP_SSIConfigSetExpClk(SSI0_BASE, MAP_SysCtlClockGet(), SSI_FRF_MOTO_MODE_0, SSI_MODE_MASTER, 1000000, 8);
- MAP_SSIConfigSetExpClk(SSI1_BASE, MAP_SysCtlClockGet(), SSI_FRF_MOTO_MODE_0, SSI_MODE_MASTER, 1000000, 8);
- MAP_SSIConfigSetExpClk(SSI2_BASE, MAP_SysCtlClockGet(), SSI_FRF_MOTO_MODE_0, SSI_MODE_MASTER, 1000000, 8);
- MAP_SSIConfigSetExpClk(SSI3_BASE, MAP_SysCtlClockGet(), SSI_FRF_MOTO_MODE_0, SSI_MODE_MASTER, 1000000, 8);
+ MAP_SSIConfigSetExpClk(SSI0_BASE, MAP_SysCtlClockGet(), SSI_FRF_MOTO_MODE_0, SSI_MODE_MASTER, 2000000, 8);
+ MAP_SSIConfigSetExpClk(SSI1_BASE, MAP_SysCtlClockGet(), SSI_FRF_MOTO_MODE_0, SSI_MODE_MASTER, 2000000, 8);
+ MAP_SSIConfigSetExpClk(SSI2_BASE, MAP_SysCtlClockGet(), SSI_FRF_MOTO_MODE_0, SSI_MODE_MASTER, 2000000, 8);
+ MAP_SSIConfigSetExpClk(SSI3_BASE, MAP_SysCtlClockGet(), SSI_FRF_MOTO_MODE_0, SSI_MODE_MASTER, 2000000, 8);
/* Configure the µDMA controller for use by the SPI interface */
MAP_SysCtlPeripheralEnable(SYSCTL_PERIPH_UDMA);