About a setup of the FB_BE signal of kinetis using PE

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

About a setup of the FB_BE signal of kinetis using PE

跳至解决方案
1,055 次查看
george
Senior Contributor II

Hi all,

I am doing the same question to TIC.

However, since there is no response, it posts also here.

I am sorry to crosspost.

My customer is using Processor Expert of CodeWarrior v10.2.

The device is using kinetis PK60DN512VLQ10.

The CPU component of Processor Expert chose MK60DN512VLQ10.

Although they set up the external bus, the byte access signal (FB_BE23_16_b, FB_BE32_24_b) is not outputted from their evaluation board.

In Processor Expert, it is a name of BWE2 and BWE3, and the port is assigned to PTC16 and PTC17.

Port size 16bit of CS0 and Byte mode are Enabled.

CS0, ALE, OE, and RW It is outputted correctly.

I do not understand, although Processor Expert was changed into Advanced and Expert mode and the setting item was seen.

Please let me know the setting item for making FB_BE output.

It seems that there is no setup of FB_CSPMCR anywhere although the generated code (cpu.c, other files) was checked.

The signal of FB_BE was outputted when the following description was inserted in Cpu.c at the experiment.

FB_CSPMCR = 0x02200000; // multiplexing control for FB_BE.

It seems that therefore, it is right except a setup of FB_CSPMCR.

Please let me know the correct setup which generates the code for making FB_BE output using Processor Expert.

Best Regards,

George


0 项奖励
回复
1 解答
898 次查看
vfilip
NXP Employee
NXP Employee

Hello,

I have reproduced it and passed this issue to the developers. The fix of initialization of FB_CSPMCR reg. should be  published within production version of CW V10.3.

For now, do you need a hot-fix for that problem or the workaround described in your post is sufficient for you?

We are sorry for the inconvenience.

best regards

Vojtech Filip

Processor Expert Support Team


在原帖中查看解决方案

0 项奖励
回复
4 回复数
899 次查看
vfilip
NXP Employee
NXP Employee

Hello,

I have reproduced it and passed this issue to the developers. The fix of initialization of FB_CSPMCR reg. should be  published within production version of CW V10.3.

For now, do you need a hot-fix for that problem or the workaround described in your post is sufficient for you?

We are sorry for the inconvenience.

best regards

Vojtech Filip

Processor Expert Support Team


0 项奖励
回复
898 次查看
george
Senior Contributor II

Filip-san,

Thank you for the response.

I ask my customer whether it is BE output which my customer expects.

Is cpu.c appropriate for the file which adds a setting of FB_CSPMCR reg?

Please let me know an appropriate file and the place in a file.

Best Regards,

George

0 项奖励
回复
898 次查看
vfilip
NXP Employee
NXP Employee

Hello,

I would rather recommend put the code into user module (example below). The Cpu.c is re-generated within each code generation action.

int main(void)

{

  /* Write your local variable definition here */

  /*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/

  PE_low_level_init();

  FB_CSPMCR = 0x02200000;

}

best regards

Vojtech Filip

Processor Expert Support Team


898 次查看
george
Senior Contributor II

Dear Filip,

Thanks,

I will report my customer it.

Best Regards,

George

0 项奖励
回复