ZEPHYR MIMXRT1170 - CUSTOM BOARD

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

ZEPHYR MIMXRT1170 - CUSTOM BOARD

跳至解决方案
470 次查看
illy777
Contributor III

Hello all, 

I'm currently working on integrating zephyr on our custom board. And i have got some questions regarding implementation.

 

First of all which examples would you recommend for getting into the implementation of the I2C bus? Does NXP have any examples? 

Second question would be: The devicetree is generated as I can see. Is there a way to get hands over the rt_cfg_utils.py script? As I would also like to use our .mex file to generate a devicetree.

 

Thank you!

 

 

 

 

 

0 项奖励
1 解答
449 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @illy777 ,

   Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.

1.  When you generate the zephyr, you can check the samples, it should already have the I2C demo, eg:

kerryzhou_0-1702529465797.png

 

2. About the rt_cfg_utils.py script, you can search your zephyr project path, just to check, whether you can find this file or not.

 

Wish it helps you!

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

Best Regards,

Kerry

 

 

在原帖中查看解决方案

0 项奖励
5 回复数
445 次查看
illy777
Contributor III

Hi @kerryzhou thx for reply!

Which commit are you using? Because the version I gotta use doesn't have the demo you're showing And also not the script...

 

Thx!

 

0 项奖励
443 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @illy777 ,

  The version I am using is really a little old, that is in 2021.

  Now, which version you are using? Maybe I can find time to help you to check it with the zephr situation.

  BTW, where you find the rt_cfg_utils.py name? As I also didn't find it.

 

Best Regards,

kerry

0 项奖励
431 次查看
illy777
Contributor III

Hi @kerryzhou,

I'm using a specific commit with a patch that was introduced into the zephyr main branch, this is the commit with the hash: 883f604f, commit msg: soc: arm: nxp_imx: rt11xx: allow user to disable CONFIG_ADJUST_DCDC

 

The patch is a must for my board.

 

The file name rt_cfg_utils.py is mentioned in the device tree configuration:

 

illy777_0-1702639216378.png

 

 

 

 

 

Btw. the newest commit isn't working with the board configurations of the version that I mentioned...

 

Best regard, 

 

Isaac

 

 

0 项奖励
415 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @illy777 ,

   Thanks so much for your updated information.

   So, even you use the NXP MIMXRT1170-EVK with the zephyr, also have this device tree mentioned rt_cfg_utils.py, right?

   If yes, please tell me this device tree configuration file path after you generate it.

  I will try it on my side.

 

Best Regards,

Kerry

   

0 项奖励
450 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @illy777 ,

   Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.

1.  When you generate the zephyr, you can check the samples, it should already have the I2C demo, eg:

kerryzhou_0-1702529465797.png

 

2. About the rt_cfg_utils.py script, you can search your zephyr project path, just to check, whether you can find this file or not.

 

Wish it helps you!

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

Best Regards,

Kerry

 

 

0 项奖励