ATSAMD51 + START + FreeRTOS + LTE modem

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

My first project with Atmel, so why not a complicated one...

I am just starting this and I will have one UART for debug commands to the chipset and another for the data stream.  I am unsure which driver type i should use:

HAL or LITE?

Sync/Async/RTOS?

Since I am in an RTOS thread, RTOS comes to mind, but 

1) How "Beta"??

2) What are Sync vs. Async since it is a UART, I am sure it isn't synchronous serial...

 

A properly formed "RTFM" is welcome.  where is the manual?  :)

jeff

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

jcandle wrote:
What are Sync vs. Async since it is a UART

Possibly, it's talking about the software behaviour - not the UART operation.

 

So Sync vs. Async would be blocking vs non-blocking operation ... ?

 

EDIT

 

aka polled vs interrupt-driven

 

Last Edited: Sat. Sep 30, 2017 - 08:50 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ah, that is helpful.  I was sure it was not the HW, since there are I2C/SPI/USART/UART HW options and it was UART.

So assuming I am willing to debug the beta a little, the RTOS Async (interrupt driven, non-blocking) would work best with the FreeRTOS thread.

Should I assume that the "blocking" will very likely run the much-despised "while(waiting);" and burn entire RTOS ticks every time it gets to run the task?

 

At least for the first task I only have to use modem AT commands to HTTPS POST data.  Next project with the modem needs a lot more.

jeff