This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Is it possible to emulate a usb serial on nrf51x22 ?

Hi.

nrf51x22 has 32 IOs. can we assign 2 pin to usb d+, d-, and listen interrupt.

yes, nrf51x22 has uart support, but many host device only have usb port. serial port has miss a long time.

USB have power supply, and could communication with host device. it is very important.

there have any idea to implement USB in nrf51x22?

Parents
  • I wouldn't bother trying to bitbang USB. The protocol is sufficiently complex it's hard to get right. There's probably libraries you can find which you could use, but the timing requirements are such it wouldn't likely work with the softdevice running anyway.

    Buy a chip which does USB, like an FTDI, and hook it up over I2C or SPI or whatever you like to the nrf51x22.

Reply
  • I wouldn't bother trying to bitbang USB. The protocol is sufficiently complex it's hard to get right. There's probably libraries you can find which you could use, but the timing requirements are such it wouldn't likely work with the softdevice running anyway.

    Buy a chip which does USB, like an FTDI, and hook it up over I2C or SPI or whatever you like to the nrf51x22.

Children
No Data
Related