Hello
We have custom hardware with three ADRV9009 devices. We use the ADI IIO kernel drivers to control the ADRV9009 devices. The design is working for the most part. However, under certain circumstances when setting the LO frequency, the ADR9009 ARM hangs and produces the following dmesg output:
[ 288.518808] adrv9009 spi1.2: ERROR: 247: TALISE_waitArmCmdStatus() failed due to thrown ARM error. ARM time out
[ 288.528998] adrv9009 spi1.2: adrv9009_set_radio_state: failed [ 288.534782] adrv9009 spi1.2: adrv9009_set_radio_state: failed
[ 290.604279] adrv9009 spi1.2: ERROR: 179: ARM Mailbox Busy. Command not executed in TALISE_sendArmCommand()
[ 292.677449] adrv9009 spi1.2: ERROR: 179: ARM Mailbox Busy. Command not executed in TALISE_sendArmCommand()
[ 294.750656] adrv9009 spi1.2: ERROR: 179: ARM Mailbox Busy. Command not executed in TALISE_sendArmCommand()
[ 294.760313] adrv9009 spi1.2: adrv9009_set_radio_state: failed [ 294.766096] adrv9009 spi1.2: adrv9009_set_radio_state: failed
[ 294.771873] adrv9009 spi1.2: ERROR: 439: TALISE_setRfPllFrequency() : Invalid rfpllLoFreq, rfPllLoFreq - TxProfileRFBW/2 must be > 0 (DC)
[ 296.877856] adrv9009 spi1.2: ERROR: 179: ARM Mailbox Busy. Command not executed in TALISE_sendArmCommand()
[ 297.888570] adrv9009 spi1.1: ERROR: 247: TALISE_waitArmCmdStatus() failed due to thrown ARM error. ARM time out
[ 297.898754] adrv9009 spi1.1: adrv9009_set_radio_state: failed
[ 297.904530] adrv9009 spi1.1: adrv9009_set_radio_state: failed
I am going to post a question relating to this issue on the ADRV9009 design support forum.
My question here relates to the ADRV9009 HAL logging.
I have seen in the user guide support for logging with the setLogLevel and writeToLog API.
When this fault happens, I would like to view the log file to see if there is anything useful that could help me diagnose what is going wrong. I have looked through the Linux Talise IIO device driver but I can't seem to find where the actual log file is defined. As a result, I don't know where to look for the log file.
Questions:
1) Does the Linux Talise IIO device driver support logging of ADRV9009 transactions to a log file?
2) Is there something I need to enable or add to the Linux Talise IIO driver to start the logging to a file?
3) If so, where will the log file be located?
Thank you in advance.
Gavin