自发自收,设置发送速率为36M/((1+3+4)*1)=36/8,那接收速率是多少?如果把发送速率降低,接收到数据时,发送数据没有发送完, CAN_InitStructure.CAN_TTCM = DISABLE; CAN_InitStructure.CAN_ABOM = DISABLE; CAN_InitStructure.CAN_AWUM = DISABLE; CAN_InitStructure.CAN_NART = DISABLE; CAN_InitStructure.CAN_RFLM = DISABLE; CAN_InitStructure.CAN_TXFP = DISABLE; CAN_InitStructure.CAN_Mode = CAN_Mode_LoopBack; CAN_InitStructure.CAN_SJW = CAN_SJW_1tq; CAN_InitStructure.CAN_BS1 = CAN_BS1_3tq; CAN_InitStructure.CAN_BS2 = CAN_BS2_4tq; CAN_InitStructure.CAN_Prescaler =1; //不能为零 CAN_Init(CAN1,&CAN_InitStructure); |
RE:stm32的can还回模式,数据发送接受速率
RE:stm32的can还回模式,数据发送接受速率