I’m back on this again after a break.
I created another project in ac6 with SPL drivers, then copied over the drivers from the zubax source, and left cmsis from the created project. The startup file calls SystemInit from “system_stm32f37x.c” supplied in the source. hwInit is called from the supplied main.h, then swInit. The can timings computed are bit_rate_prescalar = 2, bit_segment_1 = 7, bit_segment_2=1,max_rescynchronization_width=1.
It does not transmit or recive anyhting.
When attempting to transmit it gets stuck in sendCanard() while (txf) loop.
canardSTM32Transmit() always returns 0 , meaning it didn;t transmit anything and keep it stuck in the while loop.
For first call we get result 1, then after always 0 for canardSTM32Transmit
Inside the function tme = false,true,true
isFramePriorityHigher returns 0 and then the function exits wuth return code 0.
There is a mailbox whose priority is higher or equal priority of the new frame.
This is always returned.
I have a zubax babel connected to the other end running uavcangui which of course doesn’t show any messages incoming. I have checked the termination resistor is on for the uavcan gui babel device.
Is there anymore info on how to get this project to run?
Any clues or more debug required to find the problem?