PDA

View Full Version : DT instant interrupt : names INT for CAN MCU



dip1
- 1st November 2006, 20:45
Hello, Darrel,

Thanks for You replay on my previus question.
All it is ok :pbp2.46 is wrong and pbp2.47 OK when I try to compile my file.

What names for interrupts must I use for CAN function interrupts in pic18f4580 ?

You list of interrupts for 18f 16bit do not contain interrupt names for
can recive,can tranzmit ...rxbo,rxb1 ... and for USB functions in USB 18f, ETHERNET functions in new 18j chips

'Available Interrupt Sources 16-bit
' INT_INT -- INT External, same as INT0_INT
' INT0_INT -- INT0 External Interrupt
' INT1_INT -- INT1 External Interrupt
' INT2_INT -- INT2 External Interrupt
' INT3_INT -- INT3 External Interrupt
' RBC_INT -- RB Port Change
' TMR0_INT -- TMR0 Overflow
' TMR1_INT -- TMR1 Overflow
' TMR2_INT -- TMR2 to PR2 Match
' TMR3_INT -- TMR3 Overflow
' TMR4_INT -- TMR4 Overflow
' TX_INT -- USART Transmit
' TX1_INT -- USART1 Transmit
' TX2_INT -- USART2 Transmit
' RX_INT -- USART Receive
' RX1_INT -- USART1 Receive
' RX2_INT -- USART2 Receive
' CMP_INT -- Comparator
' EE_INT -- EEPROM/FLASH Write Operation
' BUS_INT -- Bus Collision
' LVD_INT -- Low Voltage Detect
' HLVD_INT -- High/Low Voltage Detect
' PSP_INT -- Parallel Slave Port Read/Write
' AD_INT -- A/D Converter
' SSP_INT -- Master Synchronous Serial Port
' CCP1_INT -- CCP1 Interrupt
' CCP2_INT -- CCP2 Interrupt
' CCP3_INT -- CCP3 Interrupt
' CCP4_INT -- CCP4 Interrupt
' CCP5_INT -- CCP5 Interrupt
' USB_INT -- USB Interrupt
' OSC_INT -- Oscillator Fail

Where can i find this names?

Thanks
dip

Darrel Taylor
- 2nd November 2006, 23:24
Sorry,

The instant interrupt system does not support CAN or Ethernet modules.

In this forum, most people can't even figure out how to blink an LED or disable their analog ports. And when they try to use instant interrupts, it suddenly becomes my responsibility to debug their programs for them.

There's no way I'm debugging their attempts at CAN and Ethernet.

Besides, if you're good enough to actually implement CAN or Ethernet, then you don't need DT_INTS anyways.

.