Search found 1127 matches

by stevestrong
Thu Jun 22, 2017 5:49 pm
Forum: STM32F4 Boards
Topic: [libmaple] SDIO
Replies: 13
Views: 212

Re: [libmaple] SDIO

Vitor,
this is SDIO, not SPI.
And higher frequencies than 37MHz for SDIO (tested by Pito) do not work reliable anymore. This is a HW limitation of the F4 chip.
by stevestrong
Thu Jun 22, 2017 2:14 pm
Forum: General discussion
Topic: Problem with measuring very short pulses
Replies: 29
Views: 794

Re: Problem with measuring very short pulses

I assume you have already read the original libmaple documents about how to use the timers:
http://docs.leaflabs.com/static.leaflab ... dwaretimer
by stevestrong
Thu Jun 22, 2017 2:11 pm
Forum: STM Nucleo boards
Topic: STM32F091RC I2C not working
Replies: 2
Views: 18

Re: STM32F091RC I2C not working

The STM32 internal pull-up resistors are very weak (30..50k), so a working I2c always need extra pull-ups.
by stevestrong
Thu Jun 22, 2017 1:54 pm
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 57
Views: 6025

Re: OV7670, Generic STM32F103RC and ILI9341 display

OK, then I can only think on either wrong config data (YUV instead of RGB), or erroneous communication channel which leads to wrong configuration.
by stevestrong
Thu Jun 22, 2017 11:45 am
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 57
Views: 6025

Re: OV7670, Generic STM32F103RC and ILI9341 display

It seems to be 565, but read out in big endian format (high byte first).
If you store it as an uint16_t, and write it to the display in little endian, then the colors will be of course different.
by stevestrong
Thu Jun 22, 2017 6:55 am
Forum: Generic STM32F103
Topic: UART usable when programming with ST-LINK?
Replies: 2
Views: 42

Re: UART usable when programming with ST-LINK?

davey wrote:
Thu Jun 22, 2017 2:32 am
If I use the ST-LINK for programming, are the regular UART TX/RX signals free to use using the standard Serial functions?
Yes.
by stevestrong
Wed Jun 21, 2017 7:02 pm
Forum: STM32F4 Boards
Topic: [libmaple] SDIO
Replies: 13
Views: 212

Re: [libmaple] SDIO

When I activated the debug output I saw that the first run involves much less block reads than the following ones, which are again all comparable.

So it is not due different write latencies.
by stevestrong
Wed Jun 21, 2017 6:49 am
Forum: STM32F4 Boards
Topic: [libmaple] SDIO
Replies: 13
Views: 212

Re: [libmaple] SDIO

OK, so you could reproduce my issue.
For libmaple core, the first read and write takes a lot less time (34231 msecs) than the following read writes (58237 msecs).
Your core seems not to show this issue.

Hmmm.
by stevestrong
Wed Jun 21, 2017 4:40 am
Forum: STM32generic
Topic: [STM32GENERIC] SerialUSB Print(F( speed and availableForWrite()
Replies: 11
Views: 207

Re: [STM32GENERIC] SerialUSB speed and availableForWrite()

For libmaple this is the time for copying the strings to the Tx buffer.
Only at the 27th TEST... string gets the buffer full... :)
by stevestrong
Tue Jun 20, 2017 7:15 pm
Forum: General discussion
Topic: Crash on upload by including <SPI.h>
Replies: 8
Views: 489

Re: Crash on upload by including <SPI.h>

#include <SPI.h> void setup() { // put your setup code here, to run once: Serial.begin(9600); delay(100); } void loop() { // put your main code here, to run repeatedly: } still seems to crash on the next upload :-( It seems to be caused by the inclusion of SPI.h including Wire.h instead or includin...