cancel
Showing results for 
Search instead for 
Did you mean: 

Clarifying the PSSI Interface of the STM32N657

Neuraleanus
Associate II

I would like to connect a 12-bit ADC operating at 10MSps to the PSSI interface of the STM32N657 device.  There is some confusion as to the nature of the clock source. The reference manual indicates that this may be either an input or an output.  If configured as an output, what is the source of the clock?  Examples suggest that a PWM timer needs to be used.  Here is an illustration of what I would like to do:PSSI Interface.jpg

Do I need to use the PWM timer as the clock source?

1 ACCEPTED SOLUTION

Accepted Solutions
KDJEM.1
ST Employee

Hello @Neuraleanus ;

 

No, there isn't. The PSSI_PDCK pin must be connected to a clock source pin like as MCO pin, timer pin… 

You can look at these examples may help you to use PSSI:

I hope my reply answer your request?

If your request is answered, please click on Accept as Solution on the reply which answered your question.

 

Thank you.

Kaouthar

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.

View solution in original post

5 REPLIES 5
KDJEM.1
ST Employee

Hello @Neuraleanus and welcome to the community,

 

As mentioned in RM0486, the PSSI_PDCK can be configured in input mode (default) or in output mode. When
configured in output mode, the clock is generated by the device RCC.

KDJEM1_0-1776094508417.png

 

Also, I recommend you to look at Overall FAQs for PSSI - STMicroelectronics Community, this article provides answers to frequently asked questions regarding Parallel Synchronous Slave Interface (PSSI), listing a known limitation and includes a list of useful resource links.

 

I hope this answer your request.

 

Thank you.

Kaouthar

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.

Ok, assuming that the RCC may be used to configure the PSSI clock, PSSI_PDCK, this is what I see in the clock configuration of STM32Cube:

PSSI_Clock_source_in_RCC.jpg

How does this signal drive the PSSI clock?  MC01 and MC02 have been mentioned, but are grayed-out:

 MC01 and MC02.jpg

How may the RCC be configured to drive the PSSI clock pin?  Is there a tutorial on configuring the RCC?

Does this have anything to do with PSSI_PDCK:

RCC Mode.jpg

KDJEM.1
ST Employee

Hello @Neuraleanus ;

 

You need to enable the MCO in the Pinout  Configuration.

Then choose the clock source and configure the MCO1 frequency.

Finally, connect PSSI_PDCK pin to MCO pin.

Please look at this How can I output a clock signal to the STM32’s MCO pin? may help you to configure the MCO.

 

Thank you.

Kaouthar

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.

Ok, I now have two possible solutions:

1.  Use a PWM timer and wire the PWM output externally to the PSSI_PDCK pin.

2.  Use either MCO1 or MCO2 to drive one of the MCO clock outputs and wire this pin to the PSSI_PDCK pin.

Is there a third option where I drive the PSSI_PDCK internally?

KDJEM.1
ST Employee

Hello @Neuraleanus ;

 

No, there isn't. The PSSI_PDCK pin must be connected to a clock source pin like as MCO pin, timer pin… 

You can look at these examples may help you to use PSSI:

I hope my reply answer your request?

If your request is answered, please click on Accept as Solution on the reply which answered your question.

 

Thank you.

Kaouthar

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.