Search found 7 matches

by stefan
Wed Mar 16, 2022 3:32 am
Forum: General discussion
Topic: Blue pill and CANbus
Replies: 18
Views: 12782

Re: Blue pill and CANbus

Hello, Does anyone had problem with receiving CAN message to STM32F1. I have multiple devices on bus, some of them are ESP32(receiving and sending is working), STM32F1(only sending packet is working). CDC is disabled. Core that I am using has added changes to support HardwareCAN library, just to say...
by stefan
Thu Feb 03, 2022 6:57 pm
Forum: General discussion
Topic: Blue pill and CANbus
Replies: 18
Views: 12782

Re: Blue pill and CANbus

djix123 wrote: Thu Feb 03, 2022 1:21 pm Apologies, if this is not the issue - including the compile errors would help with diagnosis.

This is compile error for FastLed example with official core in attachment :
by stefan
Thu Feb 03, 2022 5:37 pm
Forum: Libraries & Hardware
Topic: FASTLED STM32 doesnt compile
Replies: 1
Views: 4898

FASTLED STM32 doesnt compile

:idea: :idea: :idea: :arrow: Does anyone have solution for compiling FastLed (any version) library with official STM32 core? STM32F1 is used

It just flush tons of undeclared classes and function errors, like it doesn't recognize FastLED library at all
by stefan
Thu Feb 03, 2022 5:28 pm
Forum: General discussion
Topic: Blue pill and CANbus
Replies: 18
Views: 12782

Re: Blue pill and CANbus

Yes, disabling peripherals done the same. Regarding LED library (adafruit_dotstar) it compiles with STM32 and Roger's core successfully, but it runs output only in Roger's, on official core compiler output is not flat-lined. I could use FastLed as well instead for my project, but it doesn't compile ...
by stefan
Thu Feb 03, 2022 5:52 am
Forum: General discussion
Topic: Blue pill and CANbus
Replies: 18
Views: 12782

Re: Blue pill and CANbus

Thanks for this clue. I found the way to disable usb clock, so i dont have to care about disabling CDC and serial in settings in matter to have working CAN anymore... void InhibitUSB ( void ){ *((uint32_t*)0x40005c40) = 3 ; // USB_CNTR *((uint32_t*)0x40005c44) = 0 ; // USB_ISTR __HAL_RCC_USB_CLK_DIS...
by stefan
Wed Feb 02, 2022 9:34 pm
Forum: General discussion
Topic: Blue pill and CANbus
Replies: 18
Views: 12782

Re: Blue pill and CANbus

I am already using PB8/PB9 mapping. Problem is somewhere else. Even when i enable CDC and generic Serial, COM port is not shown in Device Manager with this CAN low level code flashed. Something is blocking USB CDC HW serial. I have solution with software serial, but this is only temporary fix. Just ...
by stefan
Wed Feb 02, 2022 12:47 am
Forum: General discussion
Topic: Blue pill and CANbus
Replies: 18
Views: 12782

Re: Blue pill and CANbus

Hello, I'm using this same lowlevel example, and works OK. But having trouble with Serial. When i enable "generic USART Serial support" and "CDC generic Serial supersede", CAN stops working. When i disable these hw serial supports, CAN works fine. Serial printing is important for...

Go to advanced search