HimaxWiseEyePlus / Seeed_Grove_Vision_AI_Module_V2

MIT License
30 stars 17 forks source link

spi_fatfs.c incompatible with freertos? #25

Open stantonious opened 1 week ago

stantonious commented 1 week ago

Hello - We're looking to access the sd card via spi_fatfs (similar to allon_sensor_tflm_fatfs) while use the freertos OS. It appears all of the sample spi_fatfs.c are using the eventlibrary, and are incompatible. While porting over spi_fatfs.c, the dp_task timesout trying to acquire with the following output

sensor_type: 15
OV5647 on by app done
g_cursensorstream: 0
os_app_dplib_cb event=-76
send to dp task 0x11c
os_app_dplib_cb event=-77
send to dp task 0x11e
dp_recv_msg_event=0x11c
dp_recv_msg_event=0x11e
main_recv_msg=0x203
main_recv_msg.msg_data=0x11c fail
main_recv_msg=0x203
main_recv_msg.msg_data=0x11e fail

Is there an example spi_fatfs that uses freertos?

Thanks!

stevehuang82 commented 2 days ago

Hi @stantonious,

We don't have this example, we'll need some time to port it.