Other Parts Discussed in Thread: BOOST-DRV8711, DRV8711
Tool/software:
I'm trying to read the registers of a 8711 on a BOOST-DRV8711 eval board using a STM32C011. STM32 SPI is set up as a master, full-duplex, 16-bit datasize, clock polarity high, clock phase 2nd edge, and pull-up on MISO (SDATO). SCLK frequency is 1,5MHz. SCS is set high 7,3us before first SCLK pulse and 15us after last SCLK pulse.
SCS, SCLK, SDAI output from STM32 on read of registers corresponds to DRV8711 DataSheet Figure 18, but default register values on SDATO does not correspond to what DataSheet specifies. And if I first write to register and then read back, then the bits written don't show up.
The first thing that strikes me is that output on SDATO when reading is not acc.to Figure 18 where SDATO (MISO) should be high (inactive) the first 4 bits. But my traces show that SDATO is pulled low on falling SCLK edge after READ-bit has been clocked.
Below trace when trying to read CTRL register default value 0x0C10, but returned value is 0
I can see that other users has problems with reading registers, where it is suggested that 8711 is broken. But if I instead read TORQUE register (default value 0x01ff) then I get 0x003f. See trace below. So it seems like 8711 is outputting something. Question is what? And why not the TORQUE register value.
Regards
Mats