UART SetBuffer Error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

UART SetBuffer Error

跳至解决方案
948 次查看
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 项奖励
回复
1 解答
923 次查看
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 项奖励
回复
2 回复数
924 次查看
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 项奖励
回复
905 次查看
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%20%E8%AE%BE%E7%BD%AE%E7%BC%93%E5%86%B2%E5%8C%BA%E9%94%99%E8%AF%AF%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%3E%E5%BD%93%E6%88%91%E6%89%93%E5%BC%80%E7%A4%BA%E4%BE%8B%E9%A1%B9%E7%9B%AE%E2%80%9Cs32k3xx_uart_buffer_s32ct%E2%80%9D%E6%97%B6%EF%BC%8C%E6%80%BB%E6%98%AF%E4%BC%9A%E5%87%BA%E7%8E%B0%E8%BF%99%E4%B8%AA%E9%94%99%E8%AF%AF%E3%80%82%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%3E%E6%88%91%E4%B8%8D%E7%9F%A5%E9%81%93%E8%AF%A5%E5%A6%82%E4%BD%95%E4%BF%AE%E6%94%B9%EF%BC%8C%E8%AF%B7%E5%B8%AE%E5%B8%AE%E6%88%91%E3%80%82%3C%2FP%3E%3CP%3E%E8%B0%A2%E8%B0%A2%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1959543%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AUART%20SetBuffer%20%E9%94%99%E8%AF%AF%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%3E%E6%84%9F%E8%B0%A2%E6%82%A8%E7%9A%84%E5%9B%9E%E5%A4%8D%E3%80%82%3C%2FP%3E%3CP%3E%3CSPAN%3E%E4%BD%A0%E8%A7%A3%E5%86%B3%E4%BA%86%E6%88%91%E7%9A%84%E9%97%AE%E9%A2%98%EF%BC%8C%E8%B0%A2%E8%B0%A2%E3%80%82%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%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AUART%20SetBuffer%20%E9%94%99%E8%AF%AF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1958744%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%8C%3CBR%20%2F%3E%3CBR%20%2F%3E%E8%AF%A5%E9%97%AE%E9%A2%98%E5%8F%AF%E8%83%BD%E6%9C%89%E5%87%A0%E4%B8%AA%E5%8E%9F%E5%9B%A0%EF%BC%8C%E4%BD%86%E4%B8%BA%E4%BA%86%E8%A7%A3%E5%86%B3%E8%BF%99%E4%B8%AA%E9%97%AE%E9%A2%98%EF%BC%8C%E9%9C%80%E8%A6%81%E8%80%83%E8%99%91%E4%BB%A5%E4%B8%8B%E4%B8%A4%E7%82%B9%EF%BC%9A%3CBR%20%2F%3E%3CBR%20%2F%3E%201)%E7%9C%8B%E8%B5%B7%E6%9D%A5Matlab%E8%B7%AF%E5%BE%84%E6%9C%89%E4%B8%80%E4%BA%9B%E9%97%AE%E9%A2%98%E3%80%82%E8%AF%B7%E4%BB%8E%E2%80%9C%E8%AE%BE%E7%BD%AE%E8%B7%AF%E5%BE%84%E2%80%9D%E7%AA%97%E5%8F%A3%E4%B8%AD%E6%B8%85%E9%99%A4%20Matlab%20%E8%B7%AF%E5%BE%84%EF%BC%8C%E7%84%B6%E5%90%8E%E5%86%8D%E6%AC%A1%E8%BF%90%E8%A1%8C%E2%80%9Cmbd_s32k3_path.m%E2%80%9D%E8%84%9A%E6%9C%AC%E3%80%82%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%EF%BC%89%E6%82%A8%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8%E6%9C%80%E6%96%B0%E7%9A%84%20MBDT%20%E5%B7%A5%E5%85%B7%E7%AE%B1%201.5.0%3CBR%20%2F%3E%E8%AF%B7%E7%A1%AE%E4%BF%9D%E6%82%A8%E5%9C%A8%20Matlab%20R2021a%20%E6%88%96%E6%9B%B4%E6%96%B0%E7%89%88%E6%9C%AC%E4%B8%AD%E6%89%93%E5%BC%80%E6%AD%A4%20Simulink%20%E6%A8%A1%E5%9E%8B%E3%80%82%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