I am facing the problem of data integrity, the logic is something as shown below i am taking the CAN rx data from the interrupt and processing in while loop.
uint8_t g_candata_u8=0;
int main(void)
{
Initilializations();
while()
{
if(CanMess...
I have been trying to resolve the issue for receiving the CAN interrupt but not able to find the root cause.Hardware is a custom board micro is STM32F405RGT6 i am using CAN1 for CAN communication with 500 Kbps.Able to transmit message CAN message usi...
Yes surely the naming is wrong it is not a data integrity of the CAN communication, it is my handling of data. Any example available for ring buffer implementation, it will help me.
I think i have not explained the problem clearly enough.Suppose if i receive the CAN data as 90 from the vehicle.The global variable g_candata_u8 is updated in the receive interrupt as 90 from the CAN rx buffer, this is not a problem.But when i am tr...
RS pin of the transceiver connected to PortC pin 1 for can1 and PortC pin 3 is connected to can2 and I made them low using the program. The pins are pulled up by default. I will verify on scope the signals. But at present it is working due to wrong f...