Search found 20 matches

by szego
Tue Oct 04, 2016 10:35 pm
Forum: STM32 Support
Topic: STM32L4 support Topic is solved
Replies: 48
Views: 22697

Re: STM32L4 support Topic is solved

Hello, Since spring of 2016, there is a new stm32L432 family, very small package (32 pins), a lot less peripherals, but the same CM4 core with FPU than other L4. This chip seems well suited to do advanced motor control (energy efficiency, fast adc, lot of processing power, i2c, CAN, usb, serial int...
by szego
Tue Dec 15, 2015 10:49 pm
Forum: STM32 Support
Topic: SDMMCv1 with DMAv1?
Replies: 2
Views: 1713

SDMMCv1 with DMAv1?

I'm trying to use the SDMMCv1 driver on the STM32L476, but doesn't appear to work with DMAv1. Is my understanding correct? So far in terms of just compilation, the issues I've found: 1) In sdc_lld_wait_transaction_end(), this code: /* Wait until DMA channel enabled to be sure that all data transferr...
by szego
Tue Dec 01, 2015 10:01 pm
Forum: STM32 Support
Topic: STM32L4 support Topic is solved
Replies: 48
Views: 22697

Re: STM32L4 support Topic is solved

Giovanni wrote:Hi,

Merged the patch (and adjusted all the other registries and all mcuconf.h files). I hope it is OK.

Giovanni


Tested LPSD1 on the Nucleo-476, works fine for me.
by szego
Mon Nov 30, 2015 11:12 pm
Forum: STM32 Support
Topic: STM32_DMA_GETCHANNEL doesn't work for DMA2?
Replies: 1
Views: 1389

Re: STM32_DMA_GETCHANNEL doesn't work for DMA2?

This seemed to work for me, but since I don't know exactly what the intent was I'm not going to claim it's a fix:

Code: Select all

#define STM32_DMA_GETCHANNEL(id, c) (((c) >> (((id) % 7U) * 4U)) & 15U)


Paul.
by szego
Mon Nov 30, 2015 11:01 pm
Forum: STM32 Support
Topic: STM32_DMA_GETCHANNEL doesn't work for DMA2?
Replies: 1
Views: 1389

STM32_DMA_GETCHANNEL doesn't work for DMA2?

The macro is defined as: /** * @brief Returns the request line associated to the specified stream. * @note In some STM32 manuals the request line is named confusingly * channel. * * @param[in] id the unique numeric stream identifier * @param[in] c a stream/request association word, one request per *...
by szego
Mon Nov 30, 2015 8:00 pm
Forum: STM32 Support
Topic: STM32L4 support Topic is solved
Replies: 48
Views: 22697

Re: STM32L4 support Topic is solved

Giovanni wrote:L4 uses I2Cv2 not I2Cv1.

Giovanni


Doh! That was careless of me. I'll check out the patches.

Thanks, Paul.
by szego
Fri Nov 27, 2015 7:36 pm
Forum: STM32 Support
Topic: STM32L4 support Topic is solved
Replies: 48
Views: 22697

Re: STM32L4 support Topic is solved

Here's a small tweak for I2C support as well. Paul. Index: os/hal/ports/STM32/LLD/I2Cv1/i2c_lld.h =================================================================== --- os/hal/ports/STM32/LLD/I2Cv1/i2c_lld.h (revision 8405) +++ os/hal/ports/STM32/LLD/I2Cv1/i2c_lld.h (working copy) @@ -331,6 +331,11...
by szego
Fri Nov 27, 2015 7:22 pm
Forum: STM32 Support
Topic: STM32L4 support Topic is solved
Replies: 48
Views: 22697

Re: STM32L4 support Topic is solved

Got LPUART1 working - should I raise a feature request in SF, or just leave it here?

Paul.
by szego
Fri Nov 13, 2015 6:59 pm
Forum: STM32 Support
Topic: STM32L4 support Topic is solved
Replies: 48
Views: 22697

Re: STM32L4 support Topic is solved

Got it running, finally. Was chasing your SVN commits for a day, one step behind you. GPIOv3 works fine for me. RTC works fine with the latest clock settings (LSE enabled by default) EXTIv1 needed a few tweaks - the L4 has different register names. Not sure the best way to do this, but I'll add my p...
by szego
Mon Nov 02, 2015 6:44 pm
Forum: STM32 Support
Topic: [NEWS] New Nucleo-32 boards
Replies: 10
Views: 5013

Re: [NEWS] New Nucleo-32 boards

Ok, will do.

Paul.

Go to advanced search