Home -> Internal communication

This page desrcibes the "protocol" used for the communication between the various module.

  • The output of the synthesizer consists of a I2S driven DAC.

  • All the communication between the other modules is done through simple asynchronous serial lines running at a relatively high speed. The hole synthesizer runs at 48Khz sampling rate. 16 bits of data are required to describe each "voltage" signal. Unfortunately most UARTs implemented in these 32-bits MCUs cannot handle direct 16-bits tranfers. So 2 (two) 8-bit bytes are required. Counting the start and stop bits, we need a baud rate of aproximately 50K * 2 * 10 = 1M.
    Now, the user of the synthesizer must be able to change the patching "on the fly", so there is the need to have some unused time in order to let the UARTs to catch the transmition from the begining. So I decided to use 2M as the baud rate