Rei Vilo 695 Posted December 27, 2012 Share Posted December 27, 2012 SPI provides different speeds on LaunchPad and StellarPad for Energia: #if defined(__MSP430G2553__) SPI.begin(); SPI.setClockDivider(SPI_CLOCK_DIV2); // for MSP430G2553 DIV2 = 8 MHz #elif defined(__LM4F120H5QR__) SPI.begin(2); SPI.setClockDivider(SPI_CLOCK_DIV2); // for LM4F120H5QR DIV2 = 4 MHz ! #endif Please find the traces with my just-purchased oscilloscope thanks to http://embeddedcomputing.weebly.com/2/post/2012/11/oscilloscope-target-reached.html'>contributions I've received! Left: MSP430G2253 = 8 MHz; Right: LM4F210H5QR = 4 MHz Line 119 of Energia / hardware / lm4f / libraries / SPI / SPI.cpp seems to be limited at 4 MHz: ROM_SSIConfigSetExpClk(SSIBASE, SysCtlClockGet(), SSI_FRF_MOTO_MODE_0, SSI_MODE_MASTER, 4000000, 8); bluehash 1 Quote Link to post Share on other sites
bluehash 1,581 Posted December 27, 2012 Share Posted December 27, 2012 Congrats on your Rigol! Quote Link to post Share on other sites
Rei Vilo 695 Posted December 28, 2012 Author Share Posted December 28, 2012 Thanks! And it's really easy to operate. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.