SPI0 Chip Select 6 for MBD toolbox MPC57x

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

SPI0 Chip Select 6 for MBD toolbox MPC57x

Jump to solution
990 Views
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 Solution
811 Views
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.

View solution in original post

7 Replies
811 Views
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 Kudos
811 Views
abhishek_kumar1
Contributor IV

Dear constantinrazvan.chivu

Thank you, I'll await for the solution.

Best Regards,

Abhishek

0 Kudos
811 Views
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 Kudos
811 Views
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 Kudos
812 Views
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.

811 Views
abhishek_kumar1
Contributor IV

It works. We tested it, thanks for the support

811 Views
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 Kudos