- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
I found that the CANFD driver API have the flow tow fuction :
Cy_CANFD_ConfigChangesEnable()
Cy_CANFD_ConfigChangesDisable()
They are used to enable of disable the write access to the protected configuration registers,could you tell me Which registers are the protected configuration registers of the CANFD?
If I want to call the Cy_CANFD_SetInterruptMask API to change the configration of CANFD intterrupt,should I call the
Cy_CANFD_ConfigChangesEnable API first?
Solved! Go to Solution.
- Labels:
-
PSoC 6 MCU
- Tags:
- psoc6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Dave_Long .
It is not required to call Cy_CANFD_ConfigChangesEnable() for setting up the interrupt using Cy_CANFD_SetInterruptMask().
Please refer the CY8C62x5 architecture TRM for details on the CAN FD protection configuration registers
Please check section "Access/Set/Reset Properties of Registers Affected by
Configuration Change Enable (CCCR.CCE)" , Pg no 383, in the architecture TRM for details of the register affected by the CCCR.CCE bit.
Bragadeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Dave_Long .
It is not required to call Cy_CANFD_ConfigChangesEnable() for setting up the interrupt using Cy_CANFD_SetInterruptMask().
Please refer the CY8C62x5 architecture TRM for details on the CAN FD protection configuration registers
Please check section "Access/Set/Reset Properties of Registers Affected by
Configuration Change Enable (CCCR.CCE)" , Pg no 383, in the architecture TRM for details of the register affected by the CCCR.CCE bit.
Bragadeesh