I want to create custom firmware that can read Pico calc SD and I want more features (display audio etc) later
a good starting point would be picocalc_text_starter
What’s that?
I’ve seen allot of fatfs repos but I want to be a bit more low level and for a file system if there is one to be made by me so I just want to be able to read a page (512b) and write a sector (4096b)
May not be as low level as you are looking for.
Thanks
, checked out the repo, it had almost everything
, for the SD I can use sd_card.h /sd_card.c, haven’t checked out the rest yet, although I still need to know if there is a gpio sheet for Pico calc
I put this together the other day. This might help
on board pico LED
PICO_LED = board.LED
Picocalc usbc UART0 pins
UART0_TX = board.GP0 # UART0_TX ----->> USBC
UART0_RX = board.GP1 # UART0_RX <<----- USBCPSRAM SPIO
PSRAM_TX = board.GP2 # RAM_TX
PSRAM_RX = board.GP3 # RAM_RX
PSRAM_IO2 = board.GP4 # RAM_IO2
PSRAM_IO3 = board.GP5 # RAM_IO3
PSRAM_CS = board.GP20 # RAM_CSa
PSRAM_SCK = board.GP21 # RAM_SCKI2C keyboaard interface for the south bridge (i2c1)
SB_SDA = board.GP6 # I2C1_SDA <<----->> M_I2C1_SDA 4.7k pullups.
SB_SCL = board.GP7 # I2C1_SCL <<----->> M_I2C1_SCL 4.7k pullups.Picocalc UART1 pins
UART1_TX = board.GP8 # UART1_TX ----->> M_UART3_RX
UART1_RX = board.GP9 # UART1_RX <<----- M_UART3_TXPicoCalc LCD pins SPI1
LCD_CLK = board.GP10 # SPI1_SCK
LCD_MOSI = board.GP11 # SPI1_TX
LCD_MISO = board.GP12 # SPI1_RX Not sure if this is used in setup/init
LCD_CS = board.GP13 # SPI1_CS
LCD_DC = board.GP14 # LCD_DC
LCD_RESET = board.GP15 # LCD_RSTPicoCalc SD card pins SPI0
SD_MISO = board.GP16 # SPI0_TX
SD_CS = board.GP17 # SPI0_CS
SD_SCK = board.GP18 # SPI0_SCK
SD_MOSI = board.GP19 # SPI0_RX
SD_DETECT = board.GP22 # SPI0_DETAUDIO
PWM_L = board.GP26 # PWM_L
PWM_R = board.GP27 # PWM_R