lab11 / signpost

Exploring what happens when you put computers on sign posts.
Apache License 2.0
90 stars 7 forks source link

Inconsistent baudrate for audio_module #27

Closed srohrer32 closed 7 years ago

srohrer32 commented 7 years ago

In the audio_module software/kernel/boards/audio_module/src/main.rs file the line sam4l::pm::setup_system_clock(sam4l::pm::SystemClockSource::ExternalOscillator, 16000000); causes the baud rate to be 115200. Changing the speed to 48 MHz sam4l::pm::setup_system_clock(sam4l::pm::SystemClockSource::ExternalOscillator, 48000000); causes the baud rate to be 38400. Unsure as to why

srohrer32 commented 7 years ago

Must change to sam4l::pm::setup_system_clock(sam4l::pm::SystemClockSource::ExternalOscillatorPll, 48000000);