Hi all, I have two stm32l476RG nucleo boards connected via transceivers. Each of them works fine in loopback mode. however none receives messages of the other in CAN_MODE_NORMAL. I'm using a simplistic code ported from STM32L476G-EVAL HAL examples...
Posted on June 28, 2018 at 13:29Hi all,I'm trying low power modes of the STM32. I've noticed that HAL_PWREx_EnterSTOP2Mode synopsis mention that: * The voltage regulator is set in low-power mode but LPR bit must be cleared to enter stop 2 mo...
The issue is here:HAL_CAN_AddTxMessage(m_can, &TxHeader, txData, (uint32_t *)CAN_TX_MAILBOX0);CAN_TX_MAILBOX0 will be the value that HAL_CAN_AddTxMessage will return and not an address you give. try:uint32_t mail_box;
HAL_CAN_AddTxMessage(m_can, &TxH...