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.

McBSP interface

Other Parts Discussed in Thread: TMS320F2812

Hi friends,I am new to this field.I have to work on tms320f2812.My task is assigning McBSP interfacing to optical encoder in brushless dc motor.Actually  i have to interface two optical encoders in two Brushless dc motors using the same tms320f2812 processor.First i have to give interface pinouts to Mcbsp interfacing.I found 6 pins are there for interfacing.2 data pins,2 clock pins,&2 frame synchronization pins .What will be the MCLKXA clock speed i can use.My data speed should be 1 Mbps.I am using 19 bit absolute optical encoder.The pin layout for Mcbsp interface to optical encoder post me please if anybody knows.In addition to that any  source code belongs to this please post me.

  • Please note McBSP is a communication port not a control peripheral. If these are standard optical encoders then you should be looking at QEP interface.

  • hi. thanks. the interface to Quadrature Encoder through QEPs is OK. but wht abt absolute encoder with 21 data bits, sending data at 2 Mbps?

  • If you are referring to a 21 bit parallel interface then I don't think you will be able to interface without a signal processing block between your encoder and C2000 controller. If your application demands that level of performance then check out various analog blocks TI offers for these applications. You may also look at using analog to digital converter to measure sine and cosine output to obtain absolute positions but that will be a different interface not the parallel interface.

  • thanks for quick reply.Sir,we need serial interface only,For our absolute encoder output is  rs 232 serial data output.Then how i can i interface qep module to this optical encoder. Please guide me