DIO Write Channel not working

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

DIO Write Channel not working

Jump to solution
359 Views
beginner100
Contributor II

I have an NXP S32K312 EVB and I am trying to set a pin high all the time. For this, I have followed the steps mentioned in this article - https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Interacting-with-Digital-Inputs-Outputs-on...

I want to use PTA 28 and this is how it is configured in NXPS32CT.

schitta_0-1750107412629.png

Here's the view of Pin configuration "Dio_Pins_MBDT" for PTA28

Also, tried setting the Initial value of Pin to High as shown in snippet

schitta_1-1750107513939.png

 

In the simulink model, I'm simply using a data store memory block to write a value of 1 

schitta_2-1750107611403.png

I do not see the pin actually going high with this setup and config. When I measure voltage, it is about 0.13 V and also tried to probe the same pin but it always stays low. Please let me know what I could be missing. Thanks!!

0 Kudos
Reply
1 Solution
322 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

do you have Port component configured as well as article showed?
Further I can recommend to check respective SIUL2 MSCR and GPDO setting in the debugger.

BR, Petr 

View solution in original post

1 Reply
323 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

do you have Port component configured as well as article showed?
Further I can recommend to check respective SIUL2 MSCR and GPDO setting in the debugger.

BR, Petr