This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28379D: parallel port support

Part Number: TMS320F28379D

Hello,

We have a setup similar to the dual motor setup mentioned in this manual:

www.ti.com/.../spraco3.pdf

In addition to this , a master controller talks to each motor(the F28379D MCU) via two 8 bit parallel data buses, I see that the uPP module in the F28379D would be ideal , but i see that there is only one present in the F28379D and support for all future devices may not be available (https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/894187/tms320f28379d-connection-between-fpga-and-tms320f28379d-with-upp-or-emif)

Is it possible to use the emif module as a parallel port? Is there a reference driver available ,which i can use as my starting point...

Thanks,

Arun

  • Arun,

         Can you please provide more details on "parallel port"? What is the EMIF connected to?

  • Hello Hareesh,

    At the moment  we don't have any physical connections yet,

    The external MCU which will finally connect to the F28379D gives out some data via 8 bit data buses. 8 bits to control each motor separately. This cannot be changed unfortunately.

    The 8 bit data for each motor will contain direction reference , start/stop command and some position calibration data.

    We were exploring the possibility on how best to interface this with the F28379D MCU, to use either the uPP module or the EMIF module to accomplish this task? or weather is it even possible to use the EMIF module for this task?

  • So, the external MCU will be the master and would always be the one sending data to the 28379D via EMIF? IOW, the direction of data flow will always be from the external MCU to the 28379D? 

  • You are trying to use another MCU as the master and 28379D as the slave. EMIF is not designed to work that way. i.e. EMIF is the peripheral which always starts the transaction (i.e. it is the initiator) and cannot work with an external host. It is for this reason we designed a new module called Host Interface Controller (HIC), but it is not available in 28379D; it is available in F280049.

  • Yes, the external MCU is the master and the 28379D is the slave Direction of data is always from master to slave.

    I see, thanks for the clarification on the EMIF module. The only other option i can think of is to just poll/interrupt the 16 GPIOs to check for any change in data?, Maybe offload this task to the second CPU so as not to disturb the Fast current loop running on CPU1.

  • Yes, what you are proposing is feasible.