Search found 1339 matches

by victor_pv
Tue Jul 25, 2017 11:36 pm
Forum: STM Nucleo boards
Topic: Nucleo F103-RB and slow TFT Refresh
Replies: 2
Views: 76

Re: Nucleo F103-RB and slow TFT Refresh

This thread may contain some good information:
http://www.stm32duino.com/viewtopic.php?t=486
by victor_pv
Tue Jul 25, 2017 11:28 pm
Forum: General discussion
Topic: "Irregular" non-integer timer interrupt values (e.g. 22.67us/44.1khz)
Replies: 18
Views: 278

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

Ok. I discovered my problem was that the sd card is not fast enough, or the sd fat library is interfering with the timer. But when i fill an array with as many bytes the blue pill can take and play that back, it is sync/in tune with a reload of 1633. I already milled an new prototype PCB for the bl...
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: 347

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: 11242

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: 179

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: 18
Views: 278

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: 11242

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: 89

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: 18
Views: 278

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: 1836

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...