We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I'm experementing with the MCB2300-board. I have to use two capture-modules but the second doesn't take the Interrupt.s
Can I use every timer to load the capture2? -Or must I use the timer2?
When more than one timer may be used to directly drive a feature, the data sheet has to show the relevant registers to configure - these registers will then have bits to specify which timer to use.
In short, whenever a feature is used, you have to check which registers to configure, and what possible values there are for all the bits in the registers.
I think you mean the T[0/1/2/3]CCR. In moment Timer1 works with Capture1.1. But I can't take Capture0, because the net will be used from the LCD panel too. So I use the CAP2.1
I think everything with my initializing is wrong!? :
PCONP = 0; // all Power off^ PCONP |= 0x00680FFE; // I2S-MODUL off, Timer2 on // rest as default PINSEL0 = 0x00000C00; PINSEL3 = 0x000000C0; VICVectAddr26 = (unsigned long)druck_lisr; VICVectAddr5 = (unsigned long)temp_hisr; VICIntEnable = (1 << 26); VICIntEnable = (1 << 5); VICVectCntl26 = 0xF; VICVectCntl5 = 0xE; T2TCR=1; T2CCR=0x00000140; T1TCR=1; T1CCR=0x00000028;
Perhaps there can't be used two capture-modules on the MCB2300?
You may simply dis-mount the LCD panel to free-up the I/O pins.
yes, but I need the LCD panel. in short: I have a board with sensors for atmosphere pressure and for temperature. I Have to measure both and to show it on the LCD Panel.