Search found 1337 matches

by victor_pv
Fri Jul 14, 2017 4:12 pm
Forum: General discussion
Topic: Introducing STM32F4 based dev board for robotics with Arduino compatible programming framework
Replies: 13
Views: 279

Re: Introducing STM32F4 based dev board for robotics with Arduino compatible programming framework

Given that they offer open source software with an arduino layer, and uses and stm32 MCU I would think it does have some merit to be posted here. Even if they want some promotion they may honestly want some feedback.
We will see if they come back to reply, or leave the post count at 1.
by victor_pv
Fri Jul 14, 2017 4:39 am
Forum: All other boards
Topic: news: Arduino STAR OTTO development board
Replies: 134
Views: 11117

Re: news: Arduino STAR OTTO development board

144pins F469 in arduino UNO headers format - what would be the targeted audience with it? Updated to be more precise.. Perhaps a Due factor would have been better to use the pins?, or rather use an F469 with a smaller count of pins, but pretty much any version would have more pins than an UNO. Stil...
by victor_pv
Fri Jul 14, 2017 4:36 am
Forum: Maple
Topic: Fading PB1 (D33) LED
Replies: 9
Views: 152

Re: Fading PB1 (D33) LED

If you want to fully support the precission available in the stm32, that's 16 bits, the the function to use is pwmWrite(), and the duty cycle parameter can take a 16bit value. But then you will have code that only works on the this core. I do not know if you want to just create code compatible with...
by victor_pv
Fri Jul 14, 2017 4:30 am
Forum: General discussion
Topic: "Irregular" non-integer timer interrupt values (e.g. 22.67us/44.1khz)
Replies: 17
Views: 225

Re: "Irregular" non-integer timer interrupt values (e.g. 22.67us/44.1khz)

for those interested, I still have to test this (dont have the hardware with me right now), but according to HardwareTimer.cpp it would should be right to set the prescaler: Timer2.setPrescaleFactor(0); to set the autoreload value: Timer2.setOverflow(1499); A overflow of 1633 would give me a freq o...
by victor_pv
Thu Jul 13, 2017 6:52 pm
Forum: All other boards
Topic: news: Arduino STAR OTTO development board
Replies: 134
Views: 11117

Re: news: Arduino STAR OTTO development board

Pito wrote:
Thu Jul 13, 2017 11:30 am
F469 in arduino headers format - what would be the targeted audience with it?
Maybe everyone that got excited with the Otto but could never get it? ;)
by victor_pv
Thu Jul 13, 2017 6:43 pm
Forum: General discussion
Topic: Basic example for SPI DMA
Replies: 2
Views: 78

Re: Basic example for SPI DMA

We added dmaSend and dmaTransfer to the core to make it easier to use DMA, but haven't written much documentation on the forum other than an old thread when we started talking about doing so. the dmaSend and dmaTransfer functions evolved a bit based on the needs of the sdFat library, so they have a ...
by victor_pv
Thu Jul 13, 2017 5:05 pm
Forum: General discussion
Topic: "Irregular" non-integer timer interrupt values (e.g. 22.67us/44.1khz)
Replies: 17
Views: 225

Re: "Irregular" non-integer timer interrupt values (e.g. 22.67us/44.1khz)

Nicolas I wrote an i2s driver compatible with the Teensy/Arduino ones. It's posted in a separate thread in the libraries section of the forum. I tested it with a pt8211 i2s dac, they are available for cents, and don't need a separate clock other than the data one. I started using that upon recommend...
by victor_pv
Thu Jul 13, 2017 2:30 am
Forum: General discussion
Topic: Emulated EEPROM
Replies: 6
Views: 1800

Re: Emulated EEPROM

G'day, I noticed in the library "EEPROM" the lack of function "EEPROM.update" so I added in EEPROM.cpp the function: Uint16 EEPROMClass :: update (uint16 Address, uint16 Data) {   If (EEPROM.read (Address)! = Data)    {      EEPROM.write (Address, Data);    }    Uint16 status = EE_VerifyPageFullWri...
by victor_pv
Thu Jul 13, 2017 12:02 am
Forum: Maple
Topic: Fading PB1 (D33) LED
Replies: 9
Views: 152

Re: Fading PB1 (D33) LED

If you are using the libmaple based one, then pwmWrite should be what you look for. If you are using one of the other cores, then it depends what's implemented on them. I am not the end user of the libraries. I am adding support for (hopefully all) STM32 boards in Visuino. I am simply testing the f...
by victor_pv
Wed Jul 12, 2017 11:54 pm
Forum: General discussion
Topic: IRQ handling problem (updated: electronic interference?)
Replies: 4
Views: 90

Re: IRQ handling problem (updated: electronic interference?)

Perhaps adding a small debounce capacitor in the input helps?
This an interesting thread, I would like to know if you get it resolved.