Search found 30 matches

by diger67
Wed May 03, 2017 11:58 am
Forum: Ideas & suggestions
Topic: Software QSPI for stm32f103
Replies: 11
Views: 409

Re: Software QSPI for stm32f103

I checked the dump reading time to 256 bytes. When initializing SysTick in 1 μs, the read time for the program QSPI is 1 ms. uint8_t idData[3]; uint8_t dataBuff[0x100]; static __IO uint32_t sysTickCounter; __IO uint32_t uwTick = 0; float timeend; uint32_t time; uint32_t GetSysTick(void) { return uwT...
by diger67
Wed May 03, 2017 2:26 am
Forum: Ideas & suggestions
Topic: Software QSPI for stm32f103
Replies: 11
Views: 409

Re: Software QSPI for stm32f103

This idea was born accidentally. I connected memory to stm32f446 by QSPI, it did not work correctly. As I found out on the board, it was incorrect to mark two pins. I did not have any other stm32 with QSPI hardware, I had to write a software one. Measuring the read speed is not difficult. The materi...
by diger67
Tue May 02, 2017 4:57 pm
Forum: Ideas & suggestions
Topic: Software QSPI for stm32f103
Replies: 11
Views: 409

Re: Software QSPI for stm32f103

victor_pv wrote: Diger, not sure if it was a typo, but the F103 can do Hardware SPI at up 18Mbit officially in SPI1 to 3, and up to 36Mbit unofficially in SPI1.
Are you referring to a flash memory limitation with the 4Mbits?
No. The memory in the SIP mode supports a transmission rate of up to 104 MHz.
by diger67
Tue May 02, 2017 4:51 pm
Forum: Ideas & suggestions
Topic: Software QSPI for stm32f103
Replies: 11
Views: 409

Re: Software QSPI for stm32f103

Wow !! Sorry. Said stupidity, of course, 18 Mbit / s. But even at this speed the 4-wire software bus will win at the SPI.
by diger67
Tue May 02, 2017 4:38 pm
Forum: Ideas & suggestions
Topic: Software QSPI for stm32f103
Replies: 11
Views: 409

Re: Software QSPI for stm32f103

is there any advantage in using this software quadspi iso just the hardware spi? normally such memory chips support both normal spi and quad spi, and i assume you're still way faster using the hardware spi vs the software quadspi. or is this a chip that only has quadspi? This and the chips, which a...
by diger67
Tue May 02, 2017 1:18 am
Forum: Ideas & suggestions
Topic: Software QSPI for stm32f103
Replies: 11
Views: 409

Software QSPI for stm32f103

Many people use stm32f103xxx. But it does not have a QSPI peripheral module. After reading the documentation for memory (w25qxxx), we tried to write functions that allow you to read information from it using this protocol. And that's what happened. If someone is interested in me to put the source, w...
by diger67
Sun Mar 26, 2017 4:18 pm
Forum: Projects
Topic: stm32f429 SRAM + ext SRAM + TFT 16bit with DMA
Replies: 24
Views: 1596

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

Calibrating the touchscreen and saving data in its eeprom 24L16

https://youtu.be/5Kthe-pgFUQ
by diger67
Sun Mar 19, 2017 5:05 pm
Forum: Projects
Topic: stm32f429 SRAM + ext SRAM + TFT 16bit with DMA
Replies: 24
Views: 1596

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

Work with the touchscreen can be considered complete, there may be an optimization. Now when you first turn on after downloading the firmware, the system immediately enters the calibration mode. Then records all the data and flag "calibration, is made in its eeprom. It remains to provide a forced tr...
by diger67
Sun Mar 19, 2017 6:45 am
Forum: Projects
Topic: stm32f429 SRAM + ext SRAM + TFT 16bit with DMA
Replies: 24
Views: 1596

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

Connected the energy independent memory 24c16, now you can save the calibration values and variables without fear of power failure. Well, here's a simple calibration of the touchscreen. The accuracy is 2-4 pixels. I had enough. void touchSetCoef(int16_t _ax, int16_t _bx, int16_t _ay, int16_t _by, bo...
by diger67
Tue Mar 14, 2017 2:40 pm
Forum: Projects
Topic: stm32f429 SRAM + ext SRAM + TFT 16bit with DMA
Replies: 24
Views: 1596

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

In this video, we'll look at creating a slider element and its work in practice. Also consider the changes made to the function of reading the coordinates that increase the stability of the read value. Well and on a small bonus, we will consider functions for work with a hardware image shift using t...