Hi
The center aligned PWM example for 1024 board doesn't seems to work. There is no response in the free master either. Please find attached example project.
I have posted a question related to this and couldn't get any response.
Another post - . @stefancinipeanu Could you please check, Is it be a possible bug?
Hi Stefan
Could you please confirm that the toolbox works with MATLAB R2021b. I am using MATLAB R2021b.
Kind regards,
Abin Abraham
Hi, @kabraham_abin
I still cannot reproduce the error. The example is also working on MATLAB R2021b on my side, as shown below.
What revision of the IMXRT1024 evaluation kit are you using? Also, did you use the OpenSDA to download the application on the board? Could you please be more specific about the error that you encounter? Does Simulink throw any error when building the model? Is the download process successful?
Regards,
Stefan.
The revision of the board is 700-47106 REV A (SCH-47106 REV B2).
Yes, I use open SDA to download the application on the board.
I cannot see a graph like you are showing above. the values are always zero on the duty cycle.
The model was successfully build and loaded to the board and I reset the board successfully.
Hello, @kabraham_abin
I apologize for our late response but in the last few weeks we were involved in another projects and releases.
I have tried to run the PWM center aligned example for IMXRT1024 platform from the MBD toolbox and I was not able replicate the issue that you have encountered. Both PWM examples (center aligned and edge aligned) worked as described in the readme file and I was also able to see the pwm signals on the oscilloscope screen. The FreeMASTER project is working as well.
I have installed the latest version of the MBD IMXRT toolbox(v1.3.0) on MATLAB R2020b. Perhaps it`s a problem for the toolbox with newer MATLAB versions. Could you tell me which MATLAB are you using?
Regards,
Stefan.
No. I didn't do any modification to example. So I guess the values are between 0 and 255. I just followed the readme file and try to observe the response.