How to write a driver for sc16is752 - i2c dual uart

Hi There

I didn't realise when chosing the nrf9160 that the peripherals were all shared, to a maximum of 4 serial type devices, (any combo of i2c, spi or uart to a max of 4 devices) 

I've used all the devices and need an additional serial port. I have a sc16is752 on the board, i2c -> dual uart expander. I'm struggling on how to get started to integrate this into zephyr as a driver so that I can use it as a normal serial port within zephyr. 

Are there any pointers that could be useful, I'm more than happy to contribute it back to the community when its done. 

Thanks 

Marshall

Parents Reply Children
No Data
Related