Electronics > Microcontrollers

[Stm32] Am I the only one not using HAL?

<< < (19/19)

peter-h:

--- Quote ---Yeah so much DMA... The you read the errata and find only 2 dmas can run concurrently, more will lead to data corruption.
Not sure if they fixed it...
--- End quote ---

Which chip is this on?

That would be a huge issue.

jeremy0:

--- Quote from: peter-h on July 04, 2022, 06:06:52 am ---
--- Quote ---Yeah so much DMA... The you read the errata and find only 2 dmas can run concurrently, more will lead to data corruption.
Not sure if they fixed it...
--- End quote ---

Which chip is this on?

That would be a huge issue.

--- End quote ---

I'm not sure which device DavidAlfa was referring to, but the silicon errata sheet for the SAMD21 reads like a frickin Stephen King novel.


--- Quote ---When at least one channel using linked descriptors is already active, enabling another DMA channel (with or without linked descriptors) can result in a channel Fetch Error (FERR) or an incorrect descriptor fetch. This occurs if the channel number of the channel being enabled is lower than the channel already active.
Workaround: When enabling a DMA channel while other channels using linked descriptors are already active, the channel number of the new channel enabled must be greater than the other channel numbers.
--- End quote ---

or


--- Quote ---TCC peripheral is not compatible with an EVSYS channel in SYNC or RESYNC mode.
--- End quote ---

And then there are the undocumented shortcomings, such as the DMAC only supporting a subset of the documented functionality (e.g. no WRBADDR=BASEADDR, no BURSTLEN), and mysterious misbehaviour.


Navigation

[0] Message Index

[*] Previous page

There was an error while thanking
Thanking...
Go to full version