free-pdk / easy-pdk-showcase-projects

Complete showcase projects for PADAUK MCUs using only free and open source tools like the SDCC compiler and the Easy-PDK-Programmer.
GNU General Public License v3.0
7 stars 4 forks source link

chaotic spi in audioplayer #1

Closed LovelyA72 closed 2 years ago

LovelyA72 commented 2 years ago

Hello, I am currently trying to make audioplayer work on a PFS154. However, the example does not work at all. After probing on the SPI line I found that not only the timing is a mess, the padauk is driving the MISO pin which it needs to be listening to instead of driving.

freepdk commented 2 years ago

SDCC changed assembler syntax for operations with IO.

Look here for details: https://www.eevblog.com/forum/blog/eevblog-1144-padauk-programmer-reverse-engineering/msg3955892/#msg3955892

All projects been updated with commit 0a82dfbfca3656f6f5e5c17c818249734a20f67c . They now require a recent SDCC (>=4.1.10) to be compiled.