Hi everyone,
I'm new to Altair Embed and I'm currently trying to set up a model for driving a BLDC motor.
The hardware, I'm using is
- LAUNCHXL-F28069M (TI)
- BoosterPack DRV8301 (TI)
- BLDC motor DB41M024030-A with Hall sensors (Nanotec)
I connected the Hall sensors to GPIO 11, GPIO 7 and GPIO 9. I use 3 blocks of eCapture, where I can detect the rising and falling edges of the Hall sensor signals. In order to determine the Hall state, I'd like to detect the edges of these two signals. The edge detection is quite easy realized using a unitDelay block:

This plot shows the output. The first subplot shows the output signals (rising and falling edge) of the eCapture for the first Hall sensor. The second subplot shows the output of the edge detection. Unfortunately some of the edges are not detected. Or is their detection just not plotted?

Do you have any idea, what I did wrong?
Thanks in advance.
Mandy