where is the EVDD(high current output) pin control block?

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

where is the EVDD(high current output) pin control block?

1,737件の閲覧回数
byeongjinkim
Contributor II

how can i control evdd pin configuration?

not find control block

0 件の賞賛
返信
3 返答(返信)

1,164件の閲覧回数
Daniel_Popa
NXP Employee
NXP Employee

Hi Byeongjin Kim,

For MC9S12ZVMC128 the EVDD pin can be set as output via Digital Output Block. According with Reference Manual the EVDD1 is available on microprocessor Pin 61: PP0/EVDD1/...

EVDDPin.JPG

This pin is a high current, low voltage drop output intended for supplying external devices in a range of up to
20mA. Configuring the pin direction as output automatically enables the high current capability.

I hope this is what you are looking for.

Best regards,
Daniel

0 件の賞賛
返信

1,164件の閲覧回数
byeongjinkim
Contributor II

pastedImage_2.png

is this right?

and then, where is over current detection configuration?

pastedImage_1.png

pastedImage_3.png

0 件の賞賛
返信

1,164件の閲覧回数
Daniel_Popa
NXP Employee
NXP Employee

Hi Byeongjin Kim,

The diagram is ok. That will set the pin to high state.

In respect with your questions "where is over current detection configuration" i'm afraid that such configuration is not supported via the toolbox.

It will be unpractical for such toolbox to support all the possible combinations and feature of such microprocessor. The MBD toolbox focus is to support the main configurations and to allow user the flexibility to achieve complex scenarios by leveraging the Matlab options.

Inline with the observation above - there is a simple way to address such additional configurations with the help of Matlab/Simulink. Using S-functions you have the possibility add custom C-code into any Simulink models. All you have to do is to write a small routine to configure the registers you are interested in.

Please have a look over these tips&tricks:

https://community.nxp.com/thread/449904#comment-900775 

https://community.nxp.com/thread/449904#comment-901737 

There is also a topic that describe step-by-step the procedure:

About Code generation in the Model Based Software 

Hope this helps!

Best regards,
Daniel

0 件の賞賛
返信