the Problem about SIUL2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

the Problem about SIUL2

546 Views
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.

Tags (1)
0 Kudos
1 Reply

486 Views
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 Kudos