Quantcast
Channel: Motor drivers forum - Recent Threads
Viewing all articles
Browse latest Browse all 13272

DRV8301: SPI Communications Problems

$
0
0

Part Number:DRV8301

Hello,

I am currently working on a BLDC motor controller project using the DRV8301. The chip works great, except I can quite seem to be able to correctly communicate with DRV8301 via SPI. While I am receiving data back on the MISO line, the data does not make much sense to me. Figure 1 below shows a screen capture of the communications.

Two Frames of SPI Data

The MISO reply from the DRV8301 is 0x7E00. One part of this response is promising, no frame error bit (bit 15)! However, the reply states the address (contained within bits 14:11)  is 0x0F. This doesnt seem to be possible since the DRV8301 only has 4 registers (addresses 0x00 to 0x03). What is equally worrying is that no matter what address I request in the previous MOSI frame, the DRV8301 replies with same confusing message.

I have read other posts on the forums related to SPI connection issues when interfacing with the DRV8301. As far as I can tell, I am not having the same issues as they are. I have also read the datasheet top to bottom a number of times, but found nothing related to my problem.

Any advice would be appreciated! 


Viewing all articles
Browse latest Browse all 13272

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>