GunterO Posted March 18, 2015 Report Share Posted March 18, 2015 Well, the 21MHz is working with short dupont wires. I measured with a scope, and the SPI clock is indeed 21MHz, but the clock wave is looking like a sinus/triangle wave. I guess it is probably the maximum we can hope for Link to comment Share on other sites More sharing options...
ivan47 Posted March 18, 2015 Author Report Share Posted March 18, 2015 Guys, thank you very much. You saved me a lot of time. Link to comment Share on other sites More sharing options...
inmarket Posted March 19, 2015 Report Share Posted March 19, 2015 Can you please post the project file as I would like to add it or a variant to the repository. It would be good to have a KEIL example in there. Link to comment Share on other sites More sharing options...
GunterO Posted March 19, 2015 Report Share Posted March 19, 2015 Sure, you can find it here: http://www.otte.be/stm32/20150318_STM32F4-DISCO_uGFX.rarDidn't use something like WeTransfer so the download will be available for a longer time.All is include, to make sure it builds as it should be in Keil µVision (I used v5.13). I kept the naming scheme from Tilen Majerle (http://stm32f4-discovery.com/) and didn't move any of his or µGFX's library files around.The LCD is something like this: http://www.benl.ebay.be/itm/2-2-inch-2-2-SPI-TFT-LCD-Display-module-240x320-ILI9341-51-AVR-STM32-ARM-PIC-/200939222521?pt=LH_DefaultDomain_0&hash=item2ec8e935f9Connected like this:LCD STM32F4-Discovery----------------------------SCK -> B3MISO -> B4 (not used)MOSI -> B5CS -> C2RST -> D12DC/RS -> D13Added a video: https://drive.google.com/file/d/0B3B79fgnqTCaWXU4N3lSX1VKRHM/view?usp=sharing Link to comment Share on other sites More sharing options...
inmarket Posted March 19, 2015 Report Share Posted March 19, 2015 Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now