I2S CLK Outputs on nucleo-F446RE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-13 9:21 AM
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-28 7:29 AM
Hello
Hoffet.Adrien
‌, Is the DMA mode circular or normal? If the DMA mode is normal, you might have missed the data when it was sent but that doesn't explain the missing clock signal.Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-17 8:10 AM
Simplify.
Set up the I2S GPIOs and I2S itself (including PLL if you use it), then 'manually' feed data into its data register in a loop.
If still no activity at the given pins, read out the relevant GPIO and I2S registers content and compare to expected values according to RM, or post them.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-28 3:53 AM
Thanks for the tip! I am a bit too laizy to do this way, and I don't understand why the HAL would not work directly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-28 6:52 AM
Actually it is for an educational project and thus I need to go on the HAL + CubeMX way. Is it possible to get some support from @ST?
Looking at
I did exactly the same but no signal at all.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-28 7:29 AM
Hello
Hoffet.Adrien
‌, Is the DMA mode circular or normal? If the DMA mode is normal, you might have missed the data when it was sent but that doesn't explain the missing clock signal.Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-28 9:13 AM
What exactly of what I've wrote above can't be done using Cube and the eclipsoid?
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-28 9:23 AM
Haha nothing indeed, sorry I did not expressed myself correctly. I wanted to use the I2S api directly without going on the manual SPI thing...
However it is in fact working, what made me think that it was not:
- the clock is not sent when there is no data
- when you don't feed the buffer, no output is produced
- I was missing the one and only first data burst...
Thus I was not measuring anything...
Sorry I was not clear enough on how to operate with it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-28 9:39 AM
jalloulimedd
You spotted the issue, My DMA was in normal mode and the time I looked on my scope (that was in normal and not single shot), the clock pulse train was already finished. In circular mode it is way better !Cheers!
