SPI0 Chip Select 6 for MBD toolbox MPC57x

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

SPI0 Chip Select 6 for MBD toolbox MPC57x

跳至解决方案
1,337 次查看
abhishek_kumar1
Contributor IV

Hello All

I am using SPI0 for communication and I want to use Chipselect 6 (as in our hardware design).

But in MBD Toolbox the CS is limited to 0-3 where.

How shall I manage/overcome the limitation of the toolbox?

Help is appreciated.

  

pastedImage_2.png

pastedImage_1.png

mariuslucianandreiext-rafael.barbosa@chassisbrakes.com

1 解答
1,158 次查看
constantinrazva
NXP Employee
NXP Employee

Hello abhishek.kumar@chassisbrakes.com‌,

Here is the updated patch. The installation steps remain the same as above.

Kind regards,

Razvan.

在原帖中查看解决方案

7 回复数
1,158 次查看
constantinrazva
NXP Employee
NXP Employee

Hello abhishek.kumar@chassisbrakes.com‌,

You are right - this is a limitation that we'll fix. I'll post a patch for it by the end of the week, so you won't need any workarounds; it will work like the others CS work now.

Kind regards,

Razvan.

0 项奖励
回复
1,158 次查看
abhishek_kumar1
Contributor IV

Dear constantinrazvan.chivu

Thank you, I'll await for the solution.

Best Regards,

Abhishek

0 项奖励
回复
1,158 次查看
constantinrazva
NXP Employee
NXP Employee

Hello abhishek.kumar@chassisbrakes.com‌,

I have updated our library so we have all CS present. Can you please confirm everything is working on your end? I have provided here a self extracting zip (like we do for our community patches), so all you have to do is select the root directory of our toolbox - you should be then asked if you want to overwrite some files. If this happens, then the patch is working and the path you inserted is correct. I would recommend you to save  a copy of mbd_mpc574x_ec_toolbox as backup (the old version of our library) - you can just rename it as mbd_mpc574x_ec_toolbox_old. 

Now the CS pins should be dynamically updated (CS0-7 should be present for your part in the Pins tab).

Kind regards,

Razvan. 

0 项奖励
回复
1,158 次查看
abhishek_kumar1
Contributor IV

Dear  constantinrazvan.chivu

The update is good for configuration block, but for the transfer block we only can select til CS_3. (see snapshot)

So it does not solve the problem as of yet. 

Maybe a small oversight. 

pastedImage_1.png

mariuslucianandrei‌ 

Best Regards

Abhishek

0 项奖励
回复
1,159 次查看
constantinrazva
NXP Employee
NXP Employee

Hello abhishek.kumar@chassisbrakes.com‌,

Here is the updated patch. The installation steps remain the same as above.

Kind regards,

Razvan.

1,158 次查看
abhishek_kumar1
Contributor IV

It works. We tested it, thanks for the support

1,158 次查看
constantinrazva
NXP Employee
NXP Employee

Hello abhishek.kumar@chassisbrakes.com‌,

You are right - it was an oversight on my part, sorry for that. I'll get back in a few moments with the transfer block fix as well.

Kind regards,

Razvan.

0 项奖励
回复