STM32 - ATA read/write
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-10-29 2:58 AM
Well, i need to read data from the hardware that uses ATA interface, my mcu is stm32f407, all is came in my mind is to make software implementaion by bitbang the pins, but ATA has 16 bits data interface, therefore ill need to bitbang each pin connected to the stm32. Is it any another, more softer solutions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-10-29 3:11 AM
You can write all 16 pins in a bank at the same time.
Perhaps FSMC would be a better choice? ATA was originally just a buffered bus transaction on an x86. ​The STM32 lacks an external DRQ/DACK DMA method. Might want a CPLD, or play games with address bus bits.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-10-29 6:40 AM
You can use PATA to SATA adapder and find a MCU with hardware SATA support.
Or use 2 adapters - PATA -> SATA -> USB and use stm32f407's USB host.
If using adapters is not an option, you may find this PATA library for an AVR microcontroller useful - https://github.com/89Mods/AVR-PATA
