"Read register" block error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

"Read register" block error

967 Views
p_a_u_darshana
Contributor III

Hi,

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.

p_a_u_darshana_0-1639373095989.png

 

I have checked the mentioned folder in this error message, and it looks fine and full with all the related .mat files.

p_a_u_darshana_1-1639373096007.png

 

I have opened the "LPSPIO_SCK.mat" file, and it looks okay as well.

p_a_u_darshana_2-1639373095997.png

 

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.

p_a_u_darshana_3-1639373096242.png

 

 

How to solve this issue? 

@mariuslucianand @constantinrazva Please help me out.

Thank you.

Labels (1)
Tags (3)
0 Kudos
0 Replies