Other Parts Discussed in Thread: TMS320F28035
Hi,
I am using TMS320F28035 DSC for BLDC motor control application. I have configured GPIO 09 as HRCAP1 pin. BLDC Motor will run on HALL commutation method. HALL-B sensor output is connected to HRCAP1,which will generate interrupt on every rising edge and elapsed time will be used to calculate the motor speed.
To drive BLDC motor i need to read HALL -B state to find out whether it is 1 or 0 to determine HALL state.
I am able to see HALL - B data(1 or 0) on GPIO -09 data register.
Since GPIO 09 is configured as HRCAP1 wether it is ok to read the data through GPIO -09 data register.? Is it a valid way to read the data through GPIO data register when same pin is configured to do HRCAP1 functionality ?
Earliest response will be appreciated.
Thanks & Regards,
Vedant