SW4STM project of source gets stuck in tx loop

I have tried a lot to get the code stuck in a tx loop where nothing ever happens.
Each way I try to make the project the same thing happens.
It looks like the CAN port is not working although startup code is calculating timings fine with a 18Mhz clock source. I really need some help to move this forward, otherwise I’ll have to drop this code and try something else that will work. If there are samples on another stm processor I could try that, but I assumed this would be easiest to get one up and going for evaluation.
I’m using the sample code with a SW4STM project and can builid and debug it fine, but attempt to write always nevers suceeds and gets stuck in a loop waiting for the first byte to go out.
Rx won’t read anything either.