Hi,
I have a question about AM335x Profibus slave application.
Q1.
In AM335x ICEv1 board, I guess GPIO3_19(C13 pin) is being used as pr1_pru0_pru_r30[5]
and it is used as Profibus TX control GPIO, is it correct?
Q2.
If I want to use C13 pin as other function,
is it available to change to other pr1_pru0_pru_r30[n] for Profibus TX Control usage?
Q3.
If Q2 answer is "Yes", which source code of ISDK need to be modify?
In SDK/examples\profibus_slave/APP/am33xx_bsp.c, there are following code in BSP_Init(void).
*************************************************************************************
g_pL2GlobVar->PruTxGpioNum = 5; //pr1_pru0_pru_r30[5] is used as TX GPIO for PROFIBUS
*************************************************************************************
If I'm going to use pr1_pru0_pru_r30[1] as Profibus TX Control GPIO,
do I only need to change the "PruTxGpioNum" value from 5 to 1?
best regards,
g.f.