2013-07-22 06:39 AM
The question is related with the command word under the SPI protocol title. In this protocol uC should sent the command word to start protocol but I can not find the structure of this word. In datasheet the CFG_REG and DIA_REG registers are mentioned. But I can not understand the relationship between command word and those registers. If those register are sent instead of the command word, what we will be read? Could you help me?
2014-02-02 10:24 AM
The information you need is reported in the datasheet. The paragraph 3.3 depicts the SPI protocol structure and in the paragraph 3.4 is reported the information about the SPI timing.
2014-07-11 12:47 AM
2014-07-16 01:54 AM
Dear Mr. Juntak Mean,
can you share more detail about your application? Is the DC motor connected to the L9958 outputs? Thank you. Best regards, Marco.2014-07-24 12:31 AM
Dear Mr Marco,
yes the motor DC connected to L9958 outputI use Microcontroller 16 bit(with SPI 16 bit) for control L9958,send command for rotated left nd right is ok,but when comunicated via SPI how to know if our configuration setting to L9958 is OK/save, what is the parameter..?Thank You,Best Regards,mean2014-07-29 10:05 AM
Dear Mr. Juntak Mean,
Config Register: bit 14 and 15 must be Low Diag Register: if the device works properly, all bits must be Low; if the bridgeisenabledbit 7 is H. To read back the Diag Reg value is necessary to send the Configuration word continuously(command ''N''), the diag register will be available after the command N+1. Attached some scope snapshots: the current limiter was set to max (both bit 2 and 3 are H). Best regards, Marco Brugora ________________ Attachments : DiagReset_Bit_H.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzGP&d=%2Fa%2F0X0000000bIz%2Fe.eewihtapcp8DbjfzTDrBdGY9Z0qaOqbfDsGwXzbpU&asPdf=falseDiagReset_Bit_H_short.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hz5d&d=%2Fa%2F0X0000000bIy%2F95qSgAs8FXFWDdRZsauRQo8L5vYWMTIcCThChO7n1Bs&asPdf=falseDiagReset_Bit_H_UV.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzC0&d=%2Fa%2F0X0000000bIx%2FUsYDtvfr.7jdVxXZnG5gMd8qW.gWCn6jjBpNERoLIXk&asPdf=falseDiagReset_Bit_L_ok.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hz7U&d=%2Fa%2F0X0000000bIv%2FA_yDSgBU0xdGm4KoAmCfjEeU1EC1.BR.JpQKrQoUj6k&asPdf=falseDiagReset_Bit_L_short.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzGF&d=%2Fa%2F0X0000000bIw%2FF9adjczmitNJuEcsU1hchSWQC3LsRU52jki1Z9hj.jw&asPdf=falseDiagReset_Bit_L_UV.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hz6u&d=%2Fa%2F0X0000000bIu%2Ffge0RZwuSdSpgBQTquFrqmbI03svh838_iHFQbH5O3g&asPdf=false2014-07-30 01:08 AM
Dear Mr. Juntak Mean,
please check the document TN0897 ''ST SPI protocol'' Best regards, Marco Brugora