You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using osDelay function since I'm using FreeRTOS to run my application.
So in the bmi API I implemented my delay as below void coines_delay_usec(uint32_t delay_us){ uint32_t ticks = (uint32_t)(delay_us/1000); osDelay(ticks); }
But it's actually not working, I'm getting an error right after executing this line: rslt = bmi270_context_init(&bmi2_dev);
Indeed rslt value turn '0xfd' instead of '0x00'
When I try with a simple HAL_Delay() in a No-OS application it works fine.
My OS tick rate is 1000Hz.
The text was updated successfully, but these errors were encountered:
I'm using osDelay function since I'm using FreeRTOS to run my application.
So in the bmi API I implemented my delay as below
void coines_delay_usec(uint32_t delay_us){ uint32_t ticks = (uint32_t)(delay_us/1000); osDelay(ticks); }
But it's actually not working, I'm getting an error right after executing this line:
rslt = bmi270_context_init(&bmi2_dev);
Indeed rslt value turn '0xfd' instead of '0x00'
When I try with a simple HAL_Delay() in a No-OS application it works fine.
My OS tick rate is 1000Hz.
The text was updated successfully, but these errors were encountered: