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

MCF8315C: Application Note

$
0
0
Part Number: MCF8315C
Other Parts Discussed in Thread: MCF8315EVM

Tool/software:

Hello,

Has an application note been created for this device yet? I have successfully implemented motor control using the MCF8315EVM, but am now wanting to move to using my own microcontroller. I am having a hard time compiling the appropriate commands using only the data sheet as a reference. Specifically, I am trying to determine what I2C command is needed in order to set the desired motor speed. When I connected an oscilloscope to the SCL and SDA pins, I was able to observe the following data stream when setting the motor speed to 100% via the motor studio GUI.

1000 EC00 00FF FF

I believe the below breakdown of the data stream is accurate, but cannot account for the "00" that is immediately before the "FFFF"

10 - target ID of 1, with the I2C write bit appended

00 - OP_R/W = 0, CRC_EN = 0, DLEN = 0 (16-bit data length), MEM_SEC = 0

EC00 - MEM_PAGE & MEM_ADDR

00 - UNKNOWN????

FFFF - 100% DIGITAL_SPEED_CTRL + OVERRIDE

Can someone help me understand where the extra "00" came from?

Thanks!


Viewing all articles
Browse latest Browse all 14309

Latest Images

Trending Articles



Latest Images

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