Other Parts Discussed in Thread: HALCOGEN
Hello,
I am currently using the RM48L952 to communicate with the LTC6804 battery monitor, using the LTC6820 SPI to isoSPI converter. I am trying to get back SPI messages from the battery monitor, but I am getting nothing but FF's in the receive buffer. I was hoping you could take a look at my code and provide some insight on what I may be doing wrong.
I am using the HalCoGen 04.06.01 code generation tool to create the SPI communication functions. Attached is a .c and .h file for my own functions to interface with the battery monitor, as well as my Halcogen project file and both the LTC6804 and LTC6820 datasheets.
Any help would be greatly appreciated.
Thank you,
Johnny5707.battery_monitor.zip