DM300022 Microchip Technology, DM300022 Datasheet - Page 52
![MODULE PWR DSPICDEM MC1L LV 3PHS](/photos/24/9/240947/4421255_sml.jpg)
DM300022
Manufacturer Part Number
DM300022
Description
MODULE PWR DSPICDEM MC1L LV 3PHS
Manufacturer
Microchip Technology
Specifications of DM300022
Main Purpose
Power Management, Motor Control
Embedded
Yes, MCU, 16-Bit
Utilized Ic / Part
dsPIC33FJxxxMC
Primary Attributes
3-Phase Low Voltage Power Module
Secondary Attributes
Motion Sensor Inputs: Hall Sensors or Optical Encoder
Silicon Manufacturer
Microchip
Silicon Core Number
DsPICDEM MC1L
Kit Application Type
Power Management - Motor Control
Application Sub Type
3 Phase Motor
Silicon Family Name
Piccolo
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
dsPICDEM™ MC1L 3-Phase Low Voltage Power Module
DS70097A-page 46
;start ADC convertion on ch2, which has now finished aquiring
finish_conversion
;need a min 4us delay before starting next acquire
;begin to transmit value from channel 2 |VAC|_SENSE
;set up ADC to begin sampling channel 0
bsf
bcf
bsf
btfsc BYTE_TO_SEND,3
bsf
bcf
bcf
bsf
btfsc BYTE_TO_SEND,2
bsf
bcf
bcf
bsf
btfsc BYTE_TO_SEND,1
bsf
bcf
bcf
bsf
btfsc BYTE_TO_SEND,0
bsf
bcf
btfsc ADCON0,GO
goto
movf
movwf BYTE_TO_SEND
bcf
bsf
btfsc BYTE_TO_SEND,7
bsf
bcf
movlw 0x41
movwf ADCON0
bcf
bsf
btfsc BYTE_TO_SEND,6
bsf
bcf
ADCON0,GO
GPIO,SDO
GPIO,SCK
GPIO,SDO
GPIO,SCK
GPIO,SDO
GPIO,SCK
GPIO,SDO
GPIO,SCK
GPIO,SDO
GPIO,SCK
GPIO,SDO
GPIO,SCK
GPIO,SDO
GPIO,SCK
GPIO,SDO
GPIO,SCK
finish_conversion
ADRES,W
GPIO,SDO
GPIO,SCK
GPIO,SDO
GPIO,SCK
GPIO,SDO
GPIO,SCK
GPIO,SDO
GPIO,SCK
;send bit 3
;send bit 2
;send bit 1
;send bit 0
;send bit 7
;Fosc/8, A/D enabled channel 0 selected
;begin sampling ch0 BUS_SENSE
;send bit 6
© 2003 Microchip Technology Inc.