S32K322 DS PORT CONFIGURATION

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

S32K322 DS PORT CONFIGURATION

Jump to solution
1,850 Views
GopikaFaraday
Contributor III

Hi,

Iam trying to reconfigure the Spi_Transfer_S32K344 example project to tailor it to my specific requirements.For instance I want the package to be 172 instead of 257 bga and I want to add extra SPI masters. Can somebody please help me wit the way to proceed on this?

GopikaFaraday_0-1671529430258.png

 

I am getting the following error when i try to configure new SPI channels.

Thanks in advance

Gopika

0 Kudos
Reply
1 Solution
1,830 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @GopikaFaraday 

To change the package try the following:

VaneB_0-1671552515549.png

VaneB_1-1671552533158.png

regarding to the new SpiChannel, you need to configure it in ConfigTools -> Peripherals:

VaneB_2-1671552737672.png

 

B.R.

VaneB

View solution in original post

7 Replies
1,825 Views
GopikaFaraday
Contributor III

@VaneB Thank you very much for your answers. I did configure the pins and package, but I am getting a build error as shown. I have attached the image of the peripheral window, just to give an idea about  what I have configured. Could you kindly guide me through this error? I cant seem to find where the value of "NUM_OF_CONFIGURED_PINS0" parameter is generated or set.

Thanks in advance

 

GopikaFaraday_1-1671554865509.png

 

GopikaFaraday_0-1671554832159.png

 

0 Kudos
Reply
1,823 Views
mikedoidge
NXP Employee
NXP Employee

Hello Gopika,

I notice you are attempting to use the S32K3 RTD with S32DS v3.5, however, the most recent release of this RTD package only supports ""S32 Design Studio IDE v3.4 Update 3", as noted in the release notes. Since the S32 Configuration Tools and RTD must be in sync to work properly, I believe this is most likely the reason why you are experiencing this issue.

In the future, we recommend that you utilize the 'Help -> S32DS Extensions and Updates' menu to install RTD packages (and other packages from NXP) into S32 Design Studio. This tool will guide you on what packages are suitable for the version you have. It would have prevented this situation. If you need to use the S32K3 RTD, you will need to use the S32 Design Studio for S32 Platform v3.4 Update 3 for now. Once the S32K3 RTD is updated to support S32DS 3.5 and released, then you could move to the new version.

Best Regards,

Mike

0 Kudos
Reply
1,753 Views
GopikaFaraday
Contributor III

Hello Mike,

I am sorry but if you see the screenshot, you can see that the version is S32DS.3.4 and not 3.5. Isn't that the version that we want?

GopikaFaraday_0-1672743619464.png

 

0 Kudos
Reply
1,739 Views
mikedoidge
NXP Employee
NXP Employee

Hello Gopika,

In your original post, the image showed the v3.5.

I see that you are trying to use both the MCAL drivers and the Pins tool. Both of these contain pin configuration code which could be in conflict. The code generator is probably confused by this and is generating incomplete code. This is likely the reason for the error.

Please check that you are using only one method for pins configuration.

Best Regards,

Mike

0 Kudos
Reply
1,736 Views
GopikaFaraday
Contributor III

Hello Mike,

Reply noted with thanks.

Could you also please tell me if there is any sample project that shows the SPI communication between one of the LPSPIs as the master and an external chip as the slave? Basically, i am trying to setup an SPI communication between LPSPI and an eternal chip(slave)  in RTD in Non-Autosar mode.Any help on this would be much appreciated.

Regards

Gopika

0 Kudos
Reply
1,732 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @GopikaFaraday 

I suggested some examples in this post: g_pin_mux_InitConfigArr0 error for S32DS3.4 UPDATE 3 

Please let me know if they were helpful to you

 

B.R.

VaneB

0 Kudos
Reply
1,831 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @GopikaFaraday 

To change the package try the following:

VaneB_0-1671552515549.png

VaneB_1-1671552533158.png

regarding to the new SpiChannel, you need to configure it in ConfigTools -> Peripherals:

VaneB_2-1671552737672.png

 

B.R.

VaneB