Set K60 M3 pin as VREF_OUT

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

Set K60 M3 pin as VREF_OUT

1,589件の閲覧回数
Teckna
Contributor V

Hi,

i'm using MQX 3.8, CW 10.2 and a custom board based on K60N512.

 

I should set M3 pin of K60 as VREF_OUT mode but i don't find the way.

What are instructions to do it?

 

Can you help me?

 

Thanks!

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

1,356件の閲覧回数
c0170
Senior Contributor III

Hi teckna,

 

where is the problem?

Chapter 37 describes Voltage Reference and it's registers. Use bareboard approach to set registers

 

Regards,

MartinK

0 件の賞賛
返信

1,356件の閲覧回数
Teckna
Contributor V

Hi Kojto,

 

my problem is not setting voltage reference but how set the pin M3 for VREF_OUT configuration.

M3 pin has 4 possible configuration:

1)VREF_OUT

2)CMP1_IN5/
3)CMP0_IN5/
4)ADC1_SE18

 

It's not a PTx pin, then i can't use bit ALT to set its configuration.

 

Regards,

Teckna

0 件の賞賛
返信

1,356件の閲覧回数
c0170
Senior Contributor III

Hi Teckna,

 

M3 pin is dedicated output. Just leave default settings (ALT 0) and enable VREF module and necessary registers and it should be running.

 

Regards,

MartinK

0 件の賞賛
返信

1,356件の閲覧回数
Teckna
Contributor V

Hi Kojto,

 

in my application VREF module is disabled.

 

My VREF_OUT signal is driven by  an external voltage reference source via the VREF_OUT pin.

 

I want to be sure that in my condition M3 pin configuration is as VREF_OUT but i am not able to find its configuration register.

May  you indicate me the register?

 

Many Thanks.

 

Teckna 

0 件の賞賛
返信