EzPort timing before configuration has been loaded.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

EzPort timing before configuration has been loaded.

ソリューションへジャンプ
1,236件の閲覧回数
jun_chen
Contributor II

I am trying to program MCF5213 via EzPort, and I found there is a  EzPORT initialization flow as below:

EzPORT initialization:
• EzPORT initialization obey Figure 2.
• Execute the RDSR command and continue only if the FS flag is cleared, this means the internal
flash is not secured.
• Execute WREN command
• Execute RDSR and see if WEN flag is set
• Execute WRCR command sending clock configuration
• Execute RDSR command and wait until the write in progress (WIP) flag is cleared.
• Execute RDSR command and check the configuration register loaded (CRL) flag is set. Verify
CRL is the only flag set (no WEP), otherwise there is an error.

My question is, how much frequency is propriety for Master to send instruction into Slave via EzPort before I set configuration register ?

 

ラベル(1)
1 解決策
1,062件の閲覧回数
TomE
Specialist II

The Data Sheet gives the characteristics in "2.5 EzPort Electrical Specifications". The maximum clock rate is Fsys/2. So it depends on what the default power-on frequency of Fsys is for your hardware.

The Reference Manual Section "16.3.2.1 EZPCK - ExPort Clock" says the same thing, Fsys/2. Except when reading data, and then the maximum is Fsys/8.

I'd start off really slow and see how fast you can get it before it stops working, but only after you get it working on a slow clock first.

Tom

元の投稿で解決策を見る

2 返答(返信)
1,062件の閲覧回数
miduo
NXP Employee
NXP Employee

See below application note on the Ezport programming:

https://www.nxp.com/docs/en/application-note/AN3897.pdf 

1,063件の閲覧回数
TomE
Specialist II

The Data Sheet gives the characteristics in "2.5 EzPort Electrical Specifications". The maximum clock rate is Fsys/2. So it depends on what the default power-on frequency of Fsys is for your hardware.

The Reference Manual Section "16.3.2.1 EZPCK - ExPort Clock" says the same thing, Fsys/2. Except when reading data, and then the maximum is Fsys/8.

I'd start off really slow and see how fast you can get it before it stops working, but only after you get it working on a slow clock first.

Tom