DIO Write Channel not working

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

DIO Write Channel not working

ソリューションへジャンプ
355件の閲覧回数
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 件の賞賛
返信
1 解決策
318件の閲覧回数
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 

元の投稿で解決策を見る

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