Search found 518 matches

by Tabulous
Mon Jan 13, 2025 6:07 pm
Forum: STM32 Support
Topic: I2C Demo for STM32L4R5ZI
Replies: 3
Views: 21419

Re: I2C Demo for STM32L4R5ZI

it fails on this
osalDbgAssert(i2cp->state == I2C_READY, "not ready");

First time around is ok as state is I2C_READY, but the second time it is I2C_LOCKED.

Reason is 0x8016b24 <__func__.3.lto_priv.5> "i2cMasterTransmitTimeout"

Also does not look to be any clock on the SCL line..... Almost like ...
by Tabulous
Mon Jan 13, 2025 4:35 pm
Forum: STM32 Support
Topic: I2C Demo for STM32L4R5ZI
Replies: 3
Views: 21419

I2C Demo for STM32L4R5ZI

Is there a demo for STM32L4R5ZI ?
I'm running into MasterTimeout Halt

Looked at the F3 as this is v2 driver but clock tree is different.
Also have GPIO set as OD
by Tabulous
Fri Jan 10, 2025 10:51 am
Forum: General Support
Topic: VFS
Replies: 1
Views: 23033

VFS

looking to NV data configuration and noticed the new VFS.

Can this be used like little-fs over sectors of internal flash ?
by Tabulous
Tue Dec 17, 2024 3:17 pm
Forum: STM32 Support
Topic: ADCv3 Setup with STM32L4R5ZI
Replies: 2
Views: 21643

Re: ADCv3 Setup with STM32L4R5ZI

Giovanni wrote:Hi,

GPIO settings?

Giovanni


Yep duh.....for some reason i'd set others but not this pin......
Anyways thanks as always, just the little promt is all it takes :-)
by Tabulous
Tue Dec 17, 2024 2:59 pm
Forum: STM32 Support
Topic: ADCv3 Setup with STM32L4R5ZI
Replies: 2
Views: 21643

ADCv3 Setup with STM32L4R5ZI

Struggling to get this to sample the pin......Am i missing anything ?

ADC_GRP_NUM_CHANNELS = 1
ADC_GRP_BUF_DEPTH = 1

raw ADC reading is 34 but the voltage on the pin is 1V so i would have thought the reading should be alot higher

adcStart is been called and ADC1 is enabled etc.....

conversion ...
by Tabulous
Tue Nov 19, 2024 12:08 pm
Forum: STM32 Support
Topic: NUCLEO-L4R5ZI OTG Support
Replies: 6
Views: 24361

Re: NUCLEO-L4R5ZI OTG Support

Using /testhal/STM32/multi/USB_CDC

it seems to be working, but for some reason when the shell first start and you press CR for promt you never see the shell start info

i.e. chprintf(chp, "ChibiOS/RT Shell" SHELL_NEWLINE_STR);
by Tabulous
Fri Nov 15, 2024 5:16 pm
Forum: STM32 Support
Topic: NUCLEO-L4R5ZI OTG Support
Replies: 6
Views: 24361

Re: NUCLEO-L4R5ZI OTG Support

I've fixed it, need to set optimization to -O0
by Tabulous
Fri Nov 15, 2024 5:11 pm
Forum: STM32 Support
Topic: NUCLEO-L4R5ZI OTG Support
Replies: 6
Views: 24361

Re: NUCLEO-L4R5ZI OTG Support

So i'm running up the

RT-STM32L4R5ZI-NUCLEO144 example

using target\stm32l4x.cfg for the ST-LINK

It runs but the debugging seems flakey, does not run and stop at main as it is setup to, it stops nvicInit() ??
by Tabulous
Fri Nov 08, 2024 12:15 pm
Forum: STM32 Support
Topic: NUCLEO-L4R5ZI OTG Support
Replies: 6
Views: 24361

NUCLEO-L4R5ZI OTG Support

Hi
having looked at the demo, wondering why the NUCLEO-L4R5ZI demo did not implement OTG test app like alot of the demos do ?

Is OTG supported on STM32L4R5ZI ?
by Tabulous
Thu Mar 09, 2023 6:14 pm
Forum: STM32 Support
Topic: STM32WB55 USB Support
Replies: 9
Views: 5647

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