cancel
Showing results for 
Search instead for 
Did you mean: 

CAN Bus on STM32F303x

gbigden
Associate III
Posted on February 04, 2016 at 11:40

Having a problem getting it to work properly using polling. Reading the STM Peripheral Library PDF it says this:

3. Initialise and configure the CAN using CAN_Init() and CAN_FilterInit() functions.

4. Transmit the desired CAN frame using CAN_Transmit() function.

5. Check the transmission of a CAN frame using CAN_TransmitStatus() function.

6. Cancel the transmission of a CAN frame using CAN_CancelTransmit() function.

Does this mean that after the status says the Tx is OK I then have to cancel the transmission?

#can-bus-stm32f303
1 REPLY 1
Posted on February 04, 2016 at 12:43

It is not a check-list or sequence list, just an enumerate list of points.

To check the status do this...

To cancel a transmitted to this...

You are reading too much into the list, it is not pseudo-code.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..