Hi.
I already used internal ADC at XC164CS, but it has 10 bit resolution ADC. On my project, I have to get a current -250A to 150A with shunt monitor at Battery Management System(BMS). In case of 10bit ADC, there are a lot of error. Therefore, I should to use external ADC with SPI communication. But I don't know how to start. I may select 14bit ADC of TI or Analog Device, e.g, TLCL3548, ADC7856. Any one help me how to use, where to ge example source or etc..
Thanks Andy!
Actually I mean it does not need to measure precisonally in high current range, but it is important to measure exactally in low current range such as -5A to +5A.
I woud like to thanks for your opinion of ADC, But I really want to know is SPI programming with XC164CS. Especially, how to transfer command and receive data between controller and external ADC with SPI.
"how to transfer command and receive data between controller and external ADC with SPI"
That will be in the Datasheet for the ADC;
And the Manufacturer's Website is the place to look for Application Notes, sample code, and other specific support information...
Thansk Andy!
I already followed your suggstion a few days ago! I think it takes time to have my own skill because I'm a beginner for SPI.