Hello! I've a lot of trouble with the second CAN controller on a phytec minimodul with a C167CS. The first CAN Controller works fine, no problems. But when I try to use the second CAN controller, I got nothing on the pins. I tried port 4 (IPC = 0) and also on port 8. The direction for the ports is correct, but the pins seem to be dead (no signal on). When I test the portpins with digital I/O, the work correct. The CAN2 is enabled in SYSCON3. ISR for the 2nd CAN is implemented, 1 transmit message declared. Is there anything more to do? An special bit to set for the second controller? I tried DAVE, to see, if there's something more, but I didn't find anything, which helped me. Maybe someone has a hint or link for me ... Have a nice day! SVEN P.S.: I know the keil/infineon application note, but the all use only the first controller!
hi Sven I am not here to provide help but to ask for it i hope you dont mind.I am using a keil evaluation mode software to program an atmel T89C51CC01 but i am having problems. I got the code for it in the keil/application note but every time i try to run it, it gives the fallowing error message: COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2002 "codigo.obj", "can_drv.obj" TO "DEBUGGER" RAMSIZE(256) *** FATAL ERROR L210: I/O ERROR ON INPUT FILE: EXCEPTION 0021H: PATH OR FILE NOT FOUND FILE: C:\KEIL\C51\LIB\C51FPS.LIB Target not created Do you have any idea why is this happening? Thanx in Advance Miguel
Do you have any idea why is this happening? The Evaluation Kit does not include floating-point support. You have aparently used some floating-point variables or functions in your code. Jon