- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi. I have a problem with uController CY96F315R. I use CAN and pin P3.0 as input for SENT interface. When I set register PIER3 pin 0 as input and there are pulses on this pin - uController hangs up in several time, if i use pin P2.4 for the same purposes I have no any problems. It is no mention initialize any other periphery or no. I used ONLY PIER3.0 and CAN and only one interrupt (CAN). I tryed to found out where Controler hangs up but it is very different part of program, there is no regularity.
Simple code:
void main(void)
{
DDR02_D22 = 1; // Init Wdt
DDR02_D25 = 1; // Power on
PDR02_P5 = 0;
PIER03_IE0 = 1;
PIER03_IE2 = 1;
while (1)
{
PDR02_P2 = 1; // Feeding Wdt
PDR02_P2 = 0; // Feeding Wdt
}
}
If pulses applied to P3.0 (about 10 kHz) the watchdog resets uC in abou 2 minutes
- Labels:
-
16-bit
-
Other Legacy MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Can you please share your schematics to the check the connection of CAN and also can you please share waveform to help in finding if there is any issues.
Best Regards,
Ronak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
waveforms (P3.0)