microtronics
microtronics
On the L053 I'm getting 300KB/s with array transfer. It is only 32MHz so these values are similar enough. Enabling DMA would of course be awesome, but since the L-series...
I've done DMA using cube on another controller already and AFAIR you also have to initialize the dma itself and the RCC module to clock and power it correctly
The output of the sketch is as expected: ``` Cortex M0 no unaligned support ``` and the fix for the SIMPLE_LITTLE_ENDIAN appears to work, too. I get the same speeds...
I finally got DMA to work. Currently only used for reading: ``` FILE_SIZE_MB = 10 BUF_SIZE = 512 bytes Starting write test, please wait. write speed and latency speed,max,min,avg KB/Sec,usec,usec,usec...
Here is the code I used for DMA on the L4 and it works on the L0 with minor modifications (DMA IRQhandler and channel), too: ``` DMA_HandleTypeDef hdma_spi2_rx, hdma_spi2_tx; class...
PWM and fans don't work that way. You'll still give pulses of 24V to your fans and depending on the fan it will take damage. I agree, a jumper solution...
Will this be merged anytime soon? Stm32flash is *really* dated in pio...
Could it be that the issue stems from these lines: ``` // Steps required for acceleration, deceleration to/from nominal rate uint32_t accelerate_steps = CEIL(estimate_acceleration_distance(initial_rate, block->nominal_rate, accel)), decelerate_steps = FLOOR(estimate_acceleration_distance(block->nominal_rate, final_rate,...