DSP

Is it possible to have access to eCAP register with VisSim

Hi,

I want to read an optical fork mounted on a drive shaft with VisSim, and I want to estimate speed and position of the drive shaft. Using eCAP I can have access to the time between two rising edges of the fork signal, which gives me the speed (I use VisSim F280X eCAP module, which works well). Having access to the eCAP register would allow me to directly estimate the position (angle).

Is it possible to have access to the eCAP register with VisSim, and how ? I put some details in the attached drawing, to explain what eCAP register means for me.

Thanks,

ADC block for F280x

Hello! I´m trying to use the analog input of a DSP. I use the block showed in the pannel Vissim/DSP----->F280x blocks----->analog/digital input. I configure that block like an analog input in the chanel 0 and target board 0. I use a TMS320F28335, and the datasheet show that ports 5 and 9 are the analog inputs (from ADCINA0 to ADCINA7 and ADCINB0 to ADCINB7). I use the pin 1 of the port 5 and the pin 2 of the port 9, but the DSP doesn´t recognize my input. So, where is the problem? Do I use an incorrect block? Or may I configure other parameters? Thank you in advance.

Syndicate content