Other Parts Discussed in Thread: INA240, MSP430FR5969
Please share the Evaluation software for PGA400-Q1.
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.
Please share the Evaluation software for PGA400-Q1.
Hello Sandhya,
If you are asking for the GUI, I have attached a copy of the installation file:
If you are in need of example firmware, here some very basic firmware source code for you to start from:
Hello Sandhya,
A hex file is compiled firmware that can be programmed to the OTP of the PGA400. We do not have a full firmware solution with a hex file for distribution. Are you using a specific TI design that you are looking for the firmware for?
Scott,
We are using TIDA-03040 design and we flashed the hex file to PGA400-Q1 through SPI from its respective GUI.
We received a hex file from Mr.Sandeep Tallada.
Though PGA400-Q1 is programmed, IIt'snot generating the Reference voltage (VOUT2).
Hope you understood our issue.
Sandhya
Hello Scott,
We flashed an example hex file and went through the procedure as you explained above.
The EEPROM was also updated through SPI mode since the OWI connection was not getting established.
We tried giving known current to the TIDA-03040 and did not receive any voltage variation at the output side.
PGA400-Q1 is not generating the reference voltage (2.5V) for INA240.
Mr.Sandeep Tallada shared a hex file with us and we tried flashing the code.
But GUI was showing "UNSUCCESSFUL".
Can you please share the hex file for PGA400-Q1?
Thank you,
Sandhya
Hello Scott,
We connected TIDA-03040 to PGA400-Q1 EVM (No PGA400-Q1 IC on EVM) through SPI.
We connected VP_OTP pin of PGA400-Q1 to 7.5V.
The above connection worked for the sample hex file and the IC was successfully programmed.
But it didn't work for the hex file shared by Sandeep.
Regards,
Sandhya.
Hello Scott,
Sandeep's full name is Mr. Sandeep Tallada.
We are trying to contact him over Emails but he is not responding.
Sandhya
Hello Sandhya,
The PGA400 program memory is one time programmable (OTP). You cannot reprogram the same device. When the GUI says that the programming was successful, all it does is check that the memory contents match the contents of the hex file you are loading. If it was already programmed with something, and you try to program the same thing again, nothing will happen, but it will still say that it was successful.
You need to program Sandeep's hex file onto a brand new PGA400 device.
Regards,
hello scott cummins ,
where i can find this topic related flashing the hex file only one time in OTP memory of pga400-q1 , can you share the details .
i can study clearly regarding this so that we cannot flash hex file once again and damage the IC
Hello Scott,
We purchased a brand new PGA400-Q1 and flashed the code provided by Sandeep.
Memory verification went unsuccessful.
I have attached the code.
Hello Scott,
We purchased a brand new PGA400-Q1 and flashed the code provided by Sandeep.
Memory verification went unsuccessful.
I have attached the code.7384.pga400_code_shared_by_sandeep.rar
Hello Scott,
Did you try the hex file?
Is there any update?
Regards,
Sandhya
Hello Scott,
We successfully loaded the firmware in PGA400-Q1.
VOUT 2 is giving 2.5V as the reference voltage to INA240.
Can you please share the formula to calculate the current values?
The datasheet shows a table with sensor reading and FS accuracy calculations but we are unable to find the formula to calculate the current.
Regards,
Sandhya
hello scott sir ,
We previously connected 50 u ohm to pga400 , so as per your suggestion we removed 50 u ohm and replaced 100 u ohm shunt resistor .
But we facing few problems.
with no load conditions , I am seeing 2.48250 to 2.47561 values fluctuating .
so as per formula previously shared , Output V = 0.004*current + 2.5V , current value is -5 to -2 A . but current i applied is 0 .
so now i applied a charging current 0.16 A , but no change in the value of Vout
I also tried discahrge current -0.33 A , no change in the value.
please suggest a solution
Hello Scott,
We are using 100UOhm to test TIDA-03040 board.
With no-load conditions, we are getting values between 2.48250 to 2.47561.
As per formula previously shared, Output V = 0.004*current + 2.5V, for the no-load condition the current value is -5 to -2 A .
When its applied with lower currents, the output is not showing any variations.
For 3.5 A current, we are getting 2.458182V and when calculated with the formula, the current values are not matching.
Can you suggest any solution to get correct values?
Regards,
Sandhya
Hello Tom ,
As per your suggestion ,
I had rechecked the values of PGA input , INAOUT amd Vout of PGA .
As per my observation ,
In the No load condition ,
on the Vcc pin of INA 240 and PGA 400 , getting 5.00 v . As per your suggestion , the value is 4.99 v .
on the Reference pin of INA240 ,getting 2.51 v.
on the Inaout pin of INA240 , getting 2.51 v. but as per your suggestion , I should get 2.50 v
on the output pin of PGA400 i.e Tida -03040 , getting 2.48 v . But as per your suggestion ,the value of output should be 2.500 V .
If the PGA400-Q1 output voltage is not 2.500, then there is an offset coming through the INA240 which can be calibrated. .
How to calibrate PGA to get PGA output for 2.500 V under no load condition .?
In the Next step , i applied the 0.16A charging current to battery , discharging current of -0.4 A value of TIDA -03040 output is same as under no load condition .
But I observed a change in the value when 3.2 A is applied to TIDA-03040 .the output i observed is 2.452 v .
Is this is problem with Hex file of PGA400 -Q1 ?
Sir , I have a very less time line to complete this task . please suggest a solution with 100 u ohm shunt with TIDA -03040 to proceed further rather than choosing 250 u ohm shunt .
pga400_hex_file.rarHello Tom sir ,
I referred every document related to TIDA-03040 i.e PGA400-Q1 Ic , PGA400-Q1 Evm sheet .
Sir As per my concern is I am observing TIDA-03040 output is not fine under Ideal condition i.e getting 2.4722 v i should get 2.500v as per discussion .
Is this problem with PGA400 Ic in TIDA-03040 ?
Is INA 240 output is fine ? As per my previous declaration .i.e getting 2.51 v on both reference pin and INAOUT pin .
I uploaded the Hex file for PGA400 which is shared by Sandeep Tallada (author of TIDA-0340 ). I attaching the hex file for your reference .
Sir , I followed steps as per TIDA-03040 document ,
but I am unable to understand or proceed the steps 5 ,6, 7 which is Calibrate ADC , Calibrate DAC , Calculate Coefficients. In this steps document says put Tida -03040 in temperature chamber . I don't have that facility . Is this steps are mandatory ?
I able to Write and read EEPROM Bank values as per document as per steps 8 to 11 .
Unable to find where I am Mistake ?
Hello Tom sir ,
Also today checked the attenuation section ( i.e 1/4 ),
the value is getting divided by 4 .
Both reference voltage and INA Out values is getting divided by 4 and supplied to PGA VIN1P and VIN1N.
Under ideal condition , the value is 0.64 v (i.e 2.51 /4 ) as the value given to PGA VIN1P and VIN1N.
Hello Tom sir ,
Sir Firstly as per my concern is , the output of TIDA-03040 should be fine under ideal condition .
As per TIDA-03040 , the output should be 2.4500 v under ideal condition , but I am getting 2.4722 v .
Is this not a problem ?
sir , i am asking that , Is any steps are missing from my side regarding tida-03040 .
Is this problem with hex file of PGA400 .
Hello Tom Sir,
waiting for your response
We have spent so much of time in figuring out the design and still no output. According to your response, the hex file is the problem. Will you be able to help us with a tested hex file? The person (Mr.Sandeep Tallada) who shared is no longer responding.
Or
Can you connect us to someone who has already worked on the design ?
Or
please suggest a solution from TI which might give proper values without going through this much issues?
Since we have a very less to complete the project, hope you will be able to help us with any of the above options.