Search found 63 matches

by feluga
Tue Apr 20, 2021 10:56 pm
Forum: General discussion
Topic: USB Host, what solution?
Replies: 24
Views: 289

Re: USB Host, what solution?

Yes, there is an initialization function uint32_t DWT_Delay_Init(void) . The whole code suggested is as follow: dwt_stm32_delay.h #ifndef DWT_STM32_DELAY_H #define DWT_STM32_DELAY_H #ifdef __cplusplus extern 'C' { #endif #include 'stm32f4xx_hal.h' /** * @brief Initializes DWT_Cycle_Count for DWT_Del...
by feluga
Tue Apr 20, 2021 6:49 pm
Forum: General discussion
Topic: USB Host, what solution?
Replies: 24
Views: 289

Re: USB Host, what solution?

I think that running the USB Host processing may take something close to 150us ... 150us in a 84MHz-100Mhz MCU means only 12,600-15,000 CPU cycles. Using Timer/PWM IRQ may compete with USB Host processing, causing some issues for the data it gets or for USB Host timing. That must be correctly manage...
by feluga
Tue Apr 20, 2021 4:30 pm
Forum: General discussion
Topic: USB Host, what solution?
Replies: 24
Views: 289

Re: USB Host, what solution?

It shoud use HAL in Cube. Try this, as it works with STM32F4, but not for the STM32F103: const uint32_t cyclesPerMicroSecond = HAL_RCC_GetHCLKFreq() / 1000000; uint32_t micros = DWT->CYCCNT / cyclesPerMicroSecond; This code provides a delay in microseconds using HAL: /** * @brief This function provi...
by feluga
Tue Apr 20, 2021 1:58 pm
Forum: General discussion
Topic: USB Host, what solution?
Replies: 24
Views: 289

Re: USB Host, what solution?

To get the quadrature signal output to emulate the amiga mouse requires a 150us duration for each pulse, I've tried to implement this with a timer ... Does anyone have any tips? About the 150us duration, I understood that this is the minimum time necessary for Amiga to pick up changes on the quadra...
by feluga
Sun Apr 11, 2021 1:38 pm
Forum: Projects
Topic: Bluepill TFT LCD GPS Clock
Replies: 1
Views: 111

Re: Bluepill TFT LCD GPS Clock

Very nice! A complete project with STL and documentation.
Thanks for sharing!!
by feluga
Fri Apr 02, 2021 10:57 pm
Forum: General discussion
Topic: Error of compilation to board Generic STM32F103C series
Replies: 2
Views: 512

Re: Error of compilation to board Generic STM32F103C series

Hi Victor, One important step when intalling Roger's Core (STM32 Arduino based on LibMaple) is to install "Arduino Due Board" in order to setup the ARM Cortex M3 Tool Chain. By intalling the DUE, Arduino IDE will install necessary ARM compiler and others related to it. This step is detaile...
by feluga
Wed Mar 31, 2021 9:09 pm
Forum: Off topic
Topic: No one even mentioned the new Raspberry Pi Pico?
Replies: 76
Views: 4388

Re: No one even mentioned the new Raspberry Pi Pico?

BennehBoy wrote:
Wed Mar 31, 2021 9:06 pm
Early April Fool joke? :)
:lol: :lol: :lol: :lol: :lol:
No... 100% real!
:lol: :lol: :lol: :lol: :lol:
by feluga
Wed Mar 31, 2021 8:11 pm
Forum: Off topic
Topic: No one even mentioned the new Raspberry Pi Pico?
Replies: 76
Views: 4388

Re: No one even mentioned the new Raspberry Pi Pico?

Well... now I got something cooler to show... :D :D I've made my Pico emulate a NES and play Castlevania. This game is very high CPU intensive and making it work in 60 FPS was a nice challenge. High quality Sound/FX and smooth video graphics. Pico dual Core at 250MHz => VGA 8bpp/256 colors + PDM (fo...
by feluga
Sat Mar 20, 2021 7:31 pm
Forum: Off topic
Topic: No one even mentioned the new Raspberry Pi Pico?
Replies: 76
Views: 4388

Re: No one even mentioned the new Raspberry Pi Pico?

BennehBoy wrote:
Sat Mar 20, 2021 2:17 pm
Nice, thanks. Maybe port Elite to it :D
Is this Elite you're taking about?
https://www.youtube.com/watch?v=vusGo64sDFk
by feluga
Fri Mar 19, 2021 10:18 pm
Forum: Off topic
Topic: No one even mentioned the new Raspberry Pi Pico?
Replies: 76
Views: 4388

Re: No one even mentioned the new Raspberry Pi Pico?

BennehBoy wrote:
Fri Mar 19, 2021 5:51 pm
Love to see a vid of your pico doing vga/3d gfx.
I just published the video: https://www.youtube.com/watch?v=E25eQBNbPDQ

Go to advanced search