Using SSP 1.2.1 it isn't possible to decrease the maximal number of 32 CAN-mailboxes. Independent from the settings in "Number of Mailboxes" in the configurator the genereted line 42 in "hw_can_private.h" always contains
"#define CAN_MAX_NO_MAILBOXES (32U)"
But because only the number of the mailbox numbers selected in the configurator were preconfigured with valid values for the mailbox-type the initialization of the mailboxes failed calling CAN_HAL_open().
At the moment I use as workaround the manual correcture of the defined value from "(32U)" to "(8U)" in the header file additionally to the entry of "8" in the configurator to be able to use a reduced number of mailboxes.
Are there any hints how to force the configurator to generate the correct define?
↧
issue on configuring the maximal number of CAN-mailboxes with the Synergy Standalone Configurator
↧