the Problem about SIUL2

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

the Problem about SIUL2

816件の閲覧回数
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 返信

756件の閲覧回数
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 件の賞賛
返信