Posted on November 09, 2016 at 10:08Older parts (F1, L1) have this problem and require a timer to fix it. Newer parts (L4, F4) have support for Modbus and use a programmable idle detect.For the older parts you need to connect a timer input channel ...
Posted on November 08, 2016 at 14:48Basic electronics, P = E x I (power equals voltage times current). That's for a point in time. For energy measure watts (power) over a period of time (hours), which yields watt-hours. That's what the power comp...
Posted on November 08, 2016 at 10:17The reason for two FIFOs is to prioritize incoming CAN messages. Messages arrive in order but the protocol used with CAN determines which messages should be processed first, regardless of when they arrive. For i...
Posted on November 01, 2016 at 03:09For dual CAN you have to specify where the filter bank split occurs between CAN1 and CAN2. I don't use HAL, is this done automatically or do you have to explicitly configure it? It may be you are configuring the...
Posted on November 01, 2016 at 03:03There are several ways to perform date arithmetic. Search on Julian date for examples of handling date only math.Another alternative is to use the C runtime functions in time.h. Convert date and time to a 32-bit...