Hello people,
Has anyone used the SSP interrupt in a 18F MCU?
Actually I mada a project with 3 pics communicating via I2C. And it works very well with 16F877A MCU. Now I want to upgrade it with the pic 18F4525.
I thing i configured well the MSSP module and the interrupts. But it looks like the slave do not go to the interrupt routine...
Here are my configurations:
RCON = $40 ' no IT priority, si BOR
IPR1 = $FF 'High priority to be compatible with 16F
IPR2 = $FF
PIE2 = $00
PIE1 = $08
PIR2 = $0
PIR1 = $0
INTCON3 = $C0
INTCON2 = $F5
INTCON = $C0
Hope someone has the solution... i ll keep trying to make it work.
Thanks.
Najim.
Bookmarks