SEMC_CLK_ROOT divider question

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

SEMC_CLK_ROOT divider question

跳至解决方案
825 次查看
EdSutter
Senior Contributor II

Referring to iMXRT1060 Reference manual CCM Clock Tree...

The diagram shows a divide-by-3 function that supposedly is in the CBCDR register.

It refers to CBCDR[AXI_PODF] field, but the description of the CBCDR register doesn't have any AXI_PODF field.  Does this divide-by-3 block exist?  If so what register is it controlled in?

Ed

0 项奖励
1 解答
801 次查看
mjbcswitzerland
Specialist V

Ed

This is how it looks in the 1021 user's manual:

mjbcswitzerland_0-1603384533252.png

 

And in the Clock Root Generator section

mjbcswitzerland_1-1603384592604.png

Compared with the 1052/1062/1064 diagram:

mjbcswitzerland_2-1603384651503.png

As can be seen both feed AXI_CLK_ROOT, AKA SEMC_CLK_ROOT but for some reason the 1052/1062/1064 version has the register mask names set to axi rather than semc.

All occurrences of AXI_ in the CBCDR register should therefore be SEMC_ (so yes, replacing AXI_PODF with SEMC_PODF is the solution).

Regards

Mark

 

在原帖中查看解决方案

3 回复数
820 次查看
mjbcswitzerland
Specialist V

Hi Ed

I am pretty sure that the 105x..106x user's manuals mix up the names in this register, whereas the 1021 has of correctly.

The AXI_CLK_ROOT is "also" called SEMC_CLK_ROOT and there are three fields in that register that control this path. In the clock root generator they are referred to as
axi_alt_clk_sel, axi_clk_sel and axi_podf

but in the register description the are named
SEMC_ALT_CLK_SEL, SEMC_CLK_SEL and SEMC_PODF

I have used these on 1021, 1052, 1062 and 1064 to control the path and also SDK examples use these names in their header files.

Therefore I think the diagrams in the 1050 and 106x user's manuals are a bit at fault since they use the AXI name instead of the SEMC name, which then doesn't correctly match with the actual register field names.

Regards

Mark
[uTasker project developer for Kinetis and i.MX RT]
Contact me by personal message or on the uTasker web site to discuss professional training, solutions to problems or product development requirements

 

0 项奖励
811 次查看
EdSutter
Senior Contributor II

Thanks Mark,

Just to be clear, in the case of the 1062's clock tree diagram, when looking at the clock tree..

 

EdSutter_0-1603379980281.png

 

AXI_PODF should be replaced with SEMC_PODF.  

Correct?

0 项奖励
802 次查看
mjbcswitzerland
Specialist V

Ed

This is how it looks in the 1021 user's manual:

mjbcswitzerland_0-1603384533252.png

 

And in the Clock Root Generator section

mjbcswitzerland_1-1603384592604.png

Compared with the 1052/1062/1064 diagram:

mjbcswitzerland_2-1603384651503.png

As can be seen both feed AXI_CLK_ROOT, AKA SEMC_CLK_ROOT but for some reason the 1052/1062/1064 version has the register mask names set to axi rather than semc.

All occurrences of AXI_ in the CBCDR register should therefore be SEMC_ (so yes, replacing AXI_PODF with SEMC_PODF is the solution).

Regards

Mark