Search found 1603 matches

by stevestrong
Sat Oct 07, 2017 4:43 pm
Forum: Code snipplets
Topic: A simple infrared (IR) sniffer
Replies: 1
Views: 104

A simple infrared (IR) sniffer

HI all, I am currently involved with a small project which should detect (but not necessarily decode) different, not known IR signals. Therefore I wrote a small sketch to print out the received data in form of a list of pulses including their time period. My sketch uses timer 2 for measuring timer c...
by stevestrong
Sat Oct 07, 2017 4:13 pm
Forum: STM32F4 Boards
Topic: [Solved] Anybody using this F4 board and got the USB working?
Replies: 11
Views: 247

Re: Anybody using this F4 board and got the USB working?

Where did you get it from? Aliexpress/Ebay link?
Any documentation available?

I ma not sure, but it looks like a generic mini board: http://wiki.stm32duino.com/index.php?ti ... 7VET6_Mini
by stevestrong
Fri Oct 06, 2017 4:09 pm
Forum: STM32F4 Boards
Topic: alternative way to use STM DFU in Arduino 1.8.3 on Black F407VET6
Replies: 11
Views: 318

Re: alternative way to use STM DFU in Arduino 1.8.3 on Black F407VET6

after few round of test and yes it work on you repo but not work on Roger's repo Strange. Anyway, I created a PR in order to avoid repeated call of USB serial: https://github.com/rogerclarkmelbourne/Arduino_STM32/pull/354/files Hopefully will be merged by Roger soon. Meanwhile you could try to get ...
by stevestrong
Fri Oct 06, 2017 2:30 pm
Forum: STM32F4 Boards
Topic: alternative way to use STM DFU in Arduino 1.8.3 on Black F407VET6
Replies: 11
Views: 318

Re: alternative way to use STM DFU in Arduino 1.8.3 on Black F407VET6

I always use a delay of 1000 ms right at the beginning of setup, before calling Serial begin: void setup() { delay(1000); // seems to be needed Serial.begin(115200); Serial.println("bla-bla"); ... } Do you use the latest version from Roger's repo or my repo ? My repo is a bit further advanced with r...
by stevestrong
Fri Oct 06, 2017 1:44 pm
Forum: STM32F4 Boards
Topic: alternative way to use STM DFU in Arduino 1.8.3 on Black F407VET6
Replies: 11
Views: 318

Re: alternative way to use STM DFU in Arduino 1.8.3 on Black F407VET6

You wrote that
it won't compile at all!
And I expect that you show us why it does not compile at all, show us the error messages.

Or do you mean that USB serial will not work?
by stevestrong
Fri Oct 06, 2017 1:18 pm
Forum: STM32F4 Boards
Topic: alternative way to use STM DFU in Arduino 1.8.3 on Black F407VET6
Replies: 11
Views: 318

Re: alternative way to use STM DFU in Arduino 1.8.3 on Black F407VET6

poiuycat wrote:
Fri Oct 06, 2017 12:27 pm
I did try before adding -DSERIAL_USB in cpu_flags but it wont compile at all !!
Please post here the complete build output, including any error/warning message.
by stevestrong
Fri Oct 06, 2017 12:06 pm
Forum: STM32F4 Boards
Topic: alternative way to use STM DFU in Arduino 1.8.3 on Black F407VET6
Replies: 11
Views: 318

Re: alternative way to use STM DFU in Arduino 1.8.3 on Black F407VET6

poiuycat wrote:
Fri Oct 06, 2017 9:35 am
PS: I wonder how do I make USB serial work in DFU download.
You have to add -DSERIAL_USB to the cpu_flags in "boards.txt":

Code: Select all

generic_f407v.menu.usb_cfg.usb_dfu.build.cpu_flags=-DSERIAL_USB
This will compile the USB CDC part of the core so that you will be able to use USB serial after uploading.
by stevestrong
Fri Oct 06, 2017 11:54 am
Forum: CubeMX and HAL
Topic: Need help with HAL, DCMI and OV7670
Replies: 16
Views: 314

Re: Need help with HAL, DCMI and OV7670

Have you checked the DCMI interrupts, whether overflow or other error occurred? The first thing which you should do is to declare the global variables used in ISRs as "volatile": volatile uint8_t frameComplete = 0; volatile uint16_t linecount = 0; Otherwise you get unexpected behavior (unexplainable...
by stevestrong
Fri Oct 06, 2017 11:19 am
Forum: CubeMX and HAL
Topic: Need help with HAL, DCMI and OV7670
Replies: 16
Views: 314

Re: Need help with HAL, DCMI and OV7670

Do you have code to share?
How do you check the value? Read from the buffer? Maybe you read an int32 value from a buffer of uint32?
Although zero should be zero anyway...

Or it is because of DCMI settings.
Do you use Embedded data synchronization mode?
Or wrong VSYNC/HSYNC polarity settings?
by stevestrong
Fri Oct 06, 2017 9:33 am
Forum: Libraries & Hardware
Topic: Library ILI9481 320*480 3.5
Replies: 29
Views: 3155

Re: Library ILI9481 320*480 3.5

No worries.
I also burned one of my ILI9328 display, although only soldered some of the board pins. It seems that they are quite sensitive to heat.