STM32F7 + SPI + LCD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-10-20 7:29 AM
Helo! I'd like to make the next thing:
LCD application and communication with another IC through SPI,
I did the next steps:
1. I made a new uVision LCD projects (found the steps in the ARM youtube channel, works fine).
2. I checked the SI DMA example (STM32Cube V1.8.0).
3. Import the files (stm32f7xx_hal_msp, stm32f7xx_it, main.h)
The project is not working. Where should I look the problem? Or how should I solve this, or what is the way?
#keil #spi #stm32f7- Labels:
-
Keil
-
SPI
-
STM32F7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-10-20 8:31 AM
Please edit post so text formats normally.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-10-20 8:58 AM
So from 1) I'm assuming that you have a working display using whatever SPI modes were being used there.
I would probably clone the SPI DMA example and then modify and merge in the code from the prior working example. You're going to want to pay attention to SPI and DMA being used, and pins. If the code builds you should review what's happening at the pins with a scope or analyzer.
I'm afraid 'not working' is a bit of a broad target. The LCD doesn't respond? The SPI doesn't clock?
Start with the working model you have and pull in and test new portions a bit at a time.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-10-20 11:56 AM
The LCD application is working. After I have added the SPI options (hal_msp.c file) the LCD still working, the SPi doesn't.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-10-21 11:42 AM
Thanks.
After I made an LCD project, I did the next step: I took the SPI options and got to the LCD project. After these the LCD still worked.