2024-10-19 03:29 AM - edited 2024-10-19 03:32 AM
I noticed, that in the RM for the stm32f446 (v6, 2021) the description for the number of slots in the SAI peripheral (NBSLOT) seems wrong?
I am not quite sure, but the behavior on my device suggests that the bitfield represents the number of slots -1.
Therefore, I write a 0b1 for 2 slots. The way it is formulated states that it would require a 0b11 for 2 slots. Is this an error or am i wrong?
Solved! Go to Solution.
2024-10-19 04:31 AM - edited 2024-10-21 02:56 AM
Hello @Smuffin
I confirm this typo on the RM0390. I've escalated for correction on the coming releases (under internal ticket number 194461). Thank you so much for reporting.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-10-19 04:01 AM
If you set nbslot to 1 , text says: nbslot +1 -> slots in audio frame -> 2 slots .
This is also what you got - right ? (nbslot = (slots in audio frame) -1 .) same.
2024-10-19 04:06 AM
Hello @Smuffin
I'm checking this internaly. I will be back to you on monday with more details.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-10-19 04:14 AM
I think it states the value in the field = number of slots + 1. This would mean
nbslot = 1 = actualslots +1 -> actualslots = 0
Cheers
Smuffin
2024-10-19 04:31 AM - edited 2024-10-21 02:56 AM
Hello @Smuffin
I confirm this typo on the RM0390. I've escalated for correction on the coming releases (under internal ticket number 194461). Thank you so much for reporting.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.