Hello!
It's impossible to satisfy assert in the fsl_spdif driver for the MIMXRT1052, in the newest SDK (2.5.0):
void SPDIF_WriteBlocking(SPDIF_Type *base, uint8_t *buffer, uint32_t size)
{
assert(buffer);
assert(size / 6U == 0U);
as well as:
void SPDIF_ReadBlocking(SPDIF_Type *base, uint8_t *buffer, uint32_t size)
{
assert(buffer);
assert(size / 6U == 0U);
I assume it's supposed to be:
assert(size % 6U == 0U);
I guess this is the case for all the IMXRT processors.
Hi mmlee:
Thank you for your feedback. I think you are right. I will report it to the developers
Regards
Daniel