Hi,
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.
Hi,
Hi Praveen,
Thanks for your reply. Please find my answers quoted below:
Praveen Aroul said:Hello Dhaval,
Could you be more specific about the family of AFE44xx device? Is it AFE4400 or AFE4490 or AFE4403?We are using AFE4400.
I would like to know more about your test setup.The device is connected to PC Software via BLE and we are controlling it using BLE commands. The write command to turn LED ON/OFF is send over BLE and the firmware, after receiving command from BLE, does the write operation using SPI write operation. The write operation is executed after every 7 seconds and this cycle is executed for many times. after 10-15 successful write operations ( sometime 4-5 ), AFE stops responding.
Are you running your test on TI evaluation module or on your custom board?We are running the test on custom board.
If it is on your custom board,
1. What is the LED configuration? Is it common anode or H-bridge?H-Bridge
2. If there is a way to disconnect the LEDs from TXP, TXN pins, could you repeat the test with the LEDs disconnected?We repeated the test after disconnecting the LED. The results are same.
3. What is the SPI clock frequency?SPI is running on 4MHz clock.
4. What happens if you run your test on another register? For example: TIMEREN bit of CONTROL1 register or PDNTX bit of CONTROL2 register. This will also give you a visual indication by turning on/off the LEDs.The result is same after doing the above mentioned condition
5. What are your other register settings?Can you please let me know the exact registers you want the configuration for?
Could you elaborate on the context for running this test? Is there any significance for 7 seconds?No there is no such significance for 7 seconds. We are doing this test to make sure the AFE is working correctly.
I emulated the test on both AFE4400SPO2EVM and AFE4403EVMand I did not notice any deviant behavior.We would like to know about your setup. How many times you executed the write cycle?
Hello Dhaval,
I am guessing the issue could be due to the BLE communication or the BLE data parser in your firmware.
To eliminate the above, could you implement the test in your firmware directly and verify if the issue still occurs?
I used the AFE4400SPO2EVM with the EVM PC GUI to run the test. The finger clip pulse oximeter sensor was connected to the DB9 connector. I created a script to execute the test and ran the loop (Write LED1 on + LED2 off, read LEDCNTRL register, delay for 7 secs, LED2 on + LED1 off, delay for 7 secs, read LEDCNTRL register) 10 times.
If you would like to run the tests on the EVM, here is the procedure.
1. Start the GUI.
2. click on Scripts, followed by Launch Macro Window on the Menu bar.
3. This will open a python editor. To open the attached script, click on File, followed by Open.
4. To execute the script, click on Run, followed by Run Module or press F5.
5. This will open a python shell prompt. You can view the results in the shell prompt.
Hi Praveen,
We have resolved the issue where AFE was hanging. It was happening because interrupts was enabled during configuration. After disable the interrupts during register configuration it is working fine.
But still we need to verify that it is configuration all the register correctly. I will do that and keep you posted on the same.
Thanks,
Dhaval