I had a look at the datasheet for the Orange Pi Zero and it looks like it supports parity bit. I also want to look at the driver code to see if it can be changed to use CMSPAR. Only problem is that I can't figure out how to find out what driver the H2 SOC uses.
Also, given I am relatively new to linux, how do I go about finding what driver is being used?
Finally got some SD cards delivered to try out the orange pi zero. Seems that CMSPAR works out of the box with no driver mods required. I have tested on 2 devices that require 9 bit comms (address bit) and it seems to work fine.
Yet to test on an oscilloscope to see if the parity bit is being set correctly, but it works on real devices so I am guessing its fine.
Still interested in hearing how one determines what driver code is used in linux though.
Thanks Narly999, I'll have a good read of that tomorrow.
I set up a second orange pi today, same device, same image, same setup I thought. Same application, but alas the parity bit is not working. Not sure what I did different.