Page 1 of 1

Minimum for Option ComChannels

Posted: 10 June 2013, 2:40 AM
by wwwoholic
According to documentation this option "can be used to reduce the amount of RAM needed by an application by specifying a lower number of software UART channels to be supported".

One of the reasons for choosing ZX24x for this application was to utilize only hardware channels. Yet when I try to set ComChannels to 0 I get compiler error:

"number of Comm channels must be in the range 1-4"

Re: Minimum for Option ComChannels

Posted: 10 June 2013, 6:42 AM
by dkinzer
wwwoholic wrote:[W]hen I try to set ComChannels to 0 I get compiler error:
Perhaps the issue could be explained more clearly. If you don't use the software UART channels, there is no contribution to the Flash or RAM use at all. The only time you might want to use the option to specify the number of software UART channels in order to reduce RAM use is when you use at least one channel.