UART WRITE -- max. size?

3 posts / 0 new
Last post
Alex Luo
Offline
Last seen:1 year 4 months ago
Expert
加入:2014-02-28 19:16
UART WRITE -- max. size?

Hello,

I used UART to communicate anther chip. I used UART WRITE: void uart_write(uint8_t *bufptr, uint32_t size, void (*callback) (uint8_t)) for sending data out from DA14580.

Could you please let me know the max size for this function?

I used size=99, it works well, but when I use the size>100, the system didn't work. Please advise.

Thanks,
Alex

Keywords:
Device:
MT_dialog
Offline
Last seen:2 months 3 weeks ago
工作人员
加入:2015-06-08 11:34
Hi Alex Luo,

Hi Alex Luo,

I dont see any reason for this to happen, i dont see any limitation in the implementation of the uart_write, please try using the uart2_write() function instead of the uart_write(). Also i would strongly recommend to move into a more recent SDK.

Thanks MT_dialog

Alex Luo
Offline
Last seen:1 year 4 months ago
Expert
加入:2014-02-28 19:16
谢谢,我会尝试. ..

谢谢,我会尝试. ..