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
Associate II

 

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

CSI behavior in STM32CubeMX is inconsistent across versions:

  • In older CubeMX versions(1.64), 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(1.65), 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 (142-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 142-pin package, CubeMX and the datasheet should reflect this to avoid confusion.

    abhinavsingh_0-1761806811238.pngabhinavsingh_2-1761806868893.png

     

     

5 REPLIES 5
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.

Hi @Ghofrane GSOURI ,Thank you for confirming. We're waiting for your response..

Hello @abhinav-singh 

Ticket 220869 has been submitted to the development team for further investigation.
I will keep you informed of any updates.

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.

Hi @Ghofrane GSOURI ,


Could you provide us any update on ticket 220869? This is blocking our team's progress on a critical component.


Thanks,
Abhinav

Hi @Ghofrane GSOURI ,


Could you provide an update on this? Even a brief confirmation that it's feasible would be helpful. If it's not viable, we'll need to evaluate alternative chip options.


Thanks,
Abhinav