cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N657Z0H3Q - Inconsistent CSI-2 behavior in CubeMX (virtual lanes in older versions, no lane configuration in newer versions)

abhinav-singh
Visitor

 

We are using the STM32N657Z0H3Q (176-pin TFBGA package).

CSI behavior in STM32CubeMX is inconsistent across versions:

  • In older CubeMX versions(16.4), CSI lanes (CSI_D0P/N, CSI_D1P/N, CSI_CKP/CKN, CSI_REXT, etc.) are displayed in the Pinout view, but these signals are not actually assignable to physical pins. They appear as virtual pins only.

  • In newer CubeMX versions(16.5), CSI is still listed in the peripheral view, but no CSI lane pins are shown at all. 

In case, the generated .ioc file contains only virtual signals:

VP_CSI_VS_CSI.Mode=CSI
VP_CSI_VS_CSI.Signal=CSI_VS_CSI
VP_DCMIPP_CSI.Mode=SerialInterface
VP_DCMIPP_CSI.Signal=DCMIPP_CSI

On hardware, when connecting a CSI-2 camera, the following is observed:

  • DCMIPP and CSI registers initialize correctly,

  • no LP-to-HS transition on the supposed CSI pins,

  • ClkAct remains at 0,

  • CSI interrupts never trigger.

This behavior strongly suggests that the CSI-2 D-PHY pins are not bonded out on the STM32N657Z0H3Q package, even though CubeMX and the datasheet ballout diagrams appear to indicate CSI signals.


Questions / Clarifications Needed:

  1. Is CSI-2 (D-PHY) physically bonded on the STM32N657Z0H3Q (176-pin) package?

  2. If CSI-2 is only exposed as a virtual peripheral on this package and no pin assignment is possible, how is the CSI interface expected to be configured or used on this device?

  3. If CSI-2 is not available on this package, please confirm which orderable part numbers or package variants support CSI-2 with bonded D-PHY lanes.

  4. If CSI is not supported on the 176-pin package, CubeMX and the datasheet should reflect this to avoid confusion.

    abhinavsingh_0-1761806811238.pngabhinavsingh_2-1761806868893.png

     

     

1 REPLY 1
Ghofrane GSOURI
ST Employee

Hello @abhinav-singh 

I'm currently checking your questions . I will get back to you asap with answers .

THX

Ghofrane 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.