This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMCS1108: TMCS1108

Part Number: TMCS1108

Hi there, I am using a bidirectional motor and bought the TMCS1108A3B to measure our current off of the motor. I am not sure if I am using the equations from the datasheet right as I do not get the IN LINEAR MEASUREMENT RANGE from table 5-1 and I have been confused about how to include the swing to supply and ground into the input current equation. How do I calculate these values? equations 20 and 21 show how to find In max + and In max - but I don't understand how to calculate properly for In. I am attaching two images of equations I wrote out to try and figure out In from the current sense chip. Can someone tell me what I am doing wrong? 

https://drive.google.com/file/d/1C3KhoOqdKtS8W7_VbiKb9LlsFcTOKSo_/view?usp=sharing

https://drive.google.com/file/d/1NjpaiqysOnEmyTXm9s08IutF34x3Rpkb/view?usp=sharing