diff options
author | jaseg <jaseg@jaseg.net> | 2013-12-27 03:02:26 +0100 |
---|---|---|
committer | jaseg <jaseg@jaseg.net> | 2013-12-27 03:02:26 +0100 |
commit | a95e0305aeaffadf071e963863c102b30b76993a (patch) | |
tree | c499d709443fbef32c3b03c8ecaee5e23d3ce2a9 /firmware | |
parent | f2731bac95ebcd91a2a4b289fefa635ae7c34094 (diff) | |
download | matelight-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.c | 9 |
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); |