Search found 135 matches

by BennehBoy
Wed Mar 23, 2022 8:48 pm
Forum: General discussion
Topic: using SPI1 and SPI2 Simultaneous for w5500 and ILI9341
Replies: 15
Views: 4249

Re: using SPI1 and SPI2 Simultaneous for w5500 and ILI9341

Are you sure it's not the ILI9341 or Ethernet library that's at fault? I've had many problems with the Adafruit libs making assumptions about which SPI peripheral is being used and with what settings in the past. I'm currently using a MAX31856 & an SSD3106 without issue on 2 different SPI ports ...
by BennehBoy
Sat May 08, 2021 8:22 am
Forum: General discussion
Topic: postbag topics
Replies: 21
Views: 8179

Re: postbag topics

Not STM32, but a Mojo V3 - Spartan 6 FPGA dev board landed today. https://lh3.googleusercontent.com/pw/ACtC-3e_MqxbAK0RubcxPyhkMH3Md1630_oTltztvIYb1R8aH_4wj-USVizMOMNMMii3kl6uB7KM6Qys5bTdOMrxUjyTEbtj9X3qs4Od6u_cXAec7acBAy-09LHOX0ywDXPLwW2vQqIgtMgKcQvbvMx-zXhfjQ=w1667-h1250-no?authuser=0 Just got to ...
by BennehBoy
Sun Apr 25, 2021 7:26 pm
Forum: IDE's
Topic: ant, maven and gradle (and may be cmake)
Replies: 4
Views: 2943

Re: ant, maven and gradle (and may be cmake)

Makefiles work just fine on windows. There've been many ways over the years to build a 'nix' like subsystem to allow make (and standard unix tools that make might call, ls, rm, etc etc), cygwin, msys, msys2, and even WSL. I uses MSYS2 without any issue.
by BennehBoy
Sun Apr 25, 2021 2:53 pm
Forum: IDE's
Topic: Cannot compile with core 2.0.0 and Sloeber
Replies: 13
Views: 8545

Re: Cannot compile with core 2.0.0 and Sloeber

Also some makefiles will make use of the GCC_PATH env variable - in this case you need to set the path to gcc but make sure you use unix / instead of windows \
by BennehBoy
Sun Apr 25, 2021 2:52 pm
Forum: IDE's
Topic: Cannot compile with core 2.0.0 and Sloeber
Replies: 13
Views: 8545

Re: Cannot compile with core 2.0.0 and Sloeber

There's no reason why a makefile shouldn't work in windows as long as you have a usable make in your path, and also the arm-none-eabi binaries in your path. I have msys2 installed which provides the make element - but this has to manually be added to your path, in my case it's c:\msys2\usr\bin As fo...
by BennehBoy
Wed Apr 21, 2021 4:48 pm
Forum: General discussion
Topic: USB Host, what solution?
Replies: 24
Views: 13160

Re: USB Host, what solution?

Fixed the 'acceleration' issue. basically the mouse data wasn't being cleared once processed, so the quadrature signals kept getting looped over. Setting them back to zero between samples fixes this (am disabling interrupts whilst the GPIO's are manipulated).

Will read that thanks Frederic.
by BennehBoy
Wed Apr 21, 2021 2:03 pm
Forum: General discussion
Topic: USB Host, what solution?
Replies: 24
Views: 13160

Re: USB Host, what solution?

Yup, but tbh it's easier to get the usb OTG host only & HID working in cube for now. So I have everything wired and the mouse works, after a fashion, on the Amiga - still need to get the scope on the signals because the mouse is behaving as if massively accelerated at the moment (big delta movem...
by BennehBoy
Wed Apr 21, 2021 9:32 am
Forum: General discussion
Topic: USB Host, what solution?
Replies: 24
Views: 13160

Re: USB Host, what solution?

That works a charm, thanks!

Now to get the scope on the GPIO's to make sure it's behaving as expected.

Also need to work around the fact that the delays currently block simultaneous GPIO signal changes.
by BennehBoy
Tue Apr 20, 2021 9:06 pm
Forum: General discussion
Topic: USB Host, what solution?
Replies: 24
Views: 13160

Re: USB Host, what solution?

Luckily I always buy these in multiples, so have another board up and running now. Unfortunately the DWT code also results in no USB processing. It doesn't matter how short the delay is. The debugger seems to show the MC stuck in the while loop of the delay function. I'll double check my implementat...

Go to advanced search