S32k344 uses DMA to transmit uart error

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

S32k344 uses DMA to transmit uart error

Jump to solution
1,655 Views
yulong
Contributor II

Recently in the S32K344 board, using DMA mode to send UART, EB environment 28.0, S32DS: 3.5, MCAL: V2.0.1/AS4.4.0. When performing Mcl_Init(), there is no value in CHCFG[n], resulting in initialization failure. Can you help me find the reason? Looking forward to your reply

yulong_0-1737095701373.png

 

Tags (1)
0 Kudos
Reply
1 Solution
1,579 Views
yulong
Contributor II
Thanks for you help.I have alredy solved it!Refer to this link :https://blog.csdn.net/zhoujingCSDN/article/details/142730383

View solution in original post

2 Replies
1,627 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @yulong,

The DMAMUX is configured in the RM driver.

Do you configure DMAMUX in RM configurator and do you initialize the RM driver in the code?

 

Thanks,

BR, Daniel

0 Kudos
Reply
1,580 Views
yulong
Contributor II
Thanks for you help.I have alredy solved it!Refer to this link :https://blog.csdn.net/zhoujingCSDN/article/details/142730383
%3CLINGO-SUB%20id%3D%22lingo-sub-2029545%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32k344%20uses%20DMA%20to%20transmit%20uart%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2029545%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%20class%3D%22%22%3E%3CSPAN%20class%3D%22%22%3ERecently%20in%20the%20S32K344%20board%2C%20using%20DMA%20mode%20to%20send%20UART%2C%20EB%20environment%2028.0%2C%20S32DS%3A%203.5%2C%20MCAL%3A%20V2.0.1%2FAS4.4.0.%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3E%20When%20performing%20Mcl_Init()%2C%20there%20is%20no%20value%20in%20CHCFG%5Bn%5D%2C%20resulting%20in%20initialization%20failure.%20Can%20you%20help%20me%20find%20the%20reason%3F%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3E%20Looking%20forward%20to%20your%20reply%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22yulong_0-1737095701373.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22yulong_0-1737095701373.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F320035i2F78B31407CC6976%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22yulong_0-1737095701373.png%22%20alt%3D%22yulong_0-1737095701373.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2033777%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32k344%20uses%20DMA%20to%20transmit%20uart%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2033777%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThanks%20for%20you%20help.I%20have%20alredy%20solved%20it!Refer%20to%20this%20link%20%3A%3CA%20href%3D%22https%3A%2F%2Fblog.csdn.net%2FzhoujingCSDN%2Farticle%2Fdetails%2F142730383%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblog.csdn.net%2FzhoujingCSDN%2Farticle%2Fdetails%2F142730383%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2029611%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32k344%20uses%20DMA%20to%20transmit%20uart%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2029611%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F74137%22%20target%3D%22_blank%22%3E%40yulong%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EThe%20DMAMUX%20is%20configured%20in%20the%20RM%20driver.%3C%2FP%3E%0A%3CP%3EDo%20you%20configure%20DMAMUX%20in%20RM%20configurator%20and%20do%20you%20initialize%20the%20RM%20driver%20in%20the%20code%3F%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThanks%2C%3C%2FP%3E%0A%3CP%3EBR%2C%20Daniel%3C%2FP%3E%3C%2FLINGO-BODY%3E