pc mode mc3phac

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

pc mode mc3phac

342 Views
afonsodomingos
Contributor I

Hello everyone

 

I´m new to this chip.

At the moment I´m trying to configure the mc3phac to work with a microcontroler.

Fist just to test it I´m using a pickit 2 on uart mode to communicate with it.

As datasheets saysi follow this order:

 

Send a reset command:

2B E3 10 00 30 DD

 

Send pwm frequency

2B E3 10 00 48 00 c5

answer -> 2B 00 00

 

here I went to read the setup register

2B D0 00 AE 82

answer ->2B 00 E1 1F

 

Then send the pwm polarity

2B E3 10 00 50 00 BD

 

here the chip makes a strange thing, it appear that it went to a reset mode

If read the set up register it says that neither the pwm frequency or pwm polarity are set.

 

read the setup register

2B D0 00 AE 82

answer ->2B 00 E0 1F

 

I don´t understand whats wrong with it..

 

Can some one help on this?

 

Many thanks

Labels (1)
0 Kudos
1 Reply

254 Views
afonsodomingos
Contributor I

Hello

No one can help me??

I would appreciate very much.

0 Kudos