Search found 26 matches

by flodejr
Sat Oct 21, 2017 8:57 pm
Forum: STM32F103 Boards
Topic: Blue Pill crystal does not start
Replies: 2
Views: 33

Blue Pill crystal does not start

Hi,

I am trying to use the RTC functions on the blue pill using backup vbat, but the LSE crystal doesn't seem want to start at all.
Any recommendations of crystals that could be used to replace it? Must I use another MC-306 or can I use a tuning fork crystal?
by flodejr
Mon Oct 09, 2017 8:39 pm
Forum: STM32F4 Boards
Topic: [Solved] Anybody using this F4 board and got the USB working?
Replies: 11
Views: 264

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

@steve, @roger, Thanks! I got it working now. My error was that I only defined the USB OTG FS CDC device and the internal pull ups previously To make it work, I will need to define a UART device + CDC Comm port and pull up on the D+ line in CubeMX. Although I don't have to do anything on the UART si...
by flodejr
Mon Oct 09, 2017 9:21 am
Forum: STM32F4 Boards
Topic: [Solved] Anybody using this F4 board and got the USB working?
Replies: 11
Views: 264

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

Steve, I don't think the 1.5k is necessary on the F4. Its supposed to be inside the MCU I tried the internal pull up on the MCU, but it doesn't bring up the USB port, I think maybe I need to wire a 1.5K resistor externally. WIll there be a problem since there are no 22ohm terminating resisotrs on t...
by flodejr
Mon Oct 09, 2017 9:20 am
Forum: STM32F4 Boards
Topic: [Solved] Anybody using this F4 board and got the USB working?
Replies: 11
Views: 264

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

I don't see any resistor on the USB_DP pin to be connected to Vcc. It should be one there with 1.5kOhm. I can get the usb to connect as DFU but it can't work as USB device. You mean is does not work as USB serial? What/how did you try? I tried by using the cubemx and then specifying CDC Comms for U...
by flodejr
Mon Oct 09, 2017 8:34 am
Forum: CubeMX and HAL
Topic: Need help with HAL, DCMI and OV7670
Replies: 16
Views: 328

Re: Need help with HAL, DCMI and OV7670

My code for F1 does not use DCMI, and my SPI code for F4 is anyway not relevant here, because HAL-based software is used here (see second link). If I find some time I may give a try to make a live camera app for F4, too, using our libmaple core. But the image colors are still wrong. I would suggest...
by flodejr
Mon Oct 09, 2017 12:45 am
Forum: STM32F4 Boards
Topic: [Solved] Anybody using this F4 board and got the USB working?
Replies: 11
Views: 264

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

It seems to be a very "basic" F4 version, without any additional chips on it. Unfortunately the picture is very small size, hardly readable. Can you post the ebay link? This is the ebay link http://www.ebay.com/itm/STM32F407VGT6-ARM-Cortex-M4-32bit-MCU-Core-Development-Board-STM32F4Discovery-/31170...
by flodejr
Sun Oct 08, 2017 4:16 am
Forum: CubeMX and HAL
Topic: Need help with HAL, DCMI and OV7670
Replies: 16
Views: 328

Re: Need help with HAL, DCMI and OV7670

Just found something new and recent and I am getting some progress. But the image colors are still wrong.

https://www.youtube.com/watch?v=vokasVZTJLM&t=948s
https://github.com/take-iwiw/DigitalCamera_STM32
by flodejr
Sat Oct 07, 2017 5:28 pm
Forum: STM32F4 Boards
Topic: [Solved] Anybody using this F4 board and got the USB working?
Replies: 11
Views: 264

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

I got it from ebay.

Think this is the schematics i found on the net.
DIY-More-STM32F407VGT6_smallest.png
DIY-More-STM32F407VGT6_smallest.png (137.59 KiB) Viewed 191 times
by flodejr
Sat Oct 07, 2017 2:41 pm
Forum: CubeMX and HAL
Topic: Need help with HAL, DCMI and OV7670
Replies: 16
Views: 328

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 (unexplainabl...
by flodejr
Sat Oct 07, 2017 2:30 pm
Forum: STM32F4 Boards
Topic: [Solved] Anybody using this F4 board and got the USB working?
Replies: 11
Views: 264

[Solved] Anybody using this F4 board and got the USB working?

Hi,

Is anybody using this F4 board?
4048629366.jpg
4048629366.jpg (27.28 KiB) Viewed 211 times
I can get the usb to connect as DFU but it can't work as USB device.

Are there any special requirements to work as a device?