- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
# 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 ?
- Tags:
- adds
- buffer
- byte
- bytes
- called
- caller
- cases
- circular
- close
- code
- counter
- fired
- function
- high
- increment
- interrupt
- interrupts
- notifies
- number
- post
- received
- relies
- rely
- semaphore
- serviced
- stm32f2xx_platform.c
- successive
- tail
- test
- total
- translate
- uart
- uart_interfaces[0].rx_buffer-size
- uart_interfaces[0].rx_buffer-tail
- uart_mapping[0].rx_dma_stream-ndtr
- usart1_irq
- utilisation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content