-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test UART Serial Algorithm #20
Comments
Add documentation under LED_Matrix/lib/Serial/serial_uart, LED_Matrix/src/uart and LED_Matrix/include/Serial/serial_uart. |
Create idle loop to fire bus idle token from device to host every 10uS. Host must send bus active token to device. Create idle loop within serial_task If frame does not get response back within timeout host can attempt to recover the bus back to idle. This would supersede the serial_uart_v2. |
I may be interested in replacing the current logic with the previous post's outline. This may also remove the need for the other UART version. |
#20 Updates: Serial Protocol changes to mark frames
May want to add checksum to this. DMA may be able to do this passively. |
May want to remove the callback since this is now an interface library. There is no need for this anymore. |
Tested aspects of this. |
Tested state machine. (idle and start tokens. Packet length.) |
Lets go back to framed comms. |
Plan is to move the UART protocol to external RP2040. This will allow a simpler protocol between the two RP2040s. I am not sure there is enough performance on a single RP2040. (A RP4050 would probably handle it.) |
One core is pretty much consumed on convert the RGB values into bitplanes to conserve bandwidth. The bandwidth requirement for a single 16x32 display is 31.5Mbps (0.74Mbps for hardware PWM). This is about 512 pixels, with this core we can support something like 8192 pixels. Another core is pretty much consumed doing multiplexing at high frequency. (This is better with hardware PWM.) |
No description provided.
The text was updated successfully, but these errors were encountered: