STM8S103FP6 chip PB_4/PB_5 output problem

Publisher:SparklingMoonLatest update time:2019-11-27 Source: eefocusKeywords:STM8S103FP6 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

PB4 and PB5 of STM8S are I2C function pins. There is no internal pull-up resistor and they are true OC. When used as control outputs, a 10K pull-up resistor can be added to enhance the drive.

Write the picture description here

PB4/PB5 only have open-drain outputs. They are II2C ports. Pull-up resistors are needed to get high levels. Since there are no pull-up resistors, the level cannot be raised. Unlike other ports, they can directly output high levels to drive LEDs. I made a mistake here and connected them to the base of transistors to drive LEDs and buzzers. As a result, there was no high-level output. Remember this. . . .

Keywords:STM8S103FP6 Reference address:STM8S103FP6 chip PB_4/PB_5 output problem

Previous article:STM8S103F3P6 core board schematic design
Next article:Delay function of stm8s103f3p6

Recommended ReadingLatest update time:2024-11-23 06:12

Lab Chip: Carbon nanotube technology brings medical diagnosis into a new era
Oregon State University researchers have used carbon "nanotubes" to greatly increase the speed of biosensors, a technology that could one day allow doctors to complete routine laboratory tests in minutes, cutting costs while also shortening the time it takes to diagnose and treat. The newly discovered carbon "n
[Medical Electronics]
Lab Chip: Carbon nanotube technology brings medical diagnosis into a new era
Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号