Search found 5928 matches

by RogerClark
Sun Jun 25, 2017 3:26 am
Forum: Generic STM32F103
Topic: I2C2 on STM32F103C8T6 and HWire
Replies: 37
Views: 598

Re: I2C2 on STM32F103C8T6 and HWire

Fixed for the BP and a few other boards in this commit

https://github.com/rogerclarkmelbourne/ ... a2f6c76051
by RogerClark
Sun Jun 25, 2017 3:03 am
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 72
Views: 6269

Re: OV7670, Generic STM32F103RC and ILI9341 display

PB10 on BP issue - http://www.stm32duino.com/viewtopic.php?f=28&t=2188&start=30#p30136 Looks like the best solution is to define #define BOARD_USB_DISC_DEV NULL #define BOARD_USB_DISC_BIT NULL and change usb_cdcacm_enable() and usb_cdcacm_disable() to check for NULL and only use it if its non NULL ...
by RogerClark
Sun Jun 25, 2017 12:52 am
Forum: STM32generic
Topic: Compiler optimisation setting
Replies: 0
Views: 7

Compiler optimisation setting

Guys, Just a thought, I wonder if its worth considering whether the use of the -Os (Optimise for size), is the best optimisation option for this core, considering that its new and you can change this without impacting many users. I have posted a question to General about this http://www.stm32duino.c...
by RogerClark
Sun Jun 25, 2017 12:42 am
Forum: STM32generic
Topic: Sticky for this ?
Replies: 0
Views: 5

Sticky for this ?

Guys

We probably need a Sticky thread for this, otherwise its hard to find the information about how to start using this core.

Please can someone post to this thread with a howto and I will make that into a Sticky
by RogerClark
Sun Jun 25, 2017 12:40 am
Forum: General discussion
Topic: Should we still use ptimisation level -Os (Small)
Replies: 0
Views: 10

Should we still use ptimisation level -Os (Small)

Guys I have been experimenting with the OV7670 camera using code from github, but the code requires that optimisation be changed from -Os to -O2 Changing the flag seemed to have a significant impact on speed (I didnt look at code size) I know this is a big upheaval and may break some code, but I won...
by RogerClark
Sat Jun 24, 2017 11:19 pm
Forum: Generic STM32F103
Topic: Boot loader crash on NVIC register access
Replies: 1
Views: 28

Re: Boot loader crash on NVIC register access

I dont know off the top of my head, whats in that NVIC address, but I do know that USB requires the interrupts to be running.
I presume with USB that the host PC polls the USB device and if the USB ISR does not run, the USB client will not respond and the Host will conclude its not working correctly
by RogerClark
Sat Jun 24, 2017 11:15 pm
Forum: STM Nucleo boards
Topic: STM32F091 ADC resolution 10 bit instead of 12 bit
Replies: 3
Views: 29

Re: STM32F091 ADC resolution 10 bit instead of 12 bit

https://github.com/stm32duino/Arduino_Core_STM32/blob/master/cores/arduino/wiring_analog.c#L32 maybe a call analogReadResolution(12) in setup() Thats interesting. In had not realised that Frederics core defaulted to AVR resolution, I wonder what Daniel's defaults to. BTW. Am am not going to change ...
by RogerClark
Sat Jun 24, 2017 11:10 pm
Forum: STM Core
Topic: Using Scheduler Library
Replies: 2
Views: 24

Re: Using Scheduler Library

I suppose we could download it and include it as part of LibMaple

I am not sure what Frederic wants to do, we could try to ask Arduino to change the properties to include STM32, but I dont have any leverage in this respect
by RogerClark
Sat Jun 24, 2017 11:04 pm
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 72
Views: 6269

Re: OV7670, Generic STM32F103RC and ILI9341 display

Pito wrote:
Sat Jun 24, 2017 7:19 pm
PB10 on BP issue - http://www.stm32duino.com/viewtopic.php ... =30#p30136
Thanks

I vaguely recalled reading that.

I'm sure it can be fixed with some #ifdef statements
by RogerClark
Sat Jun 24, 2017 11:02 pm
Forum: General discussion
Topic: SD card on ILI9341 display board??
Replies: 11
Views: 126

Re: SD card on ILI9341 display board??

david.prentice wrote:
Sat Jun 24, 2017 2:33 pm

I would add some extra series resistance for a 5V supply.


Yes. Thats what I was referring to. I need to confirm what value is necessary , if at all