当前位置:网站首页>When aw9523b chip is used to drive 16 channel led, the LED is wrongly lit
When aw9523b chip is used to drive 16 channel led, the LED is wrongly lit
2022-07-26 23:44:00 【Xiaofeixia 123!】
When using AW9523B Chip driver 16 road LED when , some LED No lighting operation is performed , But some LED The light is indeed on . because AW9523B The chip is IIC drive , It is found here that IIC When reading and writing data ,STM32 The timer generates an interrupt , Lead to IIC Interrupted reading and writing data , This leads to the above problems .
resolvent :
AW9523B_Write_OneByte(...)
AW9523B_Read_OneByte(...)
Add the following two functions to the above functions .
__enable_irq(); /* Enable global interrupt */
__disable_irq(); /* Disable global interrupt */
边栏推荐
- MySQL syntax uses detailed code version
- [postgresql]postgresqlg use generate_ Series() function completes statistics
- 力扣155题,最小栈
- 嵌入式系统移植【8】——设备树和根文件系统移植
- Azure Synapse Analytics 性能优化指南(3)——使用具体化视图优化性能(下)
- Application of workflow engine in vivo marketing automation | engine 03
- [shader realizes shine effect _shader effect Chapter 3]
- 使用AW9523B芯片驱动16路LED时,LED出现误点亮的问题
- Import of MySQL data
- Question 152: product maximum subarray
猜你喜欢

Part II - C language improvement_ 6. Multidimensional array

org.yaml.snakeyaml.scanner. ScannerException: mapping values are not allowed here in ‘reader‘, line

Disk expansion process and problems encountered in the virtual machine created by VMWare

第二部分—C语言提高篇_8. 文件操作

大疆智图、CC生产了多份数据,如何合并为一份在图新地球进行加载

Basic select statement

Azure Synapse Analytics 性能优化指南(3)——使用具体化视图优化性能(下)

Vector execution engine framework gluten announced the official open source and appeared at spark technology summit

第二部分—C语言提高篇_7. 结构体

SQL Basics
随机推荐
MySQL random paging to get non duplicate data
Galaxy securities online account opening commission, is online account opening safe for customer managers
Azure Synapse Analytics 性能优化指南(4)——使用结果集缓存优化性能
1. Configuration environment and project creation
【面试:并发篇27:多线程:犹豫模式】
Part II - C language improvement_ 8. File operation
Several inventory terms often used in communication
Vector execution engine framework gluten announced the official open source and appeared at spark technology summit
P5469 [noi2019] robot (Lagrange interpolation, interval DP)
Force deduction 155 questions, minimum stack
第二部分—C语言提高篇_9. 链表
C.Net timestamp and time conversion support time zone
Part II - C language improvement_ 13. Recursive function
In simple terms, cchart daily lesson - happy high school lesson 57 new starting point, the old tree and new bud of colorful interface library
org.yaml.snakeyaml.scanner. ScannerException: mapping values are not allowed here in ‘reader‘, line
Embedded system migration [8] - device tree and root file system migration
Novice online interview [Hangzhou multi tester] [Hangzhou multi tester _ Wang Sir]
Custom type
第二部分—C语言提高篇_10. 函数指针和回调函数
第6节:cmake语法介绍