Search found 509 matches

by Tabulous
Thu Mar 09, 2023 6:14 pm
Forum: STM32 Support
Topic: STM32WB55 USB Support
Replies: 9
Views: 1974

Re: STM32WB55 USB Support

Giovanni wrote:What is the size of the binary file?

Giovanni


CSRC = $(ALLCSRC) \
$(TESTSRC) \
usbcfg.c main.c

output binary is 99,628 bytes

CSRC = $(ALLCSRC) \
$(TESTSRC) \
main.c usbcfg.c

output binary is 99,636 bytes


there is a size difference
by Tabulous
Thu Mar 09, 2023 5:59 pm
Forum: STM32 Support
Topic: STM32WB55 USB Support
Replies: 9
Views: 1974

Re: STM32WB55 USB Support

Hard to tell, it is possible there is a problem on the flash loader, some parts could not be loaded properly. It is not about code anyway, check the .map file and the loaded image using the ST flash tool. Giovanni using STM32CubeProgrammer results in the same issue. so this says to me its is someth...
by Tabulous
Thu Mar 09, 2023 4:55 pm
Forum: STM32 Support
Topic: STM32WB55 USB Support
Replies: 9
Views: 1974

Re: STM32WB55 USB Support

so if have the make file like this USB second port hand faults # C sources that can be compiled in ARM or THUMB mode depending on the global # setting. CSRC = $(ALLCSRC) \ $(TESTSRC) \ usbcfg.c main.c If i switch main.c and usbcfg.c around in the build order it now works # C sources that can be comp...
by Tabulous
Thu Mar 09, 2023 3:02 pm
Forum: STM32 Support
Topic: STM32WB55 USB Support
Replies: 9
Views: 1974

Re: STM32WB55 USB Support

mmmm

so one port works ok, and the other throws _unhandled_exception when trying to connect via tera term.

STM32WB supports upto 16 endpoints, just wondering if the USB driver supports 16 ?

KR
by Tabulous
Tue Mar 07, 2023 10:35 am
Forum: STM32 Support
Topic: STM32WB55 USB Support
Replies: 9
Views: 1974

STM32WB55 USB Support

Hi
is the USB on STM32WB55 supported ?

I've run the P-NUCLEO68 demo and used the F4xx-USB-CDC_IAD USB files and this sort of works.
Two COM ports are enumerated but only one works.

KR
by Tabulous
Mon Feb 27, 2023 12:21 pm
Forum: STM32 Support
Topic: STM32WB55
Replies: 3
Views: 1334

Re: STM32WB55

FXCoder wrote:Hi,
Only the main core is supported (these is no IPCC, HSEM, CPU2 control, etc.).

--
Bob


Hi Bob,
thanks for the reply, was there any specific reason for not supporting them, or was if more down to time ?

KR
by Tabulous
Wed Feb 22, 2023 3:41 pm
Forum: STM32 Support
Topic: STM32WB55
Replies: 3
Views: 1334

STM32WB55

Hi
I can see back in 2020 support was added for the WB55. Did the drivers to enable interface to ST BLE stack get implemented ?

KR
by Tabulous
Tue Oct 18, 2022 11:18 am
Forum: STM32 Support
Topic: STM32G071 ADC Start
Replies: 11
Views: 2454

Re: STM32G071 ADC Start

FXCoder wrote:Just OR the >> 20 result with 1 before left shift 4?


Whatever you do, it has to ensure 20us delay for all clock settings.
by Tabulous
Mon Oct 17, 2022 2:39 pm
Forum: STM32 Support
Topic: STM32G071 ADC Start
Replies: 11
Views: 2454

Re: STM32G071 ADC Start

That timing loop doesn't play nicely with 1MHz (0xF4240) STM32_HCLK. It runs out of bits in the >> 20. just for now ive hard coded it NOINLINE static void adc_lld_vreg_on(ADC_TypeDef *adc) { osalDbgAssert(adc->CR == 0, "invalid register state"); #if defined(ADC_CR_ADVREGEN) adc->CR = ADC_...
by Tabulous
Mon Oct 17, 2022 1:53 pm
Forum: STM32 Support
Topic: STM32G071 ADC Start
Replies: 11
Views: 2454

Re: STM32G071 ADC Start

changed the code below so i could see what STM32_HCLK value is. STM32_HCLK with my settings, as above is 1000000. Thus 1000000 >> 20 would equal zero....... so its plain to see why the loop var is 4.2billion iterations. This code to to create a delay(datasheet tADCVREG_SETUP 20uS) based on AHB clock...

Go to advanced search