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.

OPT9221 boot

Other Parts Discussed in Thread: OPT9221

I have a OPT 8241 CDK EVM, which I am tring to control with a STM32 microcontroller (disabling the FX2) but I can´t boot the TFC.

I have already removed B21, B23, R35 and R37. From my microcontroller I have been able to read from and write to the PMIC and the INA226 sensors.

I am fedding the TFC with a 48 MHz clock, already took care of the reset, sleep, ready and tfc_cez pins. (Sleep=0, ready=1, tfc_cez=0). I toggle reset according to the OPT9221.

According to the BOOT0 / 1 / 2 pins of the OPT9221, the TFC is configured in boot master mode, right? The problem is that I don´t see that the TFC boots. The blue led does not turn on, there is no activity on the output pins and the I2C does not respond. In my circuit I am not using any of the TIC lines of the J2 external connector because I understand that I should control them only when trying to program another firmware for the TFC.

From what I have understood, the TFC firmware is loaded from the W25Q40BWSN memory. When I check the chip select, miso, miso and clk pins of this memory I see some activity every 100 ms. It stays there like in an infinite loop, like trying to read this memory.

Could there be something I have forgotten? Or something else that I should do?

Thanks in advance.

César Carballido.

  • Hi César ,

    Can you please tell us if the CDK was working before you made soldering changes on the board?

    Regards,
    Subhash
  • Hi Subhash

    Thanks fot your reply.

    The CDK was working beforethe soldering changes. I have discovered that the problem was the SYSCLK_IN. With a stable clock, the TFC now boots.

    I could boot the OPT9221 and set all the registers. To begin, I am using the phy_test in order to get known and fixed data. But after approximately one minute, only reading, the data stops,, and sometimes the TFC boot leds just turns off.

    Do I need to be always setting any of the OPT9221 registers in order to keep it alive? Or should it work continuously without any setting via I2C?

    Thank you

    César.
  • Hi Subhash

    There is another problem I have.
    When I test the TFC with the PHY_TEST the data is not 100% consistent

    For the segment that I should receive 0-15 I get 0 - 0 - 3 - 3 - 13 - 13 - 15 - 0 - 0 - 3 - 3 - 12 - 12 - 15 - 15.... and so on. The problem seems to be with D3 and D0 bits. When I check those 2 bits with an oscilloscope there is no signal in any of them (I am cheking them in the FFC connector of the kit).

    Is there something else that I could try to check this two output pins?

    Thank you

    César.

  • Hi César,

    This might be a fault with your wiring. Is it still an issue or have you already discovered the cause?

    - Anand