Solved! Go to Solution.
Hello,
the fix of your probelm has been already published within the Udpate #2 V1.0.1 for CW MCU V10.1. To download the update please follow this link: Update #2 V1.0.1
best regards
Vojtech Filip
Processor Expert Support Team
Hello,
you are completely correct. However this problem has been already fixed in the Update#2 V1.0.1 for Code Warrior V10.1, where you can find exactly the code that you proposed to fix this issue in your post to subtract one before passing the parameter to DAC_PDD_SetBufferSize().
DAC_PDD_SetBufferSize(DACx_BASE_PTR,Size - 1U);
So the Update#2 V1.0.1 fixes this issue. Unfortunately it is currently not available yet, but as far as I know it should be published within several days. I will update this thread when it will be ready to ensure that you will be properly informed about this release availability.
For now as the workaround you have to freeze the generate code ("Code Generation" menu command in the component´s pop-up menu) and change it manually or you can pass value subtracted by one to this function.
We are sorry for the inconvenience ...
best regards
Vojtech Filip
Processor Expert Support Team
Hello,
the fix of your probelm has been already published within the Udpate #2 V1.0.1 for CW MCU V10.1. To download the update please follow this link: Update #2 V1.0.1
best regards
Vojtech Filip
Processor Expert Support Team