Sometimes Interrupt is not called

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

# Environments

- WICED Version 2.3.0

- ThreadX + NetX_Duo

- BCMUSI11 Platform

- BCM43362

Hi

We are trying to use high-speed UART and SPI. The concept is that

when data come from UART or SPI, it is sent through the Wi-Fi (and vice versa).

We are now facing with a critical interrupt problem.

When there is data traffic through the Wi-Fi, If I send a lot of data through the UART,

sometimes interrupt is not called. It is very small but critical. (about 0~30 / 1,000,000 times).

# UART Condition

- baud rate: 921600 or over

- flow-control: None or RTS+CTS

- the other is not changed

# Interrupt count check method

- Add 1 to global counter variable in the usart1_irq function.

  and check it after sending.

# Things I tried (but the problem still exist)

- Changed UART interrupt priority from 57, 68 to 00.

- Removed interrupt-disable function in the stm32f2xx_platform.c and core_cmFunc.h files.

- Uncomment #define WICED_DISABLE_MCU_POWERSAVE in the wiced_defaults.h file.

Do you have any suggestion to solve this problem ?

0 Likes
4 Replies