I need to dynamically configure the CAN controller ID at init time via software. Not able to see an API call that does this.
Thanks!
Solved! Go to Solution.
Yes, you can use CAN_TxBufConfig() or/and CAN_RxBufConfig() functions. For more details see component datasheet and how they are used in can.c (in CAN_RxTxBuffersConfig() function) file from Generated_Source.
Yes, you can use CAN_TxBufConfig() or/and CAN_RxBufConfig() functions. For more details see component datasheet and how they are used in can.c (in CAN_RxTxBuffersConfig() function) file from Generated_Source.
Hi dodo_4647966,
In addition to LiDo_2439176 points, we believe what you are looking for is a basic mail box. Please refer to CAN_Basic_P4_Example and CAN_Full_P4_Example code example. PSoC Creator > File > Code Example
Regards,
Bragadeesh