Search found 30 matches

by diger67
Thu Jan 19, 2017 11:43 pm
Forum: Projects
Topic: stm32f429 SRAM + ext SRAM + TFT 16bit with DMA
Replies: 24
Views: 2773

Re: stm32f429 SRAM + ext SRAM + TFT 16bit with DMA

Used TFT connected in parallel 16-bit bus. Probably it is possible to SPI and use. I did not think long about this question.
by diger67
Thu Jan 19, 2017 8:37 am
Forum: Projects
Topic: stm32f429 SRAM + ext SRAM + TFT 16bit with DMA
Replies: 24
Views: 2773

Re: stm32f429 SRAM + ext SRAM + TFT 16bit with DMA

This solution allows you to prepare a copy of the display area in the external memory and display screen one dump. It also allows you to realize the function of the virtual layers. With sufficient external memory can store several preformed screen screenshots and print them on demand.
by diger67
Mon Jan 16, 2017 1:59 am
Forum: Projects
Topic: stm32f429 SRAM + ext SRAM + TFT 16bit with DMA
Replies: 24
Views: 2773

stm32f429 SRAM + ext SRAM + TFT 16bit with DMA

Good day. I try to implement the idea for the removal of information on the TFT screen is pre-recorded in the external memory, and then write it in the TFT using DMA. That's what has happened to make. https://youtu.be/2yn_j_dLoy4 https://youtu.be/wYmzSF-hkl0 https://youtu.be/OnpP7y9HBw4 https://yout...
by diger67
Wed Aug 03, 2016 11:22 pm
Forum: Libraries & Hardware
Topic: Port manipulation - LCD 8bit parallel
Replies: 68
Views: 13016

Re: Port manipulation - LCD 8bit parallel

Are you trying to clear the APB2ENR register with the &= ((RCC->APB2ENR &= 0xFFFFFFFF) ? It is probably easier to set it to zero or use &= ((RCC->APB2ENR &= ~0xFFFFFFFF) Or maybe I misunderstand what you are doing there. -rick It is understood that after the reset registers are filled with default ...
by diger67
Wed Aug 03, 2016 9:23 pm
Forum: Libraries & Hardware
Topic: Port manipulation - LCD 8bit parallel
Replies: 68
Views: 13016

Re: Port manipulation - LCD 8bit parallel

Hi! I do not work in an environment with Arduino STM. But can someone come in handy. Here are a few defines. Their work is checked in Keil. Binding conclusions made to the standard location pins Shild TFT for Arduino. New definition write8inline (d) is faster than the previous version. //Port data |...
by diger67
Wed Sep 16, 2015 12:50 am
Forum: Libraries & Hardware
Topic: Port manipulation - LCD 8bit parallel
Replies: 68
Views: 13016

Re: Port manipulation - LCD 8bit parallel

there's FSMC w/DMA driver code in the HAL libraries - you could use that, or adapt that, or just study it. Using the DMA is the next step. DMA is useful when transferring the dump from SD to TFT. To use the text and primitive enough FSMC. Adafruit library contains a set of functions required. It is...
by diger67
Tue Sep 15, 2015 5:00 pm
Forum: Libraries & Hardware
Topic: Port manipulation - LCD 8bit parallel
Replies: 68
Views: 13016

Re: Port manipulation - LCD 8bit parallel

Developing the theme of adaptation to the library Adafruit stm32. The library for the 16 bit bus using FSMC. It is easy to do the work for 8-bit bus. /*******************************************************************/ #include "stm32f10x_gpio.h" #include "stm32f10x_fsmc.h" #include "stm32f10x_rcc....
by diger67
Sat Sep 12, 2015 6:39 pm
Forum: Libraries & Hardware
Topic: Port manipulation - LCD 8bit parallel
Replies: 68
Views: 13016

Re: Port manipulation - LCD 8bit parallel

There is a proposal to try to use the CPU and functions FSMC Adafruit. This greatly relieve the CPU. For one thing, there are only a FSMC in older STM. Here's an example to start ili9341. /********************************************************************/ #include "stm32f10x_gpio.h" #include "stm...
by diger67
Thu Sep 10, 2015 1:47 am
Forum: Libraries & Hardware
Topic: Port manipulation - LCD 8bit parallel
Replies: 68
Views: 13016

Re: Port manipulation - LCD 8bit parallel

Hi friends... I tried to port Adafruit TFT LCD library to work with STM32 but I can't control LCD. This library control 8 bit parallel LCD's. I'm including codes for you appreciate. Changes: In pin_magic.h: #elif defined(__STM32F1__) // Data pins is PA4 PA5 PA6 PA7 - PB12 PB13 PB14 PB15 #define wri...
by diger67
Thu Sep 10, 2015 1:09 am
Forum: Libraries & Hardware
Topic: Port manipulation - LCD 8bit parallel
Replies: 68
Views: 13016

Re: Port manipulation - LCD 8bit parallel

Hi. You have not worked a function void write8 (uint8_t value) due to improper #define write8inline (d) . Try this. I think you will understand. // Data pins is PA4 PA5 PA6 PA7 - PB12 PB13 PB14 PB15 #define write8inline(d) { \ GPIOA->regs->BRR = ((GPIOA->regs->BRR & 0xFF0F) | ((d << 4) & 0x00F0)); \...