Other Parts Discussed in Thread: DRV8308EVM, HALCOGEN, DRV8308, MOTORWARE, DRV8301
Hi,
I've been trying to interface the Hercules with DRV8308 using SPI. I setup the mibspi in halcogen and the scs. I used a charlen of 8 and a transfer group length of 3 which makes it send 24 bits. I played around with the baudrate, but I can't seem to consistently read or write to the drv8308evm. Sometimes I was able to read parts of it. Looking at the waveform output on the oscilloscope, it was sending the correct bits and seemed to be right. I've tried adding delays between each buffer transfer; however, it seemed to make no difference? It would be really helpful if someone has example code or indicate the mistakes I am making. Thank you