Search found 6684 matches

by RogerClark
Sat Sep 23, 2017 12:13 am
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 295
Views: 11584

Re: OV7670, Generic STM32F103RC and ILI9341 display

I just double checked the if the readback can have yStart > yEnd but it definitely causes corruption of the data I'm going to go back to reading the LCD line by line, as I don't think its going to save any significant time by reading multiple lines because of the time to swap lines, i.e there would ...
by RogerClark
Fri Sep 22, 2017 10:07 pm
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 295
Views: 11584

Re: OV7670, Generic STM32F103RC and ILI9341 display

By writing 12 lines at a time, I've got the time down to 742 mS I'm still reading the display, line by line, so I can probably shave a few mS off this, but although reading from the LCD can be faster, because the image seems to be upside down, I may still need to flip it vertically in code (in block...
by RogerClark
Fri Sep 22, 2017 8:19 pm
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 295
Views: 11584

Re: OV7670, Generic STM32F103RC and ILI9341 display

Thanks Steve I am already using snippetsnof the BMP code from the Arduno forum, and it seems to work OK. Thanks for the link to the L1 joeg compressor, but for the F1 I am not sure if it has enough RAM. Writing to SD is currently very slow if I only write 1 line at a time. ( over 5 seconds) I should...
by RogerClark
Fri Sep 22, 2017 8:09 am
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 295
Views: 11584

Re: OV7670, Generic STM32F103RC and ILI9341 display

Just did some speed tests and 1000 calls to readPixels unsigned long m=millis(); for(int i=0;i<1000;i++) { tft.readPixels(0,0,320,0, lineBufLCD); } Serial.println(millis()-m); shows 1284ms So about 1.2ms per line. This was slower than I'd expected and looking in the code for readPixels, I think this...
by RogerClark
Fri Sep 22, 2017 7:25 am
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 295
Views: 11584

Re: OV7670, Generic STM32F103RC and ILI9341 display

Working towards saving the image to the SD card, I've managed to save one of the screens from the graphicstest sketch to SD I'm not sure if technically this should be working or not, because I'm sharing the SPI bus with both the SD card and the LCD display, but as they both have their own Chip Selec...
by RogerClark
Fri Sep 22, 2017 3:13 am
Forum: Ideas & suggestions
Topic: Differential ADC (ADC1-ADC2)
Replies: 12
Views: 246

Re: Differential ADC (ADC1-ADC2)

I'm not sure if @pito's original schematic is going to yield useful results. Aren't both ADC inputs going to suffer the same amount of common mode noise at the same time ? I see that the 2 inputs have a resistor between them, but the value has not been specified, and even if there was a high value r...
by RogerClark
Fri Sep 22, 2017 12:26 am
Forum: Builds and Announcements
Topic: Site upgrade planned outage - Saturday 2017/10/23
Replies: 0
Views: 28

Site upgrade planned outage - Saturday 2017/10/23

Guys I've noticed that there are security updates that I need to apply to the site. I'll attempt to update on Saturday, but in the past updates have not happened smoothly and I need to make sure the DB and the filesystem is fully backed up to my local machine before I try the update. Unfortunately t...
by RogerClark
Thu Sep 21, 2017 11:14 pm
Forum: Builds and Announcements
Topic: Unverified user deletion
Replies: 2
Views: 50

Unverified user deletion

Guys, Over time the site had around 200 accounts which had been registered by not verified via email. This is potentially where the account had been registered by a SpamBot with a non existent email address or by a real person who entered the wrong email address, or whose email system blocked the re...
by RogerClark
Thu Sep 21, 2017 9:13 pm
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: Hi every one KHODIDAS from INDIA
Replies: 4
Views: 115

Re: Hi every one KHODIDAS from INDIA

Arduino_STM32 only has limited support for the F4 series ( this is documented in many places)

You should try using the official STM core, and post an issue to

https://github.com/stm32duino/Arduino_Core_STM32/issues requesting USB host functionality
by RogerClark
Thu Sep 21, 2017 8:54 pm
Forum: STM core: Bugs and enhancements
Topic: Suggest having BluePill pins defined for all Arduino pins
Replies: 5
Views: 76

Re: Suggest having BluePill pins defined for all Arduino pins

One slightly confusing thing on that diagram is that the Alt pin for SPI1 are show without any indication that they are only used if you call the appropriate AFRemap function.