Posted on December 02, 2017 at 03:42
Hi,
I just took two days to trace a bug that only appeared when I was doing concurrent reads & writes on my SD card from separate threads in FREERTOS.
The bug is in sd_diskio.c and needs fixing intwo fun...
Posted on August 15, 2017 at 05:00Hi,has anyone ever managed to send a standard CAN overload frame on an stm32?So far, I could only find error handling for incoming frames but no way to send one myself.#can #overload
Posted on July 24, 2017 at 03:33
Hi everyone.
I have stumbled across an odd problem and would like to share it here and ask if someone knows a solution.
Following scenario:
I created an empty Project for my custom pcb F2 (see project's ....
Posted on July 12, 2017 at 04:50
Hi,
following scenario:
I use one SD card on my pcb (4 wire sdio) with fatfs and FreeRTOS.
The generated driver init function from ST looks like following (ff_gen_drv.c):
uint8_t FATFS_LinkDriverEx(Dis...
Posted on June 06, 2017 at 04:35
Hi,
I just upgraded from F2 HAL library v1.4.0 to v1.6.0 and noticed that CAN_Receive_IT now uses two separate RxMessage buffers in its CAN_HandleTypeDef struct. One per CAN FIFO, as can be seen here:
static...
Posted on May 22, 2018 at 00:38Hey, I've had some success using the CATCH framework. Basically, ALL tests would have to run on the mcu. I guess when developing e.g. a driver framework, it would work when running on a large flash version of that mcu....
Posted on April 16, 2018 at 06:18Hey,my suggestion: have a look around for variable scope and how to declare and use global variables. Look for the keyword extern and how to use it.You're declaring the object in your main.cpp, so only code below tha...
Posted on March 01, 2018 at 19:31Hmm, you could hand-code the pulse thresholds into your code. would probably be the easiest way. Or you could model a generic sine-wave and put a kalman filter on top which then spits out the current phase angle phi ...
Posted on March 01, 2018 at 01:19So for e.g. 6m/min feed rate you're looking at 100k pulses / sec, right? And you want to do the interpolation on a µC? I doubt that's possible.I'd look for a dedicated IC to do that. There are some around that spit ...