Search found 825 matches

by steved
Sun Mar 31, 2024 9:09 pm
Forum: STM32 Support
Topic: A-D "Linear Buffer" conversion on 32L031
Replies: 3
Views: 108

Re: A-D "Linear Buffer" conversion on 32L031

Yes, that's it, thankyou. (Maybe a little update to the documentation? I couldn't find any detail on this) Thinking about it, this could probably be handled automatically in adc_lld_start_conversion(). The A-D drivers I looked at all had a piece of code along the lines of: cfgr1 = grpp->cfgr1 | ADC_...
by steved
Sun Mar 31, 2024 5:57 pm
Forum: STM32 Support
Topic: A-D "Linear Buffer" conversion on 32L031
Replies: 3
Views: 108

A-D "Linear Buffer" conversion on 32L031

I'm trying to use the A-D on a STM32L031 in "Linear Buffer" mode - four samples each on 3 inputs, and haven't managed to get it to work. (I'm actually mostly using 20.3.4, but 21.11.3 didn't work any better). Basic setup is simple: adcStart(&ADCD1, NULL); adcSTM32EnableVREF(&ADCD1)...
by steved
Fri Aug 18, 2023 9:04 am
Forum: STM32 Support
Topic: I2C4 issue on STM32F76xx
Replies: 13
Views: 3316

Re: I2C4 issue on STM32F76xx

I've got a STM32F767 board which uses I2C4 as a master port; works OK accessing a FRAM using tried and tested routines.
Unfortunately only used during board testing - not currently required for real-world applications - so limited use.
by steved
Sat Aug 05, 2023 9:35 pm
Forum: User Projects
Topic: lwip server stm32f767
Replies: 2
Views: 3799

Re: lwip server stm32f767

Depends a bit on the expected nature of network comms.including the number of simultaneous connections needed, and what you need to do. For example, I have a network task where multiple remote hosts may initiate a connection to my system, always on the same port number, and all connections needing t...
by steved
Mon Jul 31, 2023 9:09 am
Forum: STM32 Support
Topic: STM32H750 not booting
Replies: 13
Views: 3099

Re: STM32H750 not booting

* By the way, i couldnt get it to generate the files from the chcfg file on windows (didn't report any erros either, tho), and had to install fmpp under WSL to do it, noting just in case there's something broken with the package, and not only a mis-config or mis-use on my end. IIRC you need to make...
by steved
Tue May 30, 2023 9:36 am
Forum: STM32 Support
Topic: UDP receive not working Topic is solved
Replies: 6
Views: 2052

Re: UDP receive not working Topic is solved

Before I forget, I'll mention the lwIP options - its possible that something there isn't set up right. My code is a bit spread out; basically I dedicate a thread to UCP receive - set it up, then loop waiting for messages. (You can also use select(), I think). I've picked out what I hope are the rele...
by steved
Mon May 29, 2023 8:42 am
Forum: STM32 Support
Topic: UDP receive not working Topic is solved
Replies: 6
Views: 2052

Re: UDP receive not working Topic is solved

On a quick look, UDP receive operates much the same as TCP/IP receive. Could be your 'MSG_DONTWAIT' flag in the recvfrom() call - I have zero there (to block until a packet is received) You're using the sockets interface (rather than lwIP's custom interface) so there will be a vast range of examples...
by steved
Thu Apr 20, 2023 8:38 am
Forum: ChibiOS/HAL
Topic: serial driver cpu load
Replies: 5
Views: 2151

Re: serial driver cpu load

I've done a similar thing on an F7 at 168MHz, and think I was getting similar figures, albeit running the serial port at only 9600 baud. Unfortunately I don't seem to have noted any figures, and have put that project to one side for now. Somewhat different approach and environment, though: All debug...
by steved
Mon Apr 10, 2023 10:47 am
Forum: ChibiStudio
Topic: Linux debug configuration
Replies: 14
Views: 6515

Re: Linux debug configuration

Thanks that worked. Probably my remaining niggles are due to the age and type of the Nucleo board I'm using (not sure that serial over USB should work with the L031).

I've generated some notes on the process, which you're welcome to incorporate.
by steved
Sun Apr 09, 2023 10:40 pm
Forum: ChibiStudio
Topic: Linux debug configuration
Replies: 14
Views: 6515

Re: Linux debug configuration

Sorry, but no sign of a directory with udev rules in it.

And some of the tools for launching OpenOCD mention version 12 (binary name openocd_12); that doesn't appear to be present either.

Go to advanced search