hi,
I have a use case to control a motor using the S32G rdb2 board. I was checking the Feasibility of it and it seems it is possible as the boards has 4 FTM pins . (Please let me know if i am wrong in this).The best driver for the board , if i am using 2 small motors.
Now i would like to know the list of Display Spi that can be connected with Board, if it is possible.
I know this is a really vague question but please let me know if you guys have any information.
Thanks in Advance.
Solved! Go to Solution.
Hello, @athul_am
Thanks for the feedback and sorry for the delay.
Now I could understand that you may want to use the PA06/07/08 and PF15.
From my opinion, these four pins could be used as DSPI to connect to a SPI device, also these 4 pins could act as Flextimer channels.
For any other funtionality of the 4 pins, you may refernece hte RM directly.
Hope it helps.
Best Regards
Chenyin
Hello, @athul_am
Thanks for the feedback.
For the two pins which connected to the J5, the functionality is shown below:
They could be used as I2C pins if not used with other settings from the RM.
Best Regards
Chenyin
Hello, @athul_am
Thanks for the feedback and sorry for the delay.
Now I could understand that you may want to use the PA06/07/08 and PF15.
From my opinion, these four pins could be used as DSPI to connect to a SPI device, also these 4 pins could act as Flextimer channels.
For any other funtionality of the 4 pins, you may refernece hte RM directly.
Hope it helps.
Best Regards
Chenyin
Hi @chenyin_h,
Thank you for the Response .
One last question can i use the PB_05 and PB_06 pins in the J5 to connect to a I2C device?
Or are these Pins used for something else?
Thanks and Regards,
Athul
Hello, @athul_am
Thanks for the questions and sorry for the delay.
I feel sorry that I do not quite catch your points, I apologize, may I know if you have some specific questions related to RDB2 itself?
Regarding to the SPI, there are 6 SPI interfaces in S32G2,(not included the 4 SPIs in LLCE), but most of the pins for SPIs are multiplexed, as shown below on RDB2, only SPI1 is relatively easy for use.
If you want to use other SPIs, you may reference the S32GRM and S32G-VNP-RDB2_DesignFiles for details, if enabled, some of the functions on the board would be unavailable.(like network interface, etc.)
Best Regards
Chenyin
hi @chenyin_h ,
Thank you for the Response.
My use case is simple i need to operate a normal motor using the S32g VNp RDB2 board.
From the Documentations my understanding is I can use 4 of the GPIN for sending PWM signals as the PINs have FTM enabled in them as the tag on the connector suggests. Can you let me know if these 4 pins have any other functionality internally?
Second Use case is to attach a display SPI,which will simply show some image or text.
Can i use the same 4 Pins for it as in the documentation it says it has the SOUT,SIN values?
Please clarify these points for me.
Thanks and regards,
Athul