Search found 379 matches

by alex31
Mon Apr 15, 2024 8:43 am
Forum: STM32 Support
Topic: spi without dma
Replies: 9
Views: 3693

Re: spi without dma

USART3_TX : [stream(1, 3) C4] USART3_TX : [stream(1, 4) C7] USART3_RX : [stream(1, 1) C4] UART4_RX : [stream(1, 2) C4] UART4_TX : [stream(1, 4) C4] SPI2_RX : [stream(1, 3) C0] SPI2_TX : [stream(1, 4) C0] Unfortunately, there is no solution with the very limited F4 dma fixed stuff. New hardware desig...
by alex31
Wed Apr 10, 2024 6:09 pm
Forum: Bug Reports
Topic: [HELP] STM32H750 USB HS ULPI Support,
Replies: 16
Views: 2246

Re: [HELP] STM32H750 USB HS ULPI Support,

Hi, problem solved for my case. It's an issue with recent ULPI PHY that implement LPM. With old families of PHY like microchip 332x that did not implement LPM, handshake works, but with more recent families like microchip 334x, an additional delay is needed in the handshake. This is explained in ST ...
by alex31
Tue Apr 09, 2024 6:54 am
Forum: Bug Reports
Topic: [HELP] STM32H750 USB HS ULPI Support,
Replies: 16
Views: 2246

Re: [HELP] STM32H750 USB HS ULPI Support,

I had previously asserted that we had an ULPI interface working on H743, but I have to say that we didn't verify that we got the high speed; it's possible that we also got the standard 12 Mbit/s. Good news for ChibiOS : I have ported USB_MSD example from contrib to the discovery F746 and it works p...
by alex31
Wed Apr 03, 2024 11:08 pm
Forum: Bug Reports
Topic: [HELP] STM32H750 USB HS ULPI Support,
Replies: 16
Views: 2246

Re: [HELP] STM32H750 USB HS ULPI Support,

Found a DISCOVERY_746 in a drawer, it uses the same ULPI component as our custom card.
Flash ST Application from F7Cube that does MSD over USB HS, and got the very same symptoms : works at 12Mb/s speed limit.
Will use ST forum tomorrow to seek for help :-)

A.
by alex31
Wed Apr 03, 2024 1:43 pm
Forum: Bug Reports
Topic: [HELP] STM32H750 USB HS ULPI Support,
Replies: 16
Views: 2246

Re: [HELP] STM32H750 USB HS ULPI Support,

Hello, Welcome to the high speed usb issues club :-) I am also having unresolved problem with a custom H743 board trying to use ULPI at HS speed (480 Mb/s) for MSD (USB storage). For now, I am able to have reliable OTG2 + ULPI + MSD, but ultimately, after host <-> device handshake, speed is reverted...
by alex31
Sun Jan 28, 2024 10:34 am
Forum: Bug Reports
Topic: sdc erase handling of sdhc sdxc card
Replies: 0
Views: 370

sdc erase handling of sdhc sdxc card

Hi, sdcErase fails for high capacity SD card. from https://chlazza.nfshost.com/sdcardinfo.html, note 10 => 10. SDSC Card (CCS=0) uses byte unit address and SDHC and SDXC Cards (CCS=1) use block unit address (512 bytes unit). So the test in sdcErase seems inverted tested with if ((sdcp->cardmode &...
by alex31
Wed Jan 24, 2024 9:47 pm
Forum: Bug Reports
Topic: stm32f7 registry about programmable CRC
Replies: 0
Views: 401

stm32f7 registry about programmable CRC

Hello,

In os/hal/ports/STM32/STM32F7xx/stm32_registry.h, STM32_CRC_PROGRAMMABLE is defined to FALSE for
all sub families but F73x and F2x, but reference manual and CMSIS say that all F7XX have PROGRAMMABLE CRC.

Alexandre
by alex31
Tue Jan 02, 2024 11:43 am
Forum: User Projects
Topic: modern C++ job dispatcher
Replies: 0
Views: 970

modern C++ job dispatcher

Hello, not really a project, just small module to discuss the use of modern C++ in embedded world. What can modern C++ can do for us, embedded developers ? I am not a C++ expert, but I want to submit for educational and criticism purpose a module small enough to be readable in minutes, and big enoug...
by alex31
Sat Dec 23, 2023 9:11 am
Forum: Bug Reports
Topic: fifoObject internal bug Topic is solved
Replies: 6
Views: 3365

Re: fifoObject internal bug Topic is solved

beautiful, works flawlessly.

You have resolved a race condition with a patch that also make the code shorter, that's fine !
Alexandre
by alex31
Fri Dec 22, 2023 11:42 pm
Forum: Bug Reports
Topic: fifoObject internal bug Topic is solved
Replies: 6
Views: 3365

Re: fifoObject internal bug Topic is solved

That's a good question, I use GPTD5 and

Code: Select all

#define STM32_IRQ_TIM5_PRIORITY             7


So it seems that it's more that 2 so it should be OK

A.

Go to advanced search