Search found 1175 matches

by stevestrong
Thu Jun 29, 2017 8:38 am
Forum: Libraries & Hardware
Topic: New library for LCD FT8XX STM32
Replies: 10
Views: 166

Re: New library for LCD FT8XX STM32

The better comparison for Teensy 3.6 would be the STM32 F4 family (CPU@168MHz), not the F1.
by stevestrong
Thu Jun 29, 2017 8:36 am
Forum: Problems with libraries
Topic: Arduino TFT libraries compatibility
Replies: 20
Views: 284

Re: Arduino TFT libraries compatibility

Regarding the touch, some TFTs have the resistive touch pins on different display data pins. The best modality to find out on which display pins is mapped the touch is to measure effectively the resistance between different pins. I can imagine a thin wrapper layer between the touch lib and user API ...
by stevestrong
Thu Jun 29, 2017 8:23 am
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 109
Views: 6773

Re: OV7670, Generic STM32F103RC and ILI9341 display

@indrekluuk, sorry, it seems that I misinterpreted your code, I though the padding was there for byte swap. After consulting both OV7670 and ILI9341 manuals I see that there is no need to swap the bytes. OV7670 data output begins with the r+(g/2) byte: OV7670 data output.jpg ILI9341 data input expec...
by stevestrong
Thu Jun 29, 2017 6:33 am
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 109
Views: 6773

Re: OV7670, Generic STM32F103RC and ILI9341 display

Don't you end up with the high byte of pixel1 and the low byte of pixel 2, being seen as the first byte sent to the display. Exactly, this is the trick, if I interpret correctly the stuff here: https://github.com/indrekluuk/LiveOV7670_stm32-arduino/blob/2f940045bf3b159cfa68d9e3cb3f41de59b42384/src/...
by stevestrong
Thu Jun 29, 2017 6:27 am
Forum: Libraries & Hardware
Topic: Use STM32F103C8 with TFT 320QVT 9341
Replies: 11
Views: 100

Re: Use STM32F103C8 with TFT 320QVT 9341

You have to detect what kind of chip is I2, the touch controller, and load a library for that.
by stevestrong
Wed Jun 28, 2017 10:08 pm
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 109
Views: 6773

Re: OV7670, Generic STM32F103RC and ILI9341 display

As far as i know, @indrekluuk uses the trick that ignores the very first byte so that the high byte of the next pixel will be the high byte of the actual pixel.

I dont know, would it help if you set the spi to 16 bit transfer mode? Would the bytes change their order this way?
by stevestrong
Wed Jun 28, 2017 2:44 pm
Forum: Off topic
Topic: Learning about 433 MHz radios - how?
Replies: 22
Views: 748

Re: Learning about 433 MHz radios - how?

nRF905 is another option but I had to hack an AVR library to use it, and the result was not pretty;-) Hi Roger, can you share the hacked nRF905 code (even if it is not pretty)? I am interested to test it, I have a project to control my home ventilation system which uses a protocol based on this chip.
by stevestrong
Wed Jun 28, 2017 12:07 pm
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 109
Views: 6773

Re: OV7670, Generic STM32F103RC and ILI9341 display

@indrekluuk, can you please tell us which SPI driver are you using? Is it from the official Arduino_STM32 repository? https://github.com/rogerclarkmelbourne/Arduino_STM32/tree/master/STM32F1/libraries/SPI/src https://github.com/rogerclarkmelbourne/Arduino_STM32/blob/8423fb9807beebd6888bc9cf77416b10b...
by stevestrong
Wed Jun 28, 2017 11:52 am
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 109
Views: 6773

Re: OV7670, Generic STM32F103RC and ILI9341 display

Roger, be careful, it looks like the in the users manual mentioned MSB / LSB swap is actually a bit reversing (D0 -> D7, D1->D6, ...), not a byte order swap!
OV7670 data swap.jpg
OV7670 data swap.jpg (46.34 KiB) Viewed 31 times
by stevestrong
Wed Jun 28, 2017 8:45 am
Forum: Libraries & Hardware
Topic: Use STM32F103C8 with TFT 320QVT 9341
Replies: 11
Views: 100

Re: Use STM32F103C8 with TFT 320QVT 9341

It seems that your LCD controller is not an ILI9341, but SSD1289. This controller type is not supported by my library, but can be added. For initialization sequences please have a look at: https://github.com/prenticedavid/MCUFRIEND_kbv. The touch controller is an SPI driven one, you have to detect w...