--
You received this message because you are subscribed to the Google Groups "UAVCAN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uavcan+unsubscribe@googlegroups.com.
To post to this group, send email to uav...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/uavcan/bf5bc584-db61-414d-ae97-1865901c56b9%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "UAVCAN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uavcan+unsubscribe@googlegroups.com.
To post to this group, send email to uav...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/uavcan/45f04be5-02cf-4c00-91b0-5f21fb4d2831%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to uavcan+un...@googlegroups.com.
To post to this group, send email to uav...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to uavcan+unsubscribe@googlegroups.com.
To post to this group, send email to uav...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/uavcan/7ef29da3-372a-485d-a3f4-412098d1b612%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to uavcan+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/uavcan/bc578f56-fdab-4282-9055-bff8ef47501d%40googlegroups.com.
Sorry!I eventually used the STM32F10x_can.c file from the STM library to configure the filter.This has two routines, CAN_Init and CAN_FilterInitFor the life of me I can't find filter config code in the STM32 driver shipped with the library.I have://to set up the MCR, MSR and BTR registers,CITD.CAN_TTCM = DISABLE;CITD.CAN_ABOM = ENABLE;CITD.CAN_AWUM = ENABLE;CITD.CAN_NART = ENABLE;CITD.CAN_RFLM = DISABLE;CITD.CAN_TXFP = ENABLE;CITD.CAN_Mode = CAN_Mode_LoopBack; // Also tried Normal with a seond deviceCITD.CAN_SJW = 1;CITD.CAN_BS1 = 9;CITD.CAN_BS2 = 7;CITD.CAN_Prescaler = 4;CAN_Init(CAN1, &CITD);//Then the filter registers are set up with thisCFITD.CAN_FilterFIFOAssignment = 0;CFITD.CAN_FilterIdHigh = 0x1400; // The CAN ID is 0x14000202CFITD.CAN_FilterIdLow = 0x0202;CFITD.CAN_FilterMaskIdHigh = 0x1400;CFITD.CAN_FilterMaskIdLow = 0x0202;CFITD.CAN_FilterMode = CAN_FilterMode_IdMask;CFITD.CAN_FilterNumber = 1;CFITD.CAN_FilterScale = CAN_FilterScale_32bit;CFITD.CAN_FilterActivation = DISABLE; // Neither enabled nor disabled worksCAN_FilterInit(&CFITD);I have to be close!!
To view this discussion on the web visit https://groups.google.com/d/msgid/uavcan/bc578f56-fdab-4282-9055-bff8ef47501d%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "UAVCAN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uavcan+unsubscribe@googlegroups.com.
To post to this group, send email to uav...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/uavcan/d86528a8-e1bf-41e6-9179-9defbac4ba4a%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to uavcan+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/uavcan/d0d8f25d-90a9-48ca-b89f-692d2dd073f9%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to uavcan+unsubscribe@googlegroups.com.
To post to this group, send email to uav...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/uavcan/2d502420-3130-43c2-bf49-9734fd38b868%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "UAVCAN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uavcan+unsubscribe@googlegroups.com.
To post to this group, send email to uav...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/uavcan/69212a1e-b831-49fd-872a-c308bce33f67%40googlegroups.com.
UAVCAN is designed to be a higher-level solution than J1939, which makes it a better choice for modern robotic systems. Depending on your specific task at hand, that may be either helpful or the opposite of that.Could you perhaps describe your application and tell us why do you think J1939 would suit it better? I might be able to offer some advice.Pavel.
On Fri, Mar 2, 2018 at 2:27 PM, David Pawlak <da...@prec-design.com> wrote:
I'm contemplating converting to J-1939 format for a particular application I need.From what I can tell, there are some relatively simple differences. Perhaps the UAVCAN is even more efficient that J-1939, but unfortunately I need the latter for a project.I'll be starting rearranging the bits of the CAN 29 bit identifier and tagging the CRC after the data.What were the particular guidelines you used for the UAVCAN design over the J-1939 format. Are there hidden difficulties that I'll run into?
On Tuesday, January 16, 2018 at 6:32:06 PM UTC-3, David Pawlak wrote:There is a LOT of information about the CAN bus. As I'm just getting started, (several days) I'm still a little dizzy from all the information.I am starting with CANARD, which is a little lighter. I have it loaded and it compiles. (Replaced CANARD_ASSERT because it calls _abort()which gives me 3 dozen "not resolved" link errors. I do a while(1) on the non.assert condition so that my WDT trips. (for now)Problem is that I call "canardBroadcast" (with ID = 1) but I don't see any data on TX, Both TX and RX are high. Perhaps the hardware configuration is not 100% correct yet.The broadcast should transmit without being "polled" as long as the line levels are resessive (right?). I'm just debugging and don't have thebus connected to anything, the TX and RX data lines are read (with a scope) direct from the CPU.Another question, with respect to DSDL and the Data Type Signature, if I have a Tx and an RX and I make up my own DSDL or make up my own Data Type Signatures,and treat the data as I know the other will deal with it, there should be no problem right? It won't be compatible to anything else, but there is no restriction physically to doing this?
--
You received this message because you are subscribed to the Google Groups "UAVCAN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uavcan+un...@googlegroups.com.
To post to this group, send email to uav...@googlegroups.com.
I don't think J1939 uses additional integrity checks, unless I'm misremembering its specs. Seems like you're confusing the CAN layer with higher level protocols. The RTR bit and frame integrity checks are managed by the can controller hardware, not software.
Pavel
21:50, March 2, 2018, David Pawlak <da...@prec-design.com>:
To view this discussion on the web visit https://groups.google.com/d/msgid/uavcan/8771c4e4-54e7-433a-a59b-38e6a1dc85bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to uavcan+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/uavcan/3ee5845c-e66d-4b30-a78f-ad45664481d0%40googlegroups.com.