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.

TMS320F28035: SPI Communication

Part Number: TMS320F28035

Hi,

Currently we are using TI Microcontroller (TMS320F28035) for controlling the DC motors. We are interfacing through CAN communication. Two CAN communication used. Once is inbuilt CAN driver and another one is using MCP25625-E/ML via SPI mode. I'm trying to interface with the  MCP25625. After powering up and configured SPI communication in controller, I'm sending Reset and Read CAN status register commands via SPI communication. But I am not receiving any data in MISO line. It was staying idle HIGH. Kindly help me to resolve this. I had attached the transmission sequence of CAN status register read image and Schemtaic. Kindly support us to resolve this issue. 

image.png

 

image.png

rtaImage.jpg

Kindly refer it and support us to resolve it.

 

--Thanks & Regards,
T.Sriram 

  • Hi Sriram,

    I will look into your question and get back to you in 1-2 days.

    Best Regards,

    Delaney

  • Hi Sriram,

    Apologies for my delayed response. To clarify, you are using the SPI module on the F2803x, is that correct? If the F2803x is configured as the SPI master device, the MISO line would be generated by the MCP25625 device. You will have to debug this from the MCP25625 side, it looks like from the scope shot the F2803x is behaving as expected? Make sure the sequence being done by the F2803x MOSI line complies with the MCP25625. If the F2803x is not behaving as expected based on your software, let me know and I can help with that.

    Best Regards,

    Delaney

  • Hi Delaney,

    Thank you for the response. Yes you are correct F2803 used as a Master. We will check from MCP25635 side. Please suggest you if you any possibilities to solve this. Thank You.

    Regards,

    Manimekalai Sriram

  • Hi Sriram,

    My suggestion would be to check the MCP25625 datasheet specs and ensure they comply with the F2803x SPI specifications here. Also check the MCP25625 datasheet to see if the pattern of data being sent by the F2803x is what the MCP25625 expects. Some slave devices require a unique packaging structure.

    I will close this thread but please feel free to make another if you have any questions specific to the F2803x.

    Best Regards,

    Delaney