Dual Core using the same peripherals

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

Dual Core using the same peripherals

跳至解决方案
1,269 次查看
nampt
Contributor I

"I am using the MIMXRT1170 and building a dual-core project with MCUXpresso Config and IAR Workbench.

I'm wondering how to create the project. Should I configure, generate all peripherals in the master core (CM7) or on separate cores? And what should I do if both cores are using the same peripherals?"

MIMXRT1170-EVK 

0 项奖励
回复
1 解答
1,230 次查看
mayliu1
NXP Employee
NXP Employee

Hi @nampt ,

Thank you so much for your interest in our products and for using our community.

Please refer to this application note, it is very helpful.

https://www.nxp.com/docs/en/application-note/AN13264.pdf

Question1: I'm wondering how to create the project.

Answer1:  For MCUXPresso IDE, you can import SDK demo as the following Fig show.

mayliu1_0-1761643982096.png

For IAR.

mayliu1_1-1761644634804.png

 

Question2:  Should I configure, generate all peripherals in the master core (CM7) or on separate cores? And what should I do if both cores are using the same peripherals?

Answer2:  Please note that multi-core can not using the same peripherals at same time. 

Please refer to the AN13264 and AN13114

Wish it helps you.
If you still have question about it, please kindly let me know.

Best Regards
MayLiu

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,223 次查看
nampt
Contributor I

thank you for your answer.
You mean I can configure on separate cores without the same peripherals?
I need to share 1024 bytes data from CM4 to CM7. Should I use MU, SEMA4 or Free-RTOS Message Buffers for this application for best performance? 
If using Free-RTOS how can I config receive data via IRS RTOS?

0 项奖励
回复
1,187 次查看
mayliu1
NXP Employee
NXP Employee

Hi @nampt ,

I think you can  refer to the SDK demo shown in below Fig.

mayliu1_0-1761727927639.png

mayliu1_1-1761728029038.png

Best Regards

MayLiu

0 项奖励
回复
1,231 次查看
mayliu1
NXP Employee
NXP Employee

Hi @nampt ,

Thank you so much for your interest in our products and for using our community.

Please refer to this application note, it is very helpful.

https://www.nxp.com/docs/en/application-note/AN13264.pdf

Question1: I'm wondering how to create the project.

Answer1:  For MCUXPresso IDE, you can import SDK demo as the following Fig show.

mayliu1_0-1761643982096.png

For IAR.

mayliu1_1-1761644634804.png

 

Question2:  Should I configure, generate all peripherals in the master core (CM7) or on separate cores? And what should I do if both cores are using the same peripherals?

Answer2:  Please note that multi-core can not using the same peripherals at same time. 

Please refer to the AN13264 and AN13114

Wish it helps you.
If you still have question about it, please kindly let me know.

Best Regards
MayLiu

