I am using TMS570LS1224 micro controller .and demo circuit 1941D and LTC6813 ic.
i am trying to read voltage .but i am able to read voltage of only few cells.
so, what should i do.
I am using TMS570LS1224 micro controller .and demo circuit 1941D and LTC6813 ic.
i am trying to read voltage .but i am able to read voltage of only few cells.
so, what should i do.
Hi,
You might want to check Cell Selection for ADC Conversion(CH) bits in ADCV command. These bits perform selective conversions of some channel.
Regards
Hi,
You might want to check Cell Selection for ADC Conversion(CH) bits in ADCV command. These bits perform selective conversions of some channel.
Regards
I have done .but same things is happen.
Please review my code once5618.spi3_integr_test.zip
hi sgarg,
i am waiting your reply.
Hi Gautam,
have you tried to verify if there is no issue in hardware? can you run the basic linduino code using an arduino to check the hardware performance?
To verify your code please refer to this link
Regards
Yes i have checked with STM32F429 development board.
it is working fine.
Hi Gautam,
Can you check SPI settings. TMS570LS1224 controllers might have different convention for the settings.
The SPI communication required by LTC681x should be 8 bit, Also, can you please try with POL.PHA(0,1) due to different conventions of your uC.A similar issue has been resolved due to these settings.
Hii Sgarg,
i have checked POL,PHA with all possible combination.
like 01,10,11,00
but if i do like this some cell voltage is coming like POL=0,PHA=1. and POL=1,PHA=0
and i already converted 32 into 8.i have sent you code in zip file.please can you review once.
spiSendData(spiREG3,&dataconfig1_t,tx_len,tx_Data);
if i put tx_len=4,then it is not working. here output is 0.000 like that.
but if tx_len=6 this is working.
working means i received same output which i have inserted.
Hi Gautam,
If you could just put specific part of the code which needs to be reviewed than it is okay with me.
the TX length for read command would be 4 bytes only. RX length of the data would be 8 bytes. Please ensure that IC is in wakeup state before you send the command.
Are you getting any PEC error for this data? Is it possible for you to check this on DSO and confirm the clock and CS patterns this is an unusual behavior and not possible from AFE side. Just to rule out other possibilities can you send clear cell register command before each ADCV and then confirm the values.
if i Put TX length for read command is 4 bytes.
It is not working.
when i put more and equal to 6 then it is working.
this is the file.
and i didn't understand about.
Is it possible for you to check this on DSO and confirm the clock and CS patterns this is an unusual behavior and not possible from AFE side.
and i have checked with LTC6813_clrcell(); command before adcv.but it 's still not working.