Hello! I´m getting troubles using usart0 and usart1 on attiny 441....I pretend to comunicate both ways using two usart´s likes this...Usart0 comunicate with a slave meanwhile USART1 comunicates with a master..the attachements are both codes. Can anyone help me, please?thanks
UART on ATtiny44
MOD: What this has to do with BitCloud? Split and moved. Please post in the right place and don't bring up 3 year old threads.
Tiny44, or Tiny441?
What do you expect to happen? What >>is<< happening? How are you testing? Describe or diagram connections, voltages, and clock speeds.
For certain, your GCCApplication1.c program will not work on a Tiny441, as there are well over 256 bytes of variables shown. That model has 256 bytes of SRAM.
The slave -- maybe enough room.
You are creating an interrupt-drive application, yet you are using your own EEPROM primitives that do not handle an interrupt environment properly. Your toolchain has "bullet proof" primitives for that.
How do you understwood that variables are over 256 bytes?
160 bytes of bss/data as shown by avr-size.
111 bytes of automatic variables in main() (tx_buffer, i, teste)
Manuel please press POST once, I have now dislocated my mouse finger deleting the other 8 posts.