I'm configuring the DSPI port to read the data from a hall sensor through SPI. For the sensor itself, I need to send out a write command through MOSI and then read the data back through MISO. Attached is my model.
I have talked to the halls sensor supplier technical support and confirm that 0xFFFF is the right signal I should send out as a read command, but I'm still not reading the proper data back. The read message is always a constant however I turn the shaft whose angle I'm trying to measure. Can anyone please help me take a look at the model? Is it doing the correct thing I'm expecting it to do?
Thank you so much!
Original Attachment has been moved to: dspi_2015a.slx.zip