Search found 1609 matches

by victor_pv
Tue Sep 26, 2017 3:16 pm
Forum: Projects
Topic: Anyone tried to make a 3D Printer controller?
Replies: 252
Views: 18813

Re: Anyone tried to make a 3D Printer controller?

Using an RTOS would help with scheduling threads, but not in making the CPU do more tasks at the same time once cycles are not spent waiting. On the AVR implementation the CPU can not keep up with the pace if the stepper speed is too fast and there are things like bed leveling enabled. By the way in...
by victor_pv
Tue Sep 26, 2017 3:07 pm
Forum: Code snipplets
Topic: 100 kHz PWM signal with complementary signal
Replies: 6
Views: 193

Re: 100 kHz PWM signal with complementary signal

That's right Sabra. There are 3 main cores for STM32 in Arduino: libmaple based https://github.com/rogerclarkmelbourne/Arduino_STM32 GENERIC (based on STM HAL) https://github.com/danieleff/STM32GENERIC STM own (based on STM HAL) https://github.com/stm32duino The code in this thread is for the libmap...
by victor_pv
Sun Sep 24, 2017 11:45 pm
Forum: Projects
Topic: Anyone tried to make a 3D Printer controller?
Replies: 252
Views: 18813

Re: Anyone tried to make a 3D Printer controller?

The steps are normally in the range of 10s of Khz in the AVR, depending on what speed you are moving and how many microsteps per full step, but in the AVRs, people is hitting the limit, at which point the moves become jerky when the CPU can't keep up with the required number of steps. But that's at ...
by victor_pv
Sun Sep 24, 2017 4:27 pm
Forum: Off topic
Topic: Counterfeit F103s
Replies: 24
Views: 509

Re: Counterfeit F103s

dannyf wrote:
Sun Sep 24, 2017 12:24 am
counterfeit chips are like compiler bugs: they are incredibly easy for newbies to spot.
Oh that explains why I have found so many compiler bugs! :lol:
by victor_pv
Sat Sep 23, 2017 11:34 pm
Forum: General discussion
Topic: Dhrystone and Whetstone Benchmarks for STM32F103
Replies: 173
Views: 11081

Re: Dhrystone and Whetstone Benchmarks for STM32F103

We use the STM32L433 as a suport chip for our open source ICE40 FPGA board - BlackIce This one?: https://www.fpgarelated.com/thread/799/mystorm-a-30-ice40-arm-m3-dev-board Its written: ICE40HX4K and an STM32F103 Cortex M3 I suspect it may be a new version of the board, since he called it BlackIce, ...
by victor_pv
Sat Sep 23, 2017 4:53 pm
Forum: Working / ported libraries
Topic: Free RTOS and idle loop()
Replies: 8
Views: 126

Re: Free RTOS and idle loop()

In Arduino (and in any core to be used with the arduino IDE) there is still a main() function hidden inside the core. That main function basically is like this: main(){ setup(); while (1) { loop(); } } So both setup and loop need to exist, but could just as well use a completely empty loop since you...
by victor_pv
Sat Sep 23, 2017 3:49 am
Forum: Working / ported libraries
Topic: Free RTOS and idle loop()
Replies: 8
Views: 126

Re: Free RTOS and idle loop()

My problem is in understanding the FreeRTOS idle task within Arduino. Searching reveals that FreeRtos uses the standard Arduino loop() as its idle task. It should not. Someone ported FreeRTOS 6 or 7 to libmaple long time ago. I brought that up to date to 8.2.1 and later to 9.0.0, and has been a whi...
by victor_pv
Sat Sep 23, 2017 2:56 am
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 318
Views: 11846

Re: OV7670, Generic STM32F103RC and ILI9341 display

Roger how large are the buffers you read from the camera, and how large the one you write to the sdcard? I ask because I have had good luck running the sdfat in parallel with other things with a modified driver that uses the new DMA callback functions, and FreeRTOS. Obviously if the buffers are smal...
by victor_pv
Fri Sep 22, 2017 7:09 pm
Forum: Projects
Topic: Anyone tried to make a 3D Printer controller?
Replies: 252
Views: 18813

Re: Anyone tried to make a 3D Printer controller?

I get a feeling all that complication would not be worth it when an RCT or a VCT MCU have many more pins and cost almost the same. I am in the process of building a 3d printer controller board around an STM32F1 or F4 daughterboard (Vxx MCU, replaceable). I am basing my design off the many other exis...
by victor_pv
Fri Sep 22, 2017 2:22 am
Forum: Ideas & suggestions
Topic: Differential ADC (ADC1-ADC2)
Replies: 14
Views: 320

Re: Differential ADC (ADC1-ADC2)

mrburnette wrote:
Sun Sep 17, 2017 10:02 pm
Recall that the official Maple mini had separate analog and digital ground planes.
Baite (&others) went cloning with a dual-sided board ... hence the increased analog noise.

Ray
And the original had 4 layers vs 2 in the clones too.