Generating Manchester Encoded bitstream from a GPIO STM32F4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-20 4:38 AM
Hello,
I need to generate a Manchester Encoded bitstream from one of the GPIO of STM32F4 with a data rate higher than 1 Mbps. Is it possible to do so? If yes, how can I do so?
- Labels:
-
GPIO-EXTI
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-20 5:42 AM
Use a TIM on APB2 to establish rate, use DMA2, and move a pattern buffer to &GPIOx->BSRR
Create the pattern buffer deep enough, and circular, interrupting on DMA HT, TC, so that you can output continuously while decimating interrupt loading.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-21 2:06 AM
I Will try it, thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-27 3:20 AM
Hi, for now, I tried to transfer bits 0 and 1 to the ODR register of Port D via DMA2 Stream triggered with Timer. I am getting no response on pin PD0. Attached is the source code I have tried.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-27 3:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-27 3:20 AM
