cancel
Showing results for 
Search instead for 
Did you mean: 

Why NUCLEO-H753 ADC channel 12 is missing in CubeMX

PeterWangPTD
Associate II

Hi,

    Why NUCLEO-H753ZI ADC channel 12 is missing in CubeMX ?

     ADC channel 12 is in NUCLEO-H753ZI board CN9-9 connector.

     A few other ADC channels are also missing in CubeMX.

    Thanks,

 

Rong

11 REPLIES 11
Karl Yamashita
Principal

How did you determine that CN9-9 is channel 12?

 

If you FIFO doesn't work, then it's called GIGO.
TimerCallback tutorial! | UART and DMA Idle with multiple UART instances tutorial!

If you find my solution useful, please click the Accept as Solution so others see the solution.

In NUCLEO-H753ZI  schematics -    PC3 is connected to CN9-9, which is Channel 12 for ADC1, ADC2 - in the H753 users manual 

Well CN9-9 is PC2 not PC3.

The document clearly shows that only the TFBGA240 +25 package supports channel 12.

The Nucleo board has LQFP144 package.

 

KarlYamashita_1-1752113752517.png

 

 

If you FIFO doesn't work, then it's called GIGO.
TimerCallback tutorial! | UART and DMA Idle with multiple UART instances tutorial!

If you find my solution useful, please click the Accept as Solution so others see the solution.
TDK
Super User

CN9-9 is called "PC3" in the schematic, which is misleading, but it's actually the PC3_C pin, not the PC3 pin. That is the reason ADC1_CH12 is not available--because the chip doesn't have a PC3 pin.

TDK_0-1752117951185.png

 

If you feel a post has answered your question, please click "Accept as Solution".

"Well CN9-9 is PC2 not PC3." - Yes, PC2 is in CN9-9 according to the the schematics, , which is misleading as TDK replied. Thanks

Thanks


@PeterWangPTD wrote:

"Well CN9-9 is PC2 not PC3." - Yes, PC2 is in CN9-9 according to the the schematics, , which is misleading as TDK replied. Thanks


Ok, so you're mislead to believe it was PC2. But where in the users manual did you find PC2 has channel 12?


 

If you FIFO doesn't work, then it's called GIGO.
TimerCallback tutorial! | UART and DMA Idle with multiple UART instances tutorial!

If you find my solution useful, please click the Accept as Solution so others see the solution.

PC2, PC3 are actually PC2_C, PC3_C, which not available in STM32H753ZI

Maybe you should read the whole post.

The OP states PC2 has channel 12. He keeps bringing up the user manual. I'm just asking where he sees PC2 has channel 12.  I've already posted the Nucleo with that package doesn't have channel 12. 

If you FIFO doesn't work, then it's called GIGO.
TimerCallback tutorial! | UART and DMA Idle with multiple UART instances tutorial!

If you find my solution useful, please click the Accept as Solution so others see the solution.