0 项奖励
回复
723 次查看
nampt
Contributor I
Many thanks!
0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2193844%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E4%BD%BF%E7%94%A8%E7%9B%B8%E5%90%8C%E5%A4%96%E8%AE%BE%E7%9A%84%E5%8F%8C%E6%A0%B8%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2193844%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%20class%3D%22%22%3E%3CSPAN%3E%22%E6%88%91%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8%20MIMXRT1170%EF%BC%8C%E7%94%A8%20MCUXpresso%20Config%20%E5%92%8C%20IAR%20Workbench%20%E6%9E%84%E5%BB%BA%E4%B8%80%E4%B8%AA%E5%8F%8C%E6%A0%B8%E9%A1%B9%E7%9B%AE%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CSPAN%3E%E6%88%91%E6%83%B3%E7%9F%A5%E9%81%93%E5%A6%82%E4%BD%95%E5%88%9B%E5%BB%BA%E9%A1%B9%E7%9B%AE%E3%80%82%E6%88%91%E5%BA%94%E8%AF%A5%E5%9C%A8%E4%B8%BB%E5%86%85%E6%A0%B8%EF%BC%88CM7%EF%BC%89%E4%B8%8A%E9%85%8D%E7%BD%AE%E3%80%81%E7%94%9F%E6%88%90%E6%89%80%E6%9C%89%E5%A4%96%E8%AE%BE%EF%BC%8C%E8%BF%98%E6%98%AF%E5%9C%A8%E5%8D%95%E7%8B%AC%E7%9A%84%E5%86%85%E6%A0%B8%E4%B8%8A%EF%BC%9F%E5%A6%82%E6%9E%9C%E4%B8%A4%E4%B8%AA%E5%86%85%E6%A0%B8%E4%BD%BF%E7%94%A8%E7%9B%B8%E5%90%8C%E7%9A%84%E5%A4%96%E8%AE%BE%EF%BC%8C%E6%88%91%E8%AF%A5%E6%80%8E%E4%B9%88%E5%8A%9E%EF%BC%9F%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FMIMXRT1170-EVK%2Fpd-p%2FMIMXRT1170-EVK%22%20class%3D%22lia-product-mention%22%20data-product%3D%222921-1%22%20target%3D%22_blank%22%3EMIMXRT1170-EVK%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2194981%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Dual%20Core%20using%20the%20same%20peripherals%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2194981%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F239761%22%20target%3D%22_blank%22%3E%40nampt%3C%2FA%3E%E3%80%81%3C%2FP%3E%0A%3CP%3E%E6%88%91%E6%83%B3%E6%82%A8%E5%8F%AF%E4%BB%A5%E5%8F%82%E8%80%83%E4%B8%8B%E5%9B%BE%E6%89%80%E7%A4%BA%E7%9A%84%20SDK%20%E6%BC%94%E7%A4%BA%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%22mayliu1_0-1761727927639.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayliu1_0-1761727927639.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayliu1_0-1761727927639.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F363062iC00685D89CFF21F2%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayliu1_0-1761727927639.png%22%20alt%3D%22mayliu1_0-1761727927639.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayliu1_1-1761728029038.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayliu1_1-1761728029038.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayliu1_1-1761728029038.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F363063i04B53510349DF1FF%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayliu1_1-1761728029038.png%22%20alt%3D%22mayliu1_1-1761728029038.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%E9%A1%BA%E7%A5%9D%E5%95%86%E7%A5%BA%EF%BC%81%3C%2FP%3E%0A%3CP%3EMayLiu%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2194258%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Dual%20Core%20using%20the%20same%20peripherals%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2194258%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E8%B0%A2%E8%B0%A2%E6%82%A8%E7%9A%84%E5%9B%9E%E7%AD%94%E3%80%82%3CBR%20%2F%3E%E4%BD%A0%E7%9A%84%E6%84%8F%E6%80%9D%E6%98%AF%E6%88%91%E5%8F%AF%E4%BB%A5%E5%9C%A8%E6%B2%A1%E6%9C%89%3CSPAN%3E%E7%9B%B8%E5%90%8C%E5%A4%96%E8%AE%BE%E7%9A%84%E6%83%85%E5%86%B5%E4%B8%8B%E5%9C%A8%E4%B8%8D%E5%90%8C%E7%9A%84%E5%86%85%E6%A0%B8%E4%B8%8A%E8%BF%9B%E8%A1%8C%E9%85%8D%E7%BD%AE%EF%BC%9F%3CBR%20%2F%3E%E6%88%91%E9%9C%80%E8%A6%81%E5%85%B1%E4%BA%AB%E4%BB%8E%20CM4%20%E5%88%B0%20CM7%20%E7%9A%84%201024%20%E5%AD%97%E8%8A%82%E6%95%B0%E6%8D%AE%E3%80%82%E6%88%91%E5%BA%94%E8%AF%A5%E4%B8%BA%E6%AD%A4%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E4%BD%BF%E7%94%A8%20MU%E3%80%81SEMA4%20%E6%88%96%E5%85%8D%E8%B4%B9%20RTOS%20%E6%B6%88%E6%81%AF%E7%BC%93%E5%86%B2%E5%8C%BA%E4%BB%A5%E8%8E%B7%E5%BE%97%E6%9C%80%E4%BD%B3%E6%80%A7%E8%83%BD%E5%90%97%EF%BC%9F%3CBR%20%2F%3E%E5%A6%82%E6%9E%9C%E4%BD%BF%E7%94%A8%E5%85%8D%E8%B4%B9%E7%9A%84%20RTOS%EF%BC%8C%E6%88%91%E8%AF%A5%E5%A6%82%E4%BD%95%E9%85%8D%E7%BD%AE%E9%80%9A%E8%BF%87%20IRS%20RTOS%20%E6%8E%A5%E6%94%B6%E6%95%B0%E6%8D%AE%3C%2FSPAN%3E%EF%BC%9F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2194209%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Dual%20Core%20using%20the%20same%20peripherals%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2194209%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F239761%22%20target%3D%22_blank%22%3E%40nampt%3C%2FA%3E%E3%80%81%3C%2FP%3E%0A%3CP%3E%E9%9D%9E%E5%B8%B8%E6%84%9F%E8%B0%A2%E6%82%A8%E5%85%B3%E6%B3%A8%E6%88%91%E4%BB%AC%E7%9A%84%E4%BA%A7%E5%93%81%E5%B9%B6%E4%BD%BF%E7%94%A8%E6%88%91%E4%BB%AC%E7%9A%84%E7%A4%BE%E5%8C%BA%E3%80%82%3C%2FP%3E%0A%3CP%3E%E8%AF%B7%E5%8F%82%E9%98%85%E6%AD%A4%E5%BA%94%E7%94%A8%E7%AC%94%E8%AE%B0%EF%BC%8C%E5%AE%83%E9%9D%9E%E5%B8%B8%E6%9C%89%E5%B8%AE%E5%8A%A9%E3%80%82%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN13264.pdf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN13264.pdf%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%E9%97%AE%E9%A2%98%201%EF%BC%9A%3CSPAN%3E%E6%88%91%E6%83%B3%E7%9F%A5%E9%81%93%E5%A6%82%E4%BD%95%E5%88%9B%E5%BB%BA%E9%A1%B9%E7%9B%AE%E3%80%82%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%E7%AD%94%201%EF%BC%9A%20%20%E5%AF%B9%E4%BA%8E%20MCUXPresso%20%E9%9B%86%E6%88%90%E5%BC%80%E5%8F%91%E7%8E%AF%E5%A2%83%EF%BC%8C%E6%82%A8%E5%8F%AF%E4%BB%A5%E5%AF%BC%E5%85%A5%20SDK%20%E6%BC%94%E7%A4%BA%EF%BC%8C%E5%A6%82%E4%B8%8B%E5%9B%BE%E6%89%80%E7%A4%BA%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayliu1_0-1761643982096.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayliu1_0-1761643982096.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayliu1_0-1761643982096.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F362860i1DF1A224D8993658%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayliu1_0-1761643982096.png%22%20alt%3D%22mayliu1_0-1761643982096.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%E5%AF%B9%E4%BA%8E%20IAR%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayliu1_1-1761644634804.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayliu1_1-1761644634804.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayliu1_1-1761644634804.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F362869i1240B6A174EF5638%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayliu1_1-1761644634804.png%22%20alt%3D%22mayliu1_1-1761644634804.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%E9%97%AE%E9%A2%98%202%EF%BC%9A%20%3CSPAN%3E%E6%88%91%E5%BA%94%E8%AF%A5%E5%9C%A8%E4%B8%BB%E5%86%85%E6%A0%B8%EF%BC%88CM7%EF%BC%89%E4%B8%8A%E9%85%8D%E7%BD%AE%E3%80%81%E7%94%9F%E6%88%90%E6%89%80%E6%9C%89%E5%A4%96%E8%AE%BE%EF%BC%8C%E8%BF%98%E6%98%AF%E5%9C%A8%E5%8D%95%E7%8B%AC%E7%9A%84%E5%86%85%E6%A0%B8%E4%B8%8A%EF%BC%9F%E5%A6%82%E6%9E%9C%E4%B8%A4%E4%B8%AA%E5%86%85%E6%A0%B8%E4%BD%BF%E7%94%A8%E7%9B%B8%E5%90%8C%E7%9A%84%E5%A4%96%E8%AE%BE%EF%BC%8C%E6%88%91%E8%AF%A5%E6%80%8E%E4%B9%88%E5%8A%9E%EF%BC%9F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%E7%AD%94%202%EF%BC%9A%20%20%3C%2FSPAN%3E%3CSPAN%3E%E8%AF%B7%E6%B3%A8%E6%84%8F%EF%BC%8C%E5%A4%9A%E6%A0%B8%E4%B8%8D%E8%83%BD%E5%90%8C%E6%97%B6%E4%BD%BF%E7%94%A8%E7%9B%B8%E5%90%8C%E7%9A%84%E5%A4%96%E8%AE%BE%E3%80%82%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%E8%AF%B7%E5%8F%82%E9%98%85%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN13264.pdf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EAN13264%3C%2FA%3E%E5%92%8C%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN13114.pdf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EAN13114%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%E5%B8%8C%E6%9C%9B%E5%AE%83%E8%83%BD%E5%B8%AE%E5%88%B0%E4%BD%A0%E3%80%82%3CBR%20%2F%3E%E5%A6%82%E6%9E%9C%E6%82%A8%E8%BF%98%E6%9C%89%E7%96%91%E9%97%AE%EF%BC%8C%E8%AF%B7%E5%91%8A%E8%AF%89%E6%88%91%E3%80%82%3C%2FP%3E%0A%3CP%3E%E6%95%AC%E4%B8%8A%3CBR%20%2F%3EMayLiu%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2302548%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Dual%20Core%20using%20the%20same%20peripherals%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2302548%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E9%9D%9E%E5%B8%B8%E6%84%9F%E8%B0%A2%EF%BC%81%3C%2FLINGO-BODY%3E