跳转至内容
  • 版块
  • 最新
  • 标签
  • 热门
折叠
品牌标识

YunTu Forum

YTMicro.com
  1. 主页
  2. Discussion & Question
  3. YT MCAL
  4. YTM32B1MD1 Temperature Sensor - What is TSC register?

YTM32B1MD1 Temperature Sensor - What is TSC register?

已定时 已固定 已锁定 已移动 已解决 YT MCAL
6 帖子 2 发布者 2.7k 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • nguyan2N 离线
    nguyan2N 离线
    nguyan2
    写于 最后由 编辑
    #1

    Hi everyone,

    I’m trying to read the MCU temperature from the internal temperature sensor of the YTM32B1MD1.

    According to the Reference Manual, it says I need to read the C value from the TSC register in the ADC. But I couldn’t find any register named TSC in the ADC register group, or anywhere else in the document.

    Screenshot 2025-08-29 132311.png

    Has anyone worked with this before? Is it a typo in the manual, or where can I find the TSC register? I'm using the RM Rev. 1.3.

    Thanks in advance!

    1 条回复 最后回复
    0
    • runR 离线
      runR 离线
      run YunTu
      写于 最后由 编辑
      #4

      Currently,you can get some reference from the YTM32B1MC0 reference manual.
      The next version of the YTM32B1MD1 reference manual may update the relevant registers.
      image.png

      nguyan2N 1 条回复 最后回复
      1
      • runR 离线
        runR 离线
        run YunTu
        写于 最后由 编辑
        #2

        You can refer to the attachment below: YTM32B1MD1_TempSensorDemo
        YTM32B1MD1_TempSensorDemo.zip

        nguyan2N 1 条回复 最后回复
        0
        • nguyan2N 离线
          nguyan2N 离线
          nguyan2
          在 回复了 run 最后由 编辑
          #3

          run 在 YTM32B1MD1 Temperature Sensor - What is TSC register? 中说:

          You can refer to the attachment below: YTM32B1MD1_TempSensorDemo
          YTM32B1MD1_TempSensorDemo.zip

          Thank you for your repy. Can I ask how did you obtain this example or which document did you follow?

          1 条回复 最后回复
          0
          • runR 离线
            runR 离线
            run YunTu
            写于 最后由 编辑
            #4

            Currently,you can get some reference from the YTM32B1MC0 reference manual.
            The next version of the YTM32B1MD1 reference manual may update the relevant registers.
            image.png

            nguyan2N 1 条回复 最后回复
            1
            • nguyan2N 离线
              nguyan2N 离线
              nguyan2
              在 回复了 run 最后由 编辑
              #5

              run 在 YTM32B1MD1 Temperature Sensor - What is TSC register? 中说:

              Currently,you can get some reference from the YTM32B1MC0 reference manual.
              The next version of the YTM32B1MD1 reference manual may update the relevant registers.
              image.png

              Hello, one more question from my side. How could I know if the coefficient I readback is correct or not?

              I refered from your example code and got the coefficient value was 386. Is it correct or not?

              Thanks in advance!

              1 条回复 最后回复
              0
              • runR 离线
                runR 离线
                run YunTu
                写于 最后由 编辑
                #6

                Generally, if the reading is not entirely FF, it is correct. You can use a temperature sensor at room temperature to measure the actual temperature. If it is close to the ambient temperature, it confirms that its COEFF is correct.

                1 条回复 最后回复
                0
                • ,FrankieF Frankie 将这个主题转为问答主题
                • ,FrankieF Frankie 将这个主题标记为已解决

              • 云途开发生态介绍

                快速上手云途开发生态

              • 云途论坛规则/Yuntu Forum Rules

                发帖前请查看

              • YT CONFIG TOOL调查问卷

                帮助改进和优化YT CONFIG TOOL,有机会抽取YTM32B1ME0 EVB哦...

              • can
                25
                demo
                23
                lin stack
                13
                uds
                13
                md14
                6
                yt-link
                6
                fbl
                5
                adc模块
                4
                Online Users
                • 登录

                • 登录或注册以进行搜索。
                • 第一个帖子
                  最后一个帖子
                0
                • 版块
                • 最新
                • 标签
                • 热门