Hello
can anyone will help with WB S32k344 (SPI Async loopback ) example code or something .
we are struggling here with it .
The scenario is like ,
We want to get SPI UP . we are configured SPI and called below functions .
Spi_Init(NULL_PTR);
Spi_SetAsyncMode(SPI_INTERRUPT_MODE);
Spi_SetupEB(0u, TxChBuf0, RxChBuf0, 20u);
WriteIB(1u, TxChBuf1);
Spi_AsyncTransmit(SpiConf_SpiSequence_SpiSequence_Slave);
but we are not able to check the clock pulses also on SPI_CLK line .
kindly guide us with method to verify all conditions to up spi .
1. one doubt i need to clerify about spi ?
SPIclk will get only when some data is transfering SPI_OUT or SPI_IN . is it corrct ?
Robin_Shen,
I have the s32K344-WB board. From what you said, the example projects won't run here. What is the difference in this board to the compatible boards, S32K3X4EVB-Q257 or S32K3X4EVB-T172? what changes would need to be made to the examples?
This is most unfortunate.
The video in the attachment records how I imported the EB project to generate code and then built the project with S32DS. I don't have S32K3 RTD 1.0.0 installed but I have RTD 1.0.0 HF01 installed. But I don't think this is the cause of this problem.
Have you tried to import the RTD 1.0.0 project and build it? (File->New->S32DS Project from Example)
If not, I'm afraid you need to raise a new question in the S32DS community and ask my colleagues for help.
Or reinstall S32DS v3.4 with S32K3 RTD 1.0.0:
Please start from page 17 of S32K3xx Real-Time Drivers (RTD) Installation Guide - Training
Click S32K3 Standard Software - > Automotive SW - S32K3/S32M27x - Real-Time Drivers for Cortex-M -> Previous -> S32K3 Real Time Drivers Version 1.0.0
Click S32K3 Standard Software - > Automotive SW - S32K3 - S32 Design Studio -> 3.4.1_D2110 S32 Design Studio for S32 Platform v.3.4 Update with Service Pack 2 for S32K3 devices
Not able to understand this Error . Can you please help me with it .
Thanks
I followed the following order:
5.2. Import EB tresos Project
6. Generate Code
5.1. Import S32DS Project
7.1. Build in S32DS
Sorry, the EB configuration project in S32K344_Whiteboard_Example_RTM_1.0.0 seems to only build in S32DS and generate elf files. It does not provide makefile to build like other EB projects in S32K3 RTD.
Hi Robin
I have gone throught above document . In this document it is mentioned only how to generate code but I want info about Compilation of this code and elf generation .
Kindly help on it .
Here only S32ds build info is there not about EB tresos build info
Did you install SW32K3_RTD_4.4_1.0.0_D2110.exe by follow the chapter "2.3.2. Install Real-Time Drivers" of S32K344_Whiteboard_Software_User_Guide.pdf? (C:\NXP\S32K344_Whiteboard_Example_RTM_1.0.0\S32K344_Whiteboard_Example_RTM_1.0.0\S32K344_Whiteboard_Software_User_Guide.pdf)
Please download RTD by click S32K3 Standard Software -> Automotive SW - S32K3/S32M27x - Real-Time Drivers for Cortex-M ->
Q: Is there any document avaliable which guide the about EB project import and compile ,build it
A: Please follow the guide of S32K344_Whiteboard_Software_User_Guide.pdf, for example: 5.2. Import EB tresos Project.
Hello robin
Is there any document avaliable which guide the about EB project import and compile ,build it .
As it seems process is too much complicated .I am struggling here to import and compile it
Please help me with it
As you see project structure is too much different .
Thanks
Abhishek
Hi Robin
I got version 1 RTD package
It is Available here
Hi Robin
Please let me know which RTD package is used for these plugins . as I am not able to get these Plugins
Kindly provide me path .
Thanks
Abhishek
Yes.
Please tell me which board you are using. Is it the S32K344-WB Evaluation Board for Automotive General Purpose? There is a Spi_Example_47478A_440_100 project in the S32K344 Whiteboard Example Project for your reference. (C:\NXP\S32K344_Whiteboard_Example_RTM_1.0.0\S32K344_Whiteboard_Example_RTM_1.0.0\SPI\Spi_Example_47478A_440_100)
Unfortunately, the S32K3 RTD is usually an example on the S32K3X4EVB-Q257 or S32K3X4EVB-T172, so if you use the project in the RTD, you need to modify it according to the S32K344-WB hardware.
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------