Search found 137 matches
- Thu Jan 23, 2020 12:16 pm
- Forum: General discussion
- Topic: [SOLVED]Timer changes since 1.6
- Replies: 14
- Views: 10618
Re: Timer changes since 1.6
maybe you need this MyTim->setMode(2, TIMER_OUTPUT_COMPARE); https://www.stm32duino.com/viewtopic.php?f=62&t=117 I just need to fire an interrupt every millisecond, if I was doing the pin handling myself (and not using a library) then yeah a comparison would be the way to go. EDIT As it stands ...
- Thu Jan 23, 2020 11:59 am
- Forum: General discussion
- Topic: [SOLVED]Timer changes since 1.6
- Replies: 14
- Views: 10618
Re: Timer changes since 1.6
OK so I think I know what I need to do... I want a time based interrupt that will fire every millisecond, so I just need to set up a 1000 hz timer? Based on the below example code? MyTim->setOverflow(10, HERTZ_FORMAT); // 10 Hz MyTim->attachInterrupt(Update_IT_callback); MyTim->resume(); I'll give i...
- Thu Jan 23, 2020 11:43 am
- Forum: General discussion
- Topic: [SOLVED]Timer changes since 1.6
- Replies: 14
- Views: 10618
Re: Timer changes since 1.6
I forgot about the wiki ![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
- Thu Jan 23, 2020 10:22 am
- Forum: General discussion
- Topic: [SOLVED]Timer changes since 1.6
- Replies: 14
- Views: 10618
[SOLVED]Timer changes since 1.6
Hi Fred, I'm revisiting an older project that users a click encoder. I used to set up the timer like this: #define TIMER_ENC TIM4 static stimer_t TimHandle; /* Set TIMx instance. */ TimHandle.timer = TIMER_ENC; /* Timer set to 1ms */ TimerHandleInit(&TimHandle, 1000 - 1, ((uint32_t)(getTimerClkF...
- Tue Jan 21, 2020 7:47 am
- Forum: General discussion
- Topic: SPI remapping
- Replies: 6
- Views: 8712
Re: SPI remapping
Some peripherals can be switched to 'alternate' pins, it's still the same peripheral though hence why it shows as SPI1 for both pin sets. How to do it depends on which core you've used, Rogers/Steve's maple based cores, or the official STM HAL based core.
- Wed Jan 15, 2020 11:56 pm
- Forum: Libraries & Hardware
- Topic: USB Composite library
- Replies: 19
- Views: 36886
- Mon Jan 13, 2020 3:15 pm
- Forum: General discussion
- Topic: USB Keyboard controller
- Replies: 5
- Views: 7781
Re: USB Keyboard controller
Yeah a lot can be done to 'add value' - for me in keyboard macro definitions would be great.
Teensy seems to have done a lot already in this realm -> https://www.pjrc.com/teensy/td_keyboard.html
I may have a look to see if any of that can be hacked over...
Teensy seems to have done a lot already in this realm -> https://www.pjrc.com/teensy/td_keyboard.html
I may have a look to see if any of that can be hacked over...
- Mon Jan 13, 2020 3:00 pm
- Forum: IDE's
- Topic: arduino pro ide alpha
- Replies: 12
- Views: 21148
Re: arduino pro ide alpha
You would think they would simply align to someone else's IDE so that they can concentrate on the core rather than reinventing the wheel. Still anything is an improvement over stock.
- Sat Jan 11, 2020 4:08 pm
- Forum: STM32F4 based boards
- Topic: STM32F407VE SDfat error compiling
- Replies: 18
- Views: 16774
Re: STM32F407VE SDfat error compiling
Fine to know that STM32 core is compatible with SDFat fro Greiman. Anyway, this topic is linked to use it with @stevestrong core for F4, if I'm not wrong? It's compatible only if using SPI, SDIO is broken - or was the last time I checked. It can be fixed with a small merge in of a file from the STM...
- Thu Jan 09, 2020 11:24 pm
- Forum: Libraries & Hardware
- Topic: USB Composite library
- Replies: 19
- Views: 36886
Re: USB Composite library
Sounds great.