Hi guys and gals,
there seems to be a small error in the FLEXCAN_DRV_Send documentation in fsl_flexcan_driver.h.
* @param timeout_ms A timeout for the transfer in microseconds.
should be
* @param timeout_ms A timeout for the transfer in milliseconds.
as is evident by the name itself (ms commonly being the acronym for milliseconds) and by checking the source code, which calls
OSA_SemaWait(&state->txIrqSync, timeout_ms);
which in turn declares "The parameter timeout indicates how long should wait in milliseconds." [sic].
I don't know if there's a (public) issue tracker for KDSK, so please feel free to add it to your list. Thanks.
Regards,
Martin
Hi Martin Rentschler,
Yes, you are right. It should be milliseconds.
It is a good point! Thank you for your report. I will transmit the information to KSDK development team.
Best Regards,
Iva