UART SetBuffer Error

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

UART SetBuffer Error

Jump to solution
839 Views
SuperBeginner
Contributor III

Dear NXP,

When I open the example project - "s32k3xx_uart_buffer_s32ct", it always gets this error.

Uart_Buffer_Error_1.PNG

Uart_Buffer_Error_2.PNG

I don't know how should I revise it, please help me.

Thank you

0 Kudos
Reply
1 Solution
814 Views
Adrian_Gherca
NXP Employee
NXP Employee

Hello,

The problem might have several reasons, but here are two things to consider in order to solve it:

1) It looks like the Matlab path has some issue. Please clear the Matlab path from the "Set Path" window and run the "mbd_s32k3_path.m" script again.

Adrian_Gherca_1-1726829812893.png


2) You are using the latest MBDT toolbox 1.5.0
Please make sure that you are opening this Simulink model in Matlab R2021a or a newer version.

 

 



View solution in original post

0 Kudos
Reply
2 Replies
815 Views
Adrian_Gherca
NXP Employee
NXP Employee

Hello,

The problem might have several reasons, but here are two things to consider in order to solve it:

1) It looks like the Matlab path has some issue. Please clear the Matlab path from the "Set Path" window and run the "mbd_s32k3_path.m" script again.

Adrian_Gherca_1-1726829812893.png


2) You are using the latest MBDT toolbox 1.5.0
Please make sure that you are opening this Simulink model in Matlab R2021a or a newer version.

 

 



0 Kudos
Reply
796 Views
SuperBeginner
Contributor III

Hi @Adrian_Gherca ,

Thank you for your reply.

You solved my problem, thanks.

%3CLINGO-SUB%20id%3D%22lingo-sub-1958609%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EUART%20SetBuffer%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1958609%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%20NXP%2C%3C%2FP%3E%3CP%3EWhen%20I%20open%20the%20example%20project%20-%20%22s32k3xx_uart_buffer_s32ct%22%2C%20it%20always%20gets%20this%20error.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Uart_Buffer_Error_1.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Uart_Buffer_Error_1.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F300327i0777C9716C1C93C2%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Uart_Buffer_Error_1.PNG%22%20alt%3D%22Uart_Buffer_Error_1.PNG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Uart_Buffer_Error_2.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Uart_Buffer_Error_2.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F300326iE159A39D41DFC0A0%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Uart_Buffer_Error_2.PNG%22%20alt%3D%22Uart_Buffer_Error_2.PNG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20don't%20know%20how%20should%20I%20revise%20it%2C%20please%20help%20me.%3C%2FP%3E%3CP%3EThank%20you%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1959543%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20UART%20SetBuffer%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1959543%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F221383%22%20target%3D%22_blank%22%3E%40Adrian_Gherca%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20reply.%3C%2FP%3E%3CP%3E%3CSPAN%3EYou%20solved%20my%20problem%2C%20thanks.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1958744%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20UART%20SetBuffer%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1958744%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20problem%20might%20have%20several%20reasons%2C%20but%20here%20are%20two%20things%20to%20consider%20in%20order%20to%20solve%20it%3A%3CBR%20%2F%3E%3CBR%20%2F%3E1)%20It%20looks%20like%20the%20Matlab%20path%20has%20some%20issue.%20Please%20clear%20the%20Matlab%20path%20from%20the%20%22Set%20Path%22%20window%20and%20run%20the%20%22mbd_s32k3_path.m%22%20script%20again.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Adrian_Gherca_1-1726829812893.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Adrian_Gherca_1-1726829812893.png%22%20style%3D%22width%3A%20956px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F300381iD143380396EF7AA6%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Adrian_Gherca_1-1726829812893.png%22%20alt%3D%22Adrian_Gherca_1-1726829812893.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E2)%20You%20are%20using%20the%20latest%20MBDT%20toolbox%201.5.0%20%3CBR%20%2F%3EPlease%20make%20sure%20that%20you%20are%20opening%20this%20Simulink%20model%20in%20Matlab%20R2021a%20or%20a%20newer%20version.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E