Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

use of Timer 1 for enhanced PIC PIC16F1936

Status
Not open for further replies.

jean12

Advanced Member level 2
Joined
Aug 27, 2013
Messages
529
Helped
5
Reputation
12
Reaction score
6
Trophy points
18
Activity points
5,497
Hello there I am using PIC16F1936 on the point where I am,i need to use Timer 1 which provide the scale for Frequency and voltage division/Multiplication for my experiment,I now have difficulty in configuring this PIC to use the Timer 1 as a counter,see the codes below could any one help me to handle more this?

PHP:
BANKSEL T1GCON ;Gate control register for Timer 1 operation
	MOVLW 0XC0
	MOVWF T1GCON
	BANKSEL T1CON
	MOVLW 0X31
	MOVWF T1CON ;Timer one configuration and turn on 
	BANKSEL INTCON
	MOVLW 0XC0
	MOVWF INTCON ;Timer 1 controlling register for operation
	BANKSEL PIE1
	MOVLW 0XC1
	MOVWF PIE1  ;Interrupr enabling bits values

The scale has to be handled for division and multiplication for V/F of an ACIM Motor!!

Thank you!!
 

You're operating the timer with external gate input, fosc/4 clock and 1:8 prescaler.

I haven't the slightest idea how it should work for V/f curve implementation... I would consider PWM setpoint arithmetics.
 

when controlling a three phase bridge(MOSFET IRFP460Z) ,I configured the PIC to operate in half bridge so that the two signals P1A,P1B are feed in one IR2110,and then the output of this is used to control the IGBT of the same bras (line),unfortunately I am not getting the output,when measuring with oscilloscope at the gate of the MOSFET I get the signal ,my bridge is powered at 20VDC,is this right or I am wrong in usage of those controlling signals?

Refer to the circuit of https://tahmidmc.blogspot.com/2013/01/using-high-low-side-driver-ir2110-with.html I made this three time and then I measure the output signal between the source of the MOSFET.

with HIN connected with the HIGH signal from the PIC (P1A) and LIN at P1B;I am using PIC16F1936.

Please advise!!
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top