Hi Guys!
I can't seem to set up the UartSoftwareTimer component either. Transmit buffer Size and Receive buffer Size are not changed, I can't change their value. by default Transmit buffer Size and Receive buffer Size 50.
this component also does not work if you enable TX and RX
UartSoftwareTimer component FC9 Help
-
- Posts: 56
- http://meble-kuchenne.info.pl
- Joined: Thu Aug 19, 2021 1:14 pm
- Has thanked: 2 times
- Been thanked: 1 time
Re: UartSoftwareTimer component FC9 Help
here is the project
- Attachments
-
- uart_timer.jpg (81.77 KiB) Viewed 536 times
-
- test_send_char.fcfx
- (10.81 KiB) Downloaded 32 times
-
- Matrix Staff
- Posts: 1451
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 512 times
- Been thanked: 472 times
Re: UartSoftwareTimer component FC9 Help
Hello.
I have set up the timer UART for 38400 baud on the Arduino UNO.
As the timers are not good on AVR devices, I decided to use the Timer Interval component, to save a lot of calculation and C code within a custom interrupt.
You will need to make some adjustments to the Time Period value within the Timer Interval component. so it may be a little trial and error, but with a logic analyser it was a very quick process.
I have added instructions to the project file.
Here are the end results of incrementing a number at a baud of 38400:
I have set up the timer UART for 38400 baud on the Arduino UNO.
As the timers are not good on AVR devices, I decided to use the Timer Interval component, to save a lot of calculation and C code within a custom interrupt.
You will need to make some adjustments to the Time Period value within the Timer Interval component. so it may be a little trial and error, but with a logic analyser it was a very quick process.
I have added instructions to the project file.
Here are the end results of incrementing a number at a baud of 38400:
- Attachments
-
- Send UART 38400 FC9 Uno.fcfx
- (13.75 KiB) Downloaded 33 times
Martin