Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    T113-i gpadc 使用 burst 模式不进中断

    T Series
    2
    4
    341
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lemontree LV 2 last edited by

      设置为 ch0,burst 模式,FIFO_OVERRUN_IRQ_EN,在不 FIFO_FLUSH 的情况下,只进一次中断,CNT 为 0,之后就不再进中断了。测试 continue 模式 CH0_DATA_IRQ_EN 是工作正常的。求一个 gpadc burst 模式的参考代码。

      T 1 Reply Last reply Reply Quote Share 0
      • T
        tivon LV 6 @lemontree last edited by

        @lemontree 什么是burst模式,有什么好处?

        L 2 Replies Last reply Reply Quote Share 0
        • L
          lemontree LV 2 @tivon last edited by

          @tivon 手册里提到 GPADC 有三种模式:1. Single conversion mode, 2. Continuous conversion mode(驱动默认使用); 3. Burst conversion mode 。 Burst conversion mode 会快速将采集到的数据放入内置的 64 FIFO 当中。特点就是快。

          1 Reply Last reply Reply Quote Share 0
          • L
            lemontree LV 2 @tivon last edited by

            @tivon GPADC 有个 “64 FIFO depth of data register”,burst 模式会顺序将数据存入这个 FIFO 里,比较快。

            1 Reply Last reply Reply Quote Share 0
            • 1 / 1
            • First post
              Last post

            Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

            行为准则 | 用户协议 | 隐私权政策