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?
I am getting the following error when i try to configure new SPI channels.
Thanks in advance
Gopika
Solved! Go to Solution.
To change the package try the following:
regarding to the new SpiChannel, you need to configure it in ConfigTools -> Peripherals:
B.R.
VaneB
@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
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
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?
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
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
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
To change the package try the following:
regarding to the new SpiChannel, you need to configure it in ConfigTools -> Peripherals:
B.R.
VaneB