the Problem about SIUL2

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

the Problem about SIUL2

819 次查看
zhangah
Contributor II

Hello,

    My cpu is 5748G.Now we user the first core Z4_0.

    I try to use the PIN of PH7 as GPIO with the direction of output.So I implement the SIUL2 setting as following:

pastedImage_2.png

     After Generating Processor Expert Code,we can find the C code about PH7 like following:

pastedImage_1.png

      I can actually set the pin of PH7 to output high or low.But when I use the reset command(the function:SystemSoftwareReset),the pin of PH7 will output low,No matter I has set the pin of PH7 to output high before the reset command.I should avoid the condition.Could someone give me some guide to solve this problem?

Thanks very much.

标记 (1)
0 项奖励
回复
1 回复

759 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hi,

The reset will put pins into it default reset state and new initialization is needed.

The reset also resets SIUL module.

Please see IO spreadsheet for reset values.

pastedImage_1.png

regards,
Peter

0 项奖励
回复