- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When using CAN register RXSEL to control the ports of P10.2 and P10.3 as CAN02 function:
(1) Does the configuration of RXSEL affect the value of PORTS register, such as the IOCR register of PORTS ?
(2) What happens if there is another program to modify the port configuration of P10.2 and P10.3?
Solved! Go to Solution.
- Labels:
-
AURIX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Charlie,
For (1) , there is a sequence to call setPinMode function and set IOCR register finnally. Please refer to below:
For(2), the programmer should take care of the pin define in the whole project. If another function or task do some pin operations for P10.2/P10.3, the CAN node pins function could be override and leads unknown behavior.
dw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Charlie,
For (1) , there is a sequence to call setPinMode function and set IOCR register finnally. Please refer to below:
For(2), the programmer should take care of the pin define in the whole project. If another function or task do some pin operations for P10.2/P10.3, the CAN node pins function could be override and leads unknown behavior.
dw