Part Number:CC2642R
Hi,
I am developing Health care BLE enabled device. For this I have decided to use CC2642r microcontroller. What I found is the architecture of this controller is new for me unlike the other controllers I have used till date. I found the UART architecture to be different wherein I have to specify how many bytes I have to read whereas if I work with other controller It will give me interrupt whenever it receives the single byte. Also this controller uses call back mode instead of interrupt mechanism. Can anyone please make me understand why this type of architecture? any specific reason? any advantage?.
Also I did not get why I need to always call uart_read() everytime when I want to read the data from UART when in call back mode. As per me if call back mode is nothing but the interrupt mode then we should get interrupt whenever it receives the data like in other controller but why we need to call everytime that function and mention the number of bytes to be read then only call back function will be called. Is there any other alternate option
Thanks and Regards
Deepak