dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: firmware/serial.c mod problem. please help.

firmware/serial.c mod problem. please help.

From: jobarjo <>
Date: Mon, 19 Apr 2004 22:47:14 +0200

Hi all

I've started trying to hack the rockbox for my unilink cd changer application.
I've modified firmware/serial.c to install interrupt handlers for receive and transmit, based on jorg's alpine cd changer code.

There is an error filtering mechanism which is based on polling, surely because the remote pin receives noises when pluggin the headphones.
This mechanism confirms a received code if at the next tick there is no error.

Is there a way to replace this noise filtering based only with interrupts?
I need to respond to some commands in real time, So I've no time waiting for the next tick...

I've looked at the doc, when there is a framing error, the byte is not received. So is the noise filtering mandatory?

Received on 2004-04-19

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy