I want to read SPI's SCK pin and PCS to see the output through the FreeMaster.
So I was trying to use the "Read Register" block for this in my Simulink model.
Whenever I add this block to the Simulink canvas, it shows the below error.
I have checked the mentioned folder in this error message, and it looks fine and full with all the related .mat files.
I have opened the "LPSPIO_SCK.mat" file, and it looks okay as well.
In the MBD community, I saw several people ask questions regarding this, but I could not find any proper answer from their posts.
This error occurred if even we just added the "Config Information" block and "Read Register" block to empty Simulink canvas.
How to solve this issue?
@mariuslucianand @constantinrazva Please help me out.