Using PDO/PDOCLK at same time with Port S SPI in S12ZVM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Using PDO/PDOCLK at same time with Port S SPI in S12ZVM

跳至解决方案
699 次查看
hardydragon
Contributor II

Hello,

 

Is it possible to use code profiling and the spi port S at the same time? I am unable to understand it from the Datasheet.

 

Thanks in advance.

 

Regards,

 

Hardy

标签 (1)
0 项奖励
回复
1 解答
564 次查看
iggi
NXP Employee
NXP Employee

Hi,

Hardly you can find a pin with two simultaneous functions. Two different peripheral interfaces cannot share a pin in the same time. But, for example PAD pin can have double function. It can serve as analog input to ADC and if enabled it can serve as digital input buffer. Still, this is not recommended, to have both digital and analog function.

So for the PDO/PDOCLK pin , if you use this DBG feature, it's better to route the SPI to Port T (if possible of course).

Also there is possibility to use S12ZVM256 derivative which has the option to configure SPI port to pins PS0-4 and so PS5/6 can be used with PDO/PDOCLK.
(expected launch of the S12ZVM256 derivative is planned for October/November this year).

Hope the information helps.


Have a great day,
iggi

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

1 回复
565 次查看
iggi
NXP Employee
NXP Employee

Hi,

Hardly you can find a pin with two simultaneous functions. Two different peripheral interfaces cannot share a pin in the same time. But, for example PAD pin can have double function. It can serve as analog input to ADC and if enabled it can serve as digital input buffer. Still, this is not recommended, to have both digital and analog function.

So for the PDO/PDOCLK pin , if you use this DBG feature, it's better to route the SPI to Port T (if possible of course).

Also there is possibility to use S12ZVM256 derivative which has the option to configure SPI port to pins PS0-4 and so PS5/6 can be used with PDO/PDOCLK.
(expected launch of the S12ZVM256 derivative is planned for October/November this year).

Hope the information helps.


Have a great day,
iggi

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------