Blackfin serial port in Xenomai
Hi,
I am trying to interface with a serial port on a bluetechnics cm-bf537e board (a blackfin chip). However, it seems that the serial port in the blackfin is not compatible with a 8250 chip, so I cannot get the xenomai rtdm serial driver working. Has anyone got a driver for the blackfin serial port for hard real time.
Right now, I am just printf'ing to a serial console to print data. I would like to avoid that.
Thanks
- Nikolaj Fogh
Quoted 8 lines · Nikolaj Fogh
Hi,
I am trying to interface with a serial port on a bluetechnics cm-bf537e board (a blackfin chip). However, it seems that the serial port in the blackfin is not compatible with a 8250 chip, so I cannot get the xenomai rtdm serial driver working. Has anyone got a driver for the blackfin serial port for hard real time.
I don't know of any, yet.
Quoted 3 lines
Right now, I am just printf'ing to a serial console to print data. I would like to avoid that.
If that is just for text output, you could build a trivial rtdm driver accepting strings from the write_rt endpoint and relay it to the debug routine available with the I-pipe code for this arch, i.e.:
void __ipipe_serial_debug(const char *fmt, ...);
Caution: this routine is very naive, and locks out hw interrupts until the entire string has been sent out to the wire; you may want to either fix it for your needs, or send small strings, one at a time.
Quoted 8 lines
Thanks
- Nikolaj Fogh_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help
Signature · 1 line
Philippe